Skip to main content

Receive Shipment

POST 

/api/amazon/:integrationInstance/removal-shipments/:removalShipment/receive

Record receipt of a removal shipment. Splits returned units into new (resellable), discarded (damaged), and optionally blemished. items[].blemished_configurations is an array where each entry represents ONE blemished unit. The shipment must belong to the supplied integration instance (404 otherwise).

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Validation:

  • receipt_date — required, date
  • items — required, min:1
  • items[].quantity_new — required integer >= 0
  • items[].quantity_discarded — required integer >= 0
  • items[].cogs_per_unit — required numeric >= 0
  • items[].product_id — required, exists:products,id
  • items[].removal_shipment_id — nullable integer
  • items[].quantity_blemished — nullable integer >= 0
  • items[].blemished_configurations — nullable array

Request

Responses

OK

Response Headers
    Content-Type