Cancel Target Plus Order Lines
POST/api/target-plus/:integrationInstance/orders/:order/cancel-lines
Seller-cancel units on a Target Plus order. Line-level and irreversible, and Target counts seller cancellations against the Order Defect Rate. Only lines with nothing shipped can be cancelled, and only their open units; for shipped items contact Target support. The cancellation runs as a tracked job; afterwards the order is re-read and the SKU.io order lines are cancelled and their open fulfillment reset.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
reason_code: OUT_OF_STOCK (default), UNABLE_TO_SHIP, PRICING_ERROR, OTHER. Returns 409 when seller cancels are not allowed in this environment, 422 when a line can't be cancelled.
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 — 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 — 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.