Skip to main content

Process All Unprocessed Shipments (dispatch tracked job)

POST 

/api/amazon/unified/legacy-inbound-shipments/process-all

Dispatches a background job to process unprocessed legacy inbound shipments across the specified integration instances. Processing handles SKU linking, ledger entries, and cancellation reconciliation.

Not yet available to API tokens

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

Request body / query accepts integration_instance_ids as either:

  • A JSON array of ints: [1, 2]
  • A comma-separated string: "1,2"

If omitted, ALL AmazonIntegrationInstance IDs are used.

Returns immediately with a tracked_job_log_id that the frontend uses to display progress via the tracked job log endpoints.

Request

Responses

OK

Response Headers
    Content-Type