Skip to main content

Process Inbound with Stock Take

POST 

/api/amazon/:integrationInstance/inbound/shipments/:shipment/process-with-stock-take

Dispatch the tracked job that injects each product's source-warehouse shortfall via a covering stock take and then processes the legacy FBA inbound into its warehouse transfer (source warehouse → FBA warehouse).

Authorization

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

The covering stock take runs in adjustment mode with backorder auto-release SUPPRESSED, and the source inventory pool lock is held across inject→process so the injected units flow into the transfer's own Allocated reservation and are never stolen by a pending backorder. No InventoryHold is used.

Request body (both optional):

  • notes (string, max 1000) — appended to the covering stock take's note
  • source_warehouse_id (integer, exists:warehouses) — overrides the resolved source warehouse

Returns the tracked job log ID so the frontend can follow progress via the tracked job log endpoints (job name: "Process FBA Inbound with Stock Take: {ShipmentConfirmationId}"). The operation is idempotent — a shipment already linked to a transfer returns early without creating a second stock take.

Request

Responses

OK

Response Headers
    Content-Type