<- Object

Object

InventoryCount

Represents Square-estimated quantity of items in a particular state at a particular seller location based on the known history of physical counts and inventory adjustments.

Link to section

Properties

Link to section

catalog_object_id

string

The Square-generated ID of the CatalogObject being tracked.

Link to section

catalog_object_type

string

The type of the CatalogObject being tracked.

The Inventory API supports setting and reading the "catalog_object_type": "ITEM_VARIATION" field value. In addition, it can also read the "catalog_object_type": "ITEM" field value that is set by the Square Restaurants app.

Link to section

state

string

The current inventory state for the related quantity of items.

Link to section

location_id

string

The Square-generated ID of the Location where the related quantity of items is being tracked.

Link to section

quantity

string

The number of items affected by the estimated count as a decimal string. Can support up to 5 digits after the decimal point.

Link to section

calculated_at

string

Read only An RFC 3339-formatted timestamp that indicates when the most recent physical count or adjustment affecting the estimated count is received.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

is_estimated

boolean

Beta

Read only Whether the inventory count is for composed variation (TRUE) or not (FALSE). If true, the inventory count will not be present in the response of any of these endpoints: BatchChangeInventory, BatchRetrieveInventoryChanges, BatchRetrieveInventoryCounts, and RetrieveInventoryChanges.