Update an account-warehouse association
Account Warehouses
Update an account-warehouse association
Update which account or warehouse is linked. Both account_id and warehouse_id are required. The combination must be unique — duplicates return 422. A nested route alternative exists at /accounts/{account_id}/warehouses/{id}.
PATCH
Update 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.
Path Parameters
The unique identifier of the account-warehouse association to update
Body
application/json
Response
Account-warehouse association updated successfully

