Update Target Plus Distribution Center
PUT/api/target-plus/:integrationInstance/distribution-centers/:distributionCenter
Maps a distribution center to the SKU.io warehouse that fulfills its orders, or clears the mapping with warehouse_id: null. Held orders from that DC become eligible for SKU.io sales order creation once it is mapped.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
One warehouse may feed several DCs, but only when confirmed: if the warehouse already serves another DC and confirm_shared_warehouse is not true, the response is 409 with requires_confirmation and the other DC IDs; send the request again with confirm_shared_warehouse: true.
Body: warehouse_id (required key, integer or null — an existing warehouse ID), confirm_shared_warehouse (optional boolean). Returns 403 when the DC belongs to a different integration.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 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
Response Headers
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Conflict
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.