Skip to main content
GET
/
v1
/
warehouses
List
curl --request GET \
  --url https://{defaultHost}/v1/warehouses \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/warehouses"
  },
  "data": [
    {
      "id": "1027dc28-4815-451f-8698-6a97937f8149",
      "object": "warehouse",
      "label": "Main Warehouse",
      "default": false,
      "contact": "2642db47-307c-4d5a-9d86-246dec913e02",
      "created_at": 1780348964,
      "updated_at": 1780348964
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.