Map Warehouse
POST/api/shippit/instances/:integration_instance/warehouses/link
Records the Shippit sender (pickup) details a warehouse uses, for reference. Shippit's order API has no sender field — orders always despatch from the pickup address on the connected Shippit account — so these details are not sent with orders, and a mapping does not decide which warehouses use Shippit (use Fulfillment Routing for that). Idempotent upsert on the (instance, warehouse) pair.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Request fields:
sku_warehouse_id(required, integer) — the warehouse.enabled(optional, boolean) — defaults totrue.sender_name(optional, string|null).sender_address(optional, object|null).
Authentication: requires a Bearer token.
Requires the integrations.update permission.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 429
Created
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
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.