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).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

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

items[].product_id may be null ONLY for a discard-only receipt of an FNSKU marked as an unknown item (quantity_new and quantity_blemished must be 0, quantity_discarded > 0). Otherwise product_id is required.

Request

Responses

OK

Response Headers
    Content-Type