commerce
inventory

Retrieve an inventory

get/commerce/{connection_id}/inventory/{id}

Request

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

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Inventory

Query parameters

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
rawunknown

Changes

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