Body
Required
-
Address line one
-
Address line two
-
Billing address line one
-
Billing address line two
-
Billing city
-
Billing country
-
Billing first name
-
Billing last name
-
Billing name
-
Billing state
-
Billing zip
-
City
-
Countries
Default value is
[]
(empty). -
Countries filter
Values are
all
,domestic
,rest_of_world
,exclude
, orinclude
. Default value isall
. -
Country
-
Created at
-
Default return status
Values are
draft
,requested
,finalized
,shipped
, orreceived
. Default value isreceived
. -
First name
-
Id
-
Include label in packing slip
-
Label format
Values are
png
,pdf
,pdf_4x6
, orpdf_4x8
. Default value ispng
. -
Last name
-
Name
-
Pdf legal
-
Set invoice addresss
-
Shipping rate
-
Skip online inventory
Default value is
false
. -
State
-
States
Default value is
[]
(empty). -
States filter
Values are
all
,exclude
, orinclude
. Default value isall
. -
Status
Values are
active
orarchived
. Default value isactive
. -
Updated at
-
Zip
-
Zips
Default value is
[]
(empty). -
Zips filter
Values are
all
,exclude
,include
, orstartsWith
. Default value isall
.
curl \
--request PUT 'http://api.example.com/v1/warehouses/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"addressLineOne":"string","addressLineTwo":"string","billingAddressLineOne":"string","billingAddressLineTwo":"string","billingCity":"string","billingCountry":"string","billingFirstName":"string","billingLastName":"string","billingName":"string","billingState":"string","billingZip":"string","city":"string","countries":[],"countriesFilter":"all","country":"string","createdAt":"2025-05-04T09:42:00Z","defaultReturnStatus":"received","firstName":"string","id":42,"includeLabelInPackingSlip":true,"labelFormat":"png","lastName":"string","name":"string","pdfLegal":"string","setInvoiceAddresss":true,"shippingRateId":42,"skipOnlineInventory":false,"state":"string","states":[],"statesFilter":"all","status":"active","updatedAt":"2025-05-04T09:42:00Z","zip":"string","zips":[],"zipsFilter":"all"}'
{
"addressLineOne": "string",
"addressLineTwo": "string",
"billingAddressLineOne": "string",
"billingAddressLineTwo": "string",
"billingCity": "string",
"billingCountry": "string",
"billingFirstName": "string",
"billingLastName": "string",
"billingName": "string",
"billingState": "string",
"billingZip": "string",
"city": "string",
"countries": [],
"countriesFilter": "all",
"country": "string",
"createdAt": "2025-05-04T09:42:00Z",
"defaultReturnStatus": "received",
"firstName": "string",
"id": 42,
"includeLabelInPackingSlip": true,
"labelFormat": "png",
"lastName": "string",
"name": "string",
"pdfLegal": "string",
"setInvoiceAddresss": true,
"shippingRateId": 42,
"skipOnlineInventory": false,
"state": "string",
"states": [],
"statesFilter": "all",
"status": "active",
"updatedAt": "2025-05-04T09:42:00Z",
"zip": "string",
"zips": [],
"zipsFilter": "all"
}