Skip to main content
PUT
Update warehouse

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

warehouseId
integer
required

Warehouse ID

Body

application/json
name
string

Warehouse name

Maximum string length: 255
address
string | null

Street address

street_address_1
string | null

Street address line 1

street_address_2
string | null

Street address line 2

city
string | null

City

Maximum string length: 255
state
string | null

State/province

Maximum string length: 255
zip
string | null

Postal/ZIP code

Maximum string length: 255
country
string | null

Country

Maximum string length: 255
is_pick_location
boolean | null

Whether this is a pick location

return_name
string | null

Return-address name/company. Optional return address printed on carrier labels (currently ParcelPerform) for orders shipped from this warehouse. The override applies when return_name or return_street_address_1 is set; any blank field falls back to the ship-from address. A warehouse group's return address takes precedence.

Maximum string length: 255
return_street_address_1
string | null

Return-address street line 1

Maximum string length: 255
return_street_address_2
string | null

Return-address street line 2

Maximum string length: 255
return_city
string | null

Return-address city

Maximum string length: 255
return_state
string | null

Return-address state/province

Maximum string length: 255
return_zip
string | null

Return-address postal/ZIP code

Maximum string length: 255
return_country
string | null

Return-address country

Maximum string length: 255
return_phone
string | null

Return-address phone

Maximum string length: 50
return_email
string<email> | null

Return-address email

Maximum string length: 255

Response

Warehouse updated

id
integer

Warehouse ID

status
string | null

Warehouse status (e.g. active, inactive)

name
string

Warehouse name

address
string | null

Street address

street_address_1
string | null

Street address line 1

street_address_2
string | null

Street address line 2

city
string | null

City

state
string | null

State/province

zip
string | null

Postal/ZIP code

country
string | null

Country

is_pick_location
boolean

Whether this warehouse is a pick location

return_name
string | null

Return-address name/company. Optional return address printed on carrier labels (currently ParcelPerform) for orders shipped from this warehouse. The override applies when return_name or return_street_address_1 is set; any blank field falls back to the ship-from address. A warehouse group's return address takes precedence.

return_street_address_1
string | null

Return-address street line 1

return_street_address_2
string | null

Return-address street line 2

return_city
string | null

Return-address city

return_state
string | null

Return-address state/province

return_zip
string | null

Return-address postal/ZIP code

return_country
string | null

Return-address country

return_phone
string | null

Return-address phone

return_email
string<email> | null

Return-address email

created_at
string<date-time>

When the warehouse was created

updated_at
string<date-time>

When the warehouse was last updated