Skip to main content
GET
/
v1
/
warehouses
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/warehouses/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "6e959b6c-0d22-4f18-82d7-33fc82aea927",
  "object": "warehouse",
  "label": "Main Warehouse",
  "default": false,
  "address": "89a73812-593c-4525-9c53-d502f079d9fd",
  "created_at": 1773748405,
  "updated_at": 1773748405
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

label
string

The name of this warehouse.

default
boolean

Whether or not this warehouse is the account's default.

address

Expandable – The associated address ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.