Inventory

Retrieve detailed inventory data

Retrieve inventory data for SKUs with various filters. One of lastUpdatedTs, skus, warehouses is required to be passed in as a parameters.

get/inventory

Request

  • Base URL
    https://api.zentail.com/v1
  • Auth
    API key in header AUTHORIZATION

Query parameters

activeOnlyboolean
lastUpdatedTsstring

Providing lastUpdateTs returns inventory for all SKUs updated after that timestamp.

skusstring[]

If a list of SKUs is provided, lastUpdatedTs and warehouses are ignored.

isCaseSensitiveboolean

If this is true, a case-sensitive match will be used to search for the 'skus' provided. If false, as case-insensitive search will be used. Default value is true.

warehousesinteger[]

If a list of warehouses is provided, inventory for products with non-zero inventory in those warehouses will be returned.

pageLengthinteger

Passing this will return the number of Inventory objects specified, otherwise defaults to 25.

nextTokenstring

Passing this will return the next page of a previous call (we will disregard all other parameters provided). You can find nextToken in the response from a previous GET inventory call.

Response

Success

errorsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.