Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.17 KB

batch-retrieve-inventory-counts-response.md

File metadata and controls

34 lines (26 loc) · 1.17 KB

Batch Retrieve Inventory Counts Response

Structure

BatchRetrieveInventoryCountsResponse

Fields

Name Type Tags Description Getter
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()
Counts List<InventoryCount> Optional The current calculated inventory counts for the requested objects
and locations.
List getCounts()
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()

Example (as JSON)

{
  "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": [],
  "cursor": "cursor8"
}