Skip to main content
POST
Warehouse - Create V2

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Warehouse name

Example:

"Main Warehouse"

email
string<email>

Sender email used for Transfer Order emails

Example:

"warehouse@example.com"

type
string

Warehouse type

address
object

Warehouse address

is_default
boolean

Set as default warehouse

store_id
string

Store this warehouse belongs to (store-backed types only)

store_location
string

Shopify only: store location id this warehouse syncs its inventory from. Required when type is "shopify", ignored otherwise.

Response

Warehouse created

success
boolean
required

Whether the operation succeeded

_id
string
required

ID of the created resource

Example:

"507f1f77bcf86cd799439011"