Inventory
List inventory items
Get a paginated list of inventory items for the current merchant or service provider. Inventory items and products refer to the same underlying records: uuid matches the product UUID, while id is the integer identifier required by inbound shipment update-item. Inbound shipment add-item accepts either item_id or product_uuid; provide exactly one. To resolve that integer ID, use an exact filter such as GET /inventory?merchant_skus[]=WIDGET-001 or GET /inventory?product_uuids[]=1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4 and read id from the matching entry in data. Product responses do not include the integer inventory ID.
Optional attributes
- Name
q- Type
- string
- Description
- A search query to filter items by title, SKU, identifier, tag, or condition widget
- Name
ids- Type
- array<integer>
- Description
- Filter items by a list of item IDs
- Name
merchant_skus- Type
- array<string>
- Description
- Filter items by a list of merchant SKUs
- Name
product_uuids- Type
- array<string>
- Description
- Exact product UUID lookup. Encode as product_uuids[]=1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4; repeat the parameter for multiple UUIDs. Each matching inventory entry includes both id and uuid.
- Name
tag_ids- Type
- array<integer>
- Description
- Filter items by a list of tag IDs
- Name
available_quantity_gt- Type
- integer
- Description
- Filter items with available quantity greater than this value
- Name
available_quantity_lt- Type
- integer
- Description
- Filter items with available quantity less than this value
- Name
quantity_in_stock_gt- Type
- integer
- Description
- Filter items with quantity in stock greater than this value
- Name
quantity_in_stock_lt- Type
- integer
- Description
- Filter items with quantity in stock less than this value
- Name
missing_dimensions_only- Type
- boolean
- Description
- When true, only return items missing dimension data
- Name
_has_multiple_fnskus- Type
- boolean
- Description
- Only return items that have two or more FNSKU identifiers. The filter is applied whenever the parameter is present, whatever its value: `_has_multiple_fnskus=0` filters the same way as `_has_multiple_fnskus=1`. Omit the parameter to return items regardless of how many FNSKUs they have. true
- Name
sort_by- Type
- string
- Description
- The field to sort results by
- Name
sort_dir- Type
- string
- Description
- The sort direction asc
- Name
page- Type
- integer
- Description
- The page number to retrieve (1-indexed) 1
- Name
per_page- Type
- integer
- Description
- The number of items per page 15
Request
curl -G https://YOUR_DOMAIN/api/inventory \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Create an inventory item
Create a new inventory item for the current merchant.
Required attributes
- Name
merchant_sku- Type
- string
- Description
- The merchant's own SKU for this item WIDGET-001
- Name
title- Type
- string
- Description
- The title or name of the item Blue Widget
Optional attributes
- Name
condition- Type
- string
- Description
- The condition of the item new
- Name
condition_note- Type
- string
- Description
- Additional notes about the condition Minor cosmetic damage
- Name
length_mm- Type
- integer
- Description
- The length in millimetres 150
- Name
width_mm- Type
- integer
- Description
- The width in millimetres 100
- Name
height_mm- Type
- integer
- Description
- The height in millimetres 50
- Name
weight_gm- Type
- integer
- Description
- The weight in grams 500
Request
curl -X POST https://YOUR_DOMAIN/api/inventory \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"merchant_sku": "WIDGET-001",
"title": "Blue Widget",
"condition": "new",
"condition_note": "Minor cosmetic damage",
"length_mm": 150,
"width_mm": 100,
"height_mm": 50,
"weight_gm": 500
}'Search inventory items
Search for inventory items using a text query and optional filters.
Required attributes
- Name
q- Type
- string
- Description
- The search query string blue widget
Optional attributes
- Name
mode- Type
- string
- Description
- The search mode to use. Defaults to 'default'. default
- Name
page- Type
- integer
- Description
- The page number to retrieve (1-indexed) 1
- Name
per_page- Type
- integer
- Description
- The number of items per page 15
- Name
filters- Type
- object
- Description
- Optional filters to apply to the search
Request
curl -X POST https://YOUR_DOMAIN/api/inventory/search \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"q": "blue widget",
"mode": "default",
"page": 1,
"per_page": 15,
"filters": {
"condition_type": "new"
}
}'Show an inventory item
Get a single inventory item by its ID.
Required attributes
- Name
item- Type
- integer
- Description
- The ID of the inventory item 1
Request
curl -G https://YOUR_DOMAIN/api/inventory/{item} \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Update an inventory item
Update an existing inventory item.
Required attributes
- Name
item- Type
- integer
- Description
- The ID of the inventory item 1
Optional attributes
- Name
title- Type
- string
- Description
- The title or name of the item Blue Widget
- Name
condition- Type
- string
- Description
- The condition of the item new
- Name
condition_note- Type
- string
- Description
- Additional notes about the condition Minor cosmetic damage
- Name
length_mm- Type
- integer
- Description
- The length in millimetres 150
- Name
width_mm- Type
- integer
- Description
- The width in millimetres 100
- Name
height_mm- Type
- integer
- Description
- The height in millimetres 50
- Name
weight_gm- Type
- integer
- Description
- The weight in grams 500
Request
curl -X PUT https://YOUR_DOMAIN/api/inventory/{item} \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"title": "Blue Widget",
"condition": "new",
"condition_note": "Minor cosmetic damage",
"length_mm": 150,
"width_mm": 100,
"height_mm": 50,
"weight_gm": 500
}'Add an identifier to an inventory item
Add a new identifier (ASIN, EAN, UPC, FNSKU, GTIN, or CUSTOM) to an inventory item.
Required attributes
- Name
item- Type
- integer
- Description
- The ID of the inventory item 1
- Name
identifier_type- Type
- string
- Description
- The type of identifier to add ASIN
- Name
identifier- Type
- string
- Description
- The identifier value B0001234AB
Request
curl -X POST https://YOUR_DOMAIN/api/inventory/{item}/identifier \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"identifier_type": "ASIN",
"identifier": "B0001234AB"
}'Manage services for an inventory item
Sync the company services associated with an inventory item.
Required attributes
- Name
item_id- Type
- integer
- Description
- The ID of the inventory item 1
- Name
services- Type
- array<integer>
- Description
- The list of company service IDs to associate with the item [1,2,3]
Request
curl -X POST https://YOUR_DOMAIN/api/inventory/services \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"item_id": 1,
"services": [
1,
2,
3
]
}'Delete an inventory item identifier
Delete an identifier (ASIN, EAN, UPC, FNSKU, GTIN, or CUSTOM) from an inventory item.
Required attributes
- Name
identifier- Type
- integer
- Description
- The ID of the inventory item identifier to delete 1
Request
curl -X DELETE https://YOUR_DOMAIN/api/identifier/{identifier} \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Batch delete inventory items
Delete multiple inventory items at once.
Required attributes
- Name
items- Type
- array<Item>
- Description
- The inventory items to delete
- Name
items.*.id- Type
- integer
- Description
- The ID of the inventory item to delete 1
Request
curl -X POST https://YOUR_DOMAIN/api/inventory/batch/delete \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"id": 1
}
]
}'