Remove Single Discard
DELETE/api/amazon/:integrationInstance/removal-shipment-discards/:discard
Remove a single discard record. The parent shipment's qty_discarded counter is decremented by the deleted row's quantity (backward-compat column kept in sync with the new amazon_fba_removal_shipment_discards audit table). Returns 404 if the discard does not belong to the supplied integration instance. After deletion, the removal order's receipt_status is recomputed (e.g. an order that was fully_discarded may transition back to pending if there are no other discards or receipts).
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Request
Responses
- 200
- 401
- 403
- 404
- 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
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.