The inventory stock location object

A comprehensive list of the inventory stock location resource's attributes and relationships

An inventory stock location object is returned as part of the response body of each successful list, retrieve, create or update API call to the /api/inventory_stock_locations endpoint.

Fields

FieldTypeDescription

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.

relationships.versions

array

The associated changes.

meta.mode

string

The resource environment (can be one of test or live)

Last updated