GET
/
v1
/
inventory
/
warehouses
/
{id}
Get one Warehouse
curl --request GET \
  --url https://{base_url_domain}/api/global/v1/inventory/warehouses/{id} \
  --header 'Authorization: Bearer <token>'
{
  "resource": {
    "type": "Warehouse",
    "id": 3,
    "name": "East Coast 1",
    "is_active": true
  }
}

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Path Parameters

id
integer
required

The id of the Warehouse.

Required range: x >= 1

Response

200
application/json

OK

The response is of type object.