PUT
/
v1
/
inventory
/
warehouses
/
{id}
Update Warehouse
curl --request PUT \
  --url https://{base_url_domain}/api/global/v1/inventory/warehouses/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "East Coast 1",
  "is_active": true
}'
This response does not have an example.

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

Body

application/json

An object conforming to the Warehouse schema to be merged with the existing Warehouse.

A Warehouse represents a physical location from which you can store inventory and perform operations independently of other warehouses.

Response

200

OK - The operation completed successfully and there is no response body.