Inventory Get

GET{{api_url}}/shop/inventory/{{sku}}?warehouse_id

Get inventory for a specific sku

Authorization

Bearer token, sent in the Authorization header. Inherited from the collection.

Query Parameters

KeyValueDescription
warehouse_idIf set, the inventory for the specific warehouse will be returned instead of total inventory across all warehouses

Example Request

curl --location --request GET '{{api_url}}/shop/inventory/{{sku}}?warehouse_id' \
--header 'Authorization: Bearer {{auth_token}}'

Example Responses

Inventory Get

Request

curl --location --request GET '{{api_url}}/shop/inventory/5L-MARG-MW04' \
--header 'Authorization: Bearer YOUR_API_KEY'

Response 200 OK

"984"