Skip to main content
PUT
Update a warehouse

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

Body

application/json
name
string
Minimum string length: 1
active
boolean
default
boolean
country
object
address
object
country_assignments
object[]

Countries to route to this warehouse, honored only when the warehouse-country-assignment flag is on for the company. Add or re-point only: countries already on the warehouse that are not listed stay. All or nothing: any invalid entry changes nothing, including the other fields. An empty array changes no routing.

Response

object | null

Success

warehouse
Warehouse · object | null
meta
object | null