Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.16 KB

retrieve-inventory-count-response.md

File metadata and controls

34 lines (26 loc) · 1.16 KB

Retrieve Inventory Count Response

Structure

RetrieveInventoryCountResponse

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 object 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": "C6W5YS5QM06F5",
      "quantity": "22",
      "state": "IN_STOCK"
    }
  ],
  "errors": [],
  "cursor": "cursor2"
}