BatchRetrieveInventoryChangesResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
Errors |
List<Error> |
Optional | Any errors that occurred during the request. | List getErrors() |
Changes |
List<InventoryChange> |
Optional | The current calculated inventory changes for the requested objects and locations. |
List getChanges() |
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. |
String getCursor() |
{
"changes": [
{
"physical_count": {
"catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
"catalog_object_type": "ITEM_VARIATION",
"created_at": "2016-11-16T22:25:24.878Z",
"id": "46YDTW253DWGGK9HMAE6XCAO",
"location_id": "C6W5YS5QM06F5",
"occurred_at": "2016-11-16T22:24:49.028Z",
"quantity": "86",
"reference_id": "22c07cf4-5626-4224-89f9-691112019399",
"source": {
"application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0",
"name": "Square Point of Sale 4.37",
"product": "SQUARE_POS"
},
"state": "IN_STOCK",
"team_member_id": "LRK57NSQ5X7PUD05"
},
"type": "PHYSICAL_COUNT",
"adjustment": {
"id": "id4",
"reference_id": "reference_id2",
"from_state": "IN_TRANSIT_TO",
"to_state": "SOLD",
"location_id": "location_id8"
},
"transfer": {
"id": "id8",
"reference_id": "reference_id6",
"state": "RESERVED_FOR_SALE",
"from_location_id": "from_location_id0",
"to_location_id": "to_location_id0"
},
"measurement_unit": {
"measurement_unit": {
"custom_unit": {
"name": "name2",
"abbreviation": "abbreviation4"
},
"area_unit": "IMPERIAL_ACRE",
"length_unit": "IMPERIAL_INCH",
"volume_unit": "METRIC_LITER",
"weight_unit": "IMPERIAL_WEIGHT_OUNCE"
},
"precision": 184
}
}
],
"errors": [],
"cursor": "cursor2"
}