Search…
API Reference
Resources
Inventory stock locations
The inventory stock location object and its fields
Inventory stock locations build a hierarchy of stock locations within an inventory model. In case an SKU is available in more stock locations, it gets shipped from those with the highest priority.

The inventory stock location object

An inventory stock location object is returned as part of the response body of each successful list, retrieve, create or update API call.
Field
Type
Description
type
string
inventory_stock_locations
id
string
The inventory stock location unique identifier
links.self
string
The inventory stock location endpoint URL
attributes.priority
integer
The stock location priority within the associated invetory model.
attributes.on_hold
boolean
Indicates if the shipment should be put on hold if fulfilled from the associated stock location. This is useful to manage use cases like back-orders, pre-orders or personalized orders that need to be customized before being fulfilled.
attributes.created_at
datetime
Time at which the resource was created.
attributes.updated_at
datetime
Time at which the resource was last updated.
attributes.reference
string
A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.
attributes.reference_origin
string
Any identifier of the third party system that defines the reference code
attributes.metadata
object
Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.
relationships.stock_location
object
The associated stock location.
relationships.inventory_model
object
The associated inventory model.
meta.mode
string
The resource environment (can be one of test or live)
Last modified 1mo ago