Skip to main content
POST
Create a warehouse

Request Structure

Key Fields

Address

The warehouse address must be provided in data.relationships.address, not in data.attributes. See the example above for the correct JSON:API relationships structure.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.

X-Clarus-Subdomain
string
header
required

The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.

Body

application/json
data
object
required

Response

Warehouse created successfully

data
object