Bulk Receive Shipments
POST/api/amazon/:integrationInstance/removal-shipments/receive-bulk
Receive multiple removal shipments in one call, all into the same warehouse with the same receipt date. Each shipment must belong to the supplied integration instance — the controller validates this up-front and returns 404 if any shipment is missing or belongs to another integration instance.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Validation:
warehouse_id— required, exists:warehouses,idreceipt_date— required, dateshipments— required, min:1shipments[].shipment_id— required, exists:amazon_fba_report_removal_shipments,idshipments[].items— required, min:1 — same item shape as the single receive endpoint.
If any shipment in the batch would receive more than is still pending on it, the whole batch is refused with 422 and nothing is received.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
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.