Skip to main content

Remove Receipt (Single Shipment)

DELETE 

/api/amazon/:integrationInstance/removal-shipments/:removalShipment/remove-receipt

Reverse the receipt for a single removal shipment, deleting the inventory adjustments created when it was received. Returns 404 if the shipment does not belong to the supplied integration instance.

Required scope: integrations:write

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

Returns 422 when the receipt cannot be reversed:

  • it would consume stock hard-allocated to a shipment whose label cannot be voided (void it at the carrier first, or supply a void_confirmations entry to void it as part of the request), or
  • it would consume stock committed to another in-flight process (a warehouse transfer or an FBA inbound plan): cancel or adjust that transfer/plan first.

If the received units have already been sold or consumed with no live reservation to release, the reversal fails with a server error (not a 422) — a data anomaly worth investigating rather than a routine rejection.

Request​

Responses​

OK

Response Headers
    Content-Type