Update Origin Warehouse
PUT/api/pinnacle/instances/:instance/warehouses
Sets the Pinnacle origin (ships-from) warehouse, or clears it so each order uses its fulfillment order's own warehouse. The warehouse must pass the eligibility checks; otherwise 422 lists what is missing. Returns the updated warehouse list.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Body fields:
- origin_warehouse_id (integer|null, required key): an existing warehouse id, or null to use each fulfillment order's warehouse.
Authentication: requires a Bearer token (Personal Access Token).
Requires the integrations.update permission; without it the request is refused with 403.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.