List Stock Locations
GET
/admin/stock-locations
Stock Locations
id
. The stock locations can also be sorted or paginated.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/admin/stock-locations'
Response Response Example
200 - Example 1
{
"limit": 0,
"offset": 0,
"count": 0,
"stock_locations": [
{
"address": {
"id": "string",
"address_1": "string",
"address_2": "string",
"company": "string",
"country_code": "us",
"city": "string",
"phone": "string",
"postal_code": "string",
"province": "us-ca"
},
"id": "string",
"name": "string",
"address_id": "string",
"sales_channels": [
{
"id": "string",
"name": "string",
"description": "string",
"is_disabled": true,
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"fulfillment_providers": [
{
"id": "string",
"is_enabled": true
}
],
"fulfillment_sets": [
{}
]
}
],
"estimate_count": 0
}
Request
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.offset
numberÂ
offset
limit
numberÂ
limit
order
stringÂ
order
-
.q
stringÂ
q
id
optional
One of
name
optional
One of
address_id
optional
One of
sales_channel_id
optional
One of
$ne
array[string]
optional
Example:
["","",""]
$gt
array[string]
optional
Example:
["","",""]
$gte
array[string]
optional
Example:
["","",""]
$lt
array[string]
optional
Example:
["","",""]
$lte
array[string]
optional
Example:
["","",""]
$like
array[string]
optional
like
filter. Useful for strings only.Example:
["","",""]
$re
array[string]
optional
Example:
["","",""]
$ilike
array[string]
optional
like
filter. Useful for strings only.Example:
["","",""]
$fulltext
array[string]
optional
Example:
["","",""]
$exists
array[string]
optional
null
).Example:
["","",""]
$and
array [object]Â
$and
Example:
["","",""]
$or
array [object]Â
$or
Example:
["","",""]
$in
array[string]
optional
Example:
["","",""]
$nin
array[string]
optional
Example:
["","",""]
$overlap
array[string]
optional
Example:
["","",""]
$contains
array[string]
optional
Example:
["","",""]
$contained
array[string]
optional
Example:
["","",""]
$eq
array[string]
optional
Example:
["","",""]
$not
array[string]
optional
Example:
["","",""]
Responses
Modified at 2025-06-17 04:10:32