curl --request PUT \
--url 'https://api.stateset.com/api/v1/warehouses/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"address": null,
"is_active": null,
"name": null,
"timezone": null,
"warehouse_type": null
}'
{
"city": null,
"code": "string",
"country": null,
"created_at": "string",
"id": 1,
"is_active": true,
"name": "string",
"timezone": null,
"warehouse_type": "string"
}
Update a warehouse
Update a warehouse
PUT
/
api
/
v1
/
warehouses
/
{id}
curl --request PUT \
--url 'https://api.stateset.com/api/v1/warehouses/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"address": null,
"is_active": null,
"name": null,
"timezone": null,
"warehouse_type": null
}'
{
"city": null,
"code": "string",
"country": null,
"created_at": "string",
"id": 1,
"is_active": true,
"name": "string",
"timezone": null,
"warehouse_type": "string"
}
Path parameters
integer (int32)
required
Warehouse ID
Request body
UpdateWarehouseRequest
object
boolean,null
string,null
string,null
string,null
Responses
WarehouseResponse
ErrorBody
curl --request PUT \
--url 'https://api.stateset.com/api/v1/warehouses/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"address": null,
"is_active": null,
"name": null,
"timezone": null,
"warehouse_type": null
}'
{
"city": null,
"code": "string",
"country": null,
"created_at": "string",
"id": 1,
"is_active": true,
"name": "string",
"timezone": null,
"warehouse_type": "string"
}
⌘I