List all inventory stock locations
How to fetch a collection of inventory stock locations via API
To fetch a collection of inventory stock locations, send a GET
request to the /api/inventory_stock_locations
endpoint.
Request
GET https://yourdomain.commercelayer.io/api/inventory_stock_locations
Example
The following request fetches a collection of inventory stock locations:
Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of inventory stock locations can be sorted by the following fields:
Attributes
priority
on_hold
id
created_at
updated_at
reference
reference_origin
Relationships
stock_location
inventory_model
Filterable fields
The list of inventory stock locations can be filtered by the following fields:
Attributes
priority
on_hold
id
created_at
updated_at
reference
reference_origin
metadata
Relationships
stock_location
inventory_model
Last updated