Inventory
DeprecatedBatchRetrieveInventoryCounts
Deprecated version of BatchRetrieveInventoryCounts after the endpoint URL is updated to conform to the standard convention.
post/v2/inventory/batch-retrieve-counts
Request body
Example request
{
"request_body": {
"catalog_object_ids": [
"W62UWFY35CWMYGVWK6TWJDNI"
],
"location_ids": [
"59TNP9SA8VGDA"
],
"updated_after": "2016-11-16T00:00:00.000Z"
}
}Response
Success
Example response
{
"counts": [
{
"calculated_at": "2016-11-16T22:28:01.223Z",
"catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
"catalog_object_type": "ITEM_VARIATION",
"location_id": "59TNP9SA8VGDA",
"quantity": "79",
"state": "IN_STOCK"
}
],
"errors": []
}