Items
Get Inventory at Locations
GET https://api.bigcommerce.com/stores/{store_hash}/v3/inventory/itemsRequest
Return a list of inventory and inventory settings for all items in all locations.
Limits
- Limit of 1000 items for payload length.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- sku:in in query - stringList of
sku
separated by comma. - variant_id:in in query - integerList of
variant_id
separated by comma. - product_id:in in query - integerList of
product_id
separated by comma. - location_id:in in query - integerComma separated list of
location_id
. - location_code:in in query - stringComma separated list of
location_code
. - page in query - integerSpecifies the page number in a limited (paginated) list.
- limit in query - integerControls the number of items per page in a limited (paginated) list.
example
Response
Request has been successfully processed.
Body
object | application/json
dataarray[object]
example
Get Inventory at a Location
GET https://api.bigcommerce.com/stores/{store_hash}/v3/inventory/locations/{location_id}/itemsRequest
Return a list of inventory and inventory settings for all items in a location.
Limits
- Limit of 1000 items for payload length.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- location_id in path - integerrequiredUnique identifier for a location.
- variant_id:in in query - integerList of
variant_id
separated by comma. - product_id:in in query - integerList of
product_id
separated by comma. - sku:in in query - stringList of
sku
separated by comma. - page in query - integerSpecifies the page number in a limited (paginated) list.
- limit in query - integerControls the number of items per page in a limited (paginated) list.
example
Response
Request has been successfully processed.
Body
object | application/json
dataarray[object]
example
Update Inventory Settings for a Location
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/inventory/locations/{location_id}/itemsRequest
Update inventory settings for items at a location.
Limits
- Limit of 2000 items for payload length.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- location_id in path - integerrequiredUnique identifier for a location.
Body
object | application/json
settingsarray[object]
required
example
Response
Request has been successfully processed.
Body
object | application/json
transaction_idstring
Unique identifier of performed action.
Did you find what you were looking for?