Receive Shipment
POST//:domain/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).
Validation:
receipt_date— required, dateitems— required, min:1items[].quantity_new— required integer >= 0items[].quantity_discarded— required integer >= 0items[].cogs_per_unit— required numeric >= 0items[].product_id— required, exists:products,iditems[].removal_shipment_id— nullable integeritems[].quantity_blemished— nullable integer >= 0items[].blemished_configurations— nullable array
Request
Responses
- 200
- 422
OK
Response Headers
Content-Type
Unprocessable Entity
Response Headers
Content-Type