commerce
inventory

List all inventories

Changed on
get/commerce/{connection_id}/inventory

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/commerce/{connection_id}/inventory
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

Query parameters

limitnumber
offsetnumber
updated_gtestring

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

sortstring
orderstring
querystring

Query string to search. eg. email address or name

item_variant_idstring

The item variant ID to filter by (reference to CommerceCommerceItemvariant)

location_idstring

The location ID to filter by (reference to CommerceLocation)

item_idstring

The item ID to filter by (reference to CommerceItem)

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

item_idstring

(reference to CommerceItem)

item_variant_idstring

(reference to CommerceCommerceItemvariant)

item_option_idstring
location_idstring

(reference to CommerceLocation)

availablenumber
rawobject

Changes

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property / to the response with the status

    • breaking

      the response's body type changed from no type to array for status