Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.48 KB

batch-retrieve-inventory-changes-response.md

File metadata and controls

44 lines (37 loc) · 1.48 KB

Batch Retrieve Inventory Changes Response

Structure

BatchRetrieveInventoryChangesResponse

Fields

Name Type Tags Description
Errors IList<Models.Error> Optional Any errors that occurred during the request.
Changes IList<Models.InventoryChange> Optional The current calculated inventory changes for the requested objects
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.

Example (as JSON)

{
  "errors": [],
  "changes": [
    {
      "type": "PHYSICAL_COUNT",
      "physical_count": {
        "id": "46YDTW253DWGGK9HMAE6XCAO",
        "reference_id": "22c07cf4-5626-4224-89f9-691112019399",
        "catalog_object_id": "W62UWFY35CWMYGVWK6TWJDNI",
        "catalog_object_type": "ITEM_VARIATION",
        "state": "IN_STOCK",
        "location_id": "C6W5YS5QM06F5",
        "quantity": "86",
        "source": {
          "product": "SQUARE_POS",
          "application_id": "416ff29c-86c4-4feb-b58c-9705f21f3ea0",
          "name": "Square Point of Sale 4.37"
        },
        "employee_id": "LRK57NSQ5X7PUD05",
        "occurred_at": "2016-11-16T22:24:49.028Z",
        "created_at": "2016-11-16T22:25:24.878Z"
      }
    }
  ]
}