v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
INVENTORY

Get all inventory items

Displays line items for each category in the inventory for an order.

get/v3/merchants/{mId}/items

Path parameters

mIdstring required

Merchant identifier.

Query parameters

filterstring

Filter fields to display search results: [lowStock, modifiedTime, hidden, itemCode, available, option.id, modifierGroup.id, autoManage, price, id, sku, defaultTaxRates, tags.id, alternateName, isRevenue, tags.name, deleted, item.id, name, itemStock.quantity, itemGroup.id, isAgeRestricted, ageRestrictedType, minimumAge]

expandstring

Additional information provided as an expanded response: [tags, categories, taxRates, modifierGroups, itemStock, options, ageRestricted]

offsetinteger

Position of the first line item returned in the search results. Indicates the number of line items that are excluded from the search results.

limitinteger

Maximum number of line items returned in the search result. Default: 100 Maximum limit: 1000

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Response

Successful response. Displays up to 1000 line items for each category in the inventory.

Example response

{
  "elements": [
    {
      "isAgeRestricted": true,
      "ageRestrictedType": "ALCOHOL",
      "minimumAge": 21
    }
  ]
}
All 287 operations