RetrieveInventoryChangesResponse
Name | Type | Tags | Description |
---|---|---|---|
Errors |
IList<Models.Error> |
Optional | Any errors that occurred during the request. |
Changes |
IList<Models.InventoryChange> |
Optional | The set of inventory changes for the requested object and locations. |
Cursor |
string |
Optional | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See the Pagination guide for more information. |
{
"errors": [],
"changes": [
{
"type": "ADJUSTMENT",
"adjustment": {
"id": "OJKJIUANKLMLQANZADNPLKAD",
"reference_id": "d8207693-168f-4b44-a2fd-a7ff533ddd26",
"from_state": "IN_STOCK",
"to_state": "SOLD",
"location_id": "C6W5YS5QM06F5",
"catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
"catalog_object_type": "ITEM_VARIATION",
"quantity": "3",
"total_price_money": {
"amount": 5000,
"currency": "USD"
},
"occurred_at": "2016-11-16T22:25:24.878Z",
"created_at": "2016-11-16T22:25:24.878Z",
"source": {
"product": "SQUARE_POS",
"application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0",
"name": "Square Point of Sale 4.37"
},
"employee_id": "AV7YRCGI2H1J5NQ8E1XIZCNA",
"transaction_id": "5APV6JYK1SNCZD11AND2RX1Z"
}
}
]
}