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": "6471d8da-f087-4c0f-83f2-0a46df10ed45",
      "object": "warehouse",
      "label": "Main Warehouse",
      "default": false,
      "contact": "249d0aa5-b315-4a88-a6f9-655482da764f",
      "created_at": 1775219059,
      "updated_at": 1775219059
    }
  ]
}

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.