Skip to main content

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.

Required scope: integrations:write

Grant 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​

OK

Response Headers
    Content-Type