Skip to main content

Delete SKU Order for Target Plus Order

DELETE 

/api/target-plus/:integrationInstance/orders/:order/sku-order

Deletes the SKU.io sales order linked to this Target Plus order and keeps the Target Plus order, now unlinked. Nothing changes on Target.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

An unlinked order that is still eligible is turned into a SKU.io sales order again by the automatic order creation. Send archive_target_plus_order: true to archive the Target Plus order as well, so that does not happen.

Body (optional): archive_target_plus_order (boolean, default false).

404 when no SKU.io sales order is linked; 422 when the sales order may not be deleted (for example it has received returns, PayPal payments or credits; the reason is in message); 403 when the order belongs to another integration.

Request​

Responses​

OK

Response Headers
    Content-Type