Create an account-warehouse association
Account Warehouses
Create an account-warehouse association
Links an account to a warehouse, allowing the account to operate in that warehouse. The account_id + warehouse_id combination must be unique — duplicates return 422. A nested route alternative exists at /accounts/{account_id}/warehouses.
POST
Create an account-warehouse association
Request Structure
Key Fields
| Field | Required | Description |
|---|---|---|
account_id | Yes | The stock account to associate |
warehouse_id | Yes | The warehouse to associate |
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Body
application/json
Response
Account-warehouse association created successfully

