Skip to main content

Mark Shipment as Shipped

POST 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/shipments/:plan_shipment/mark-shipped

Mark a shipment of the plan as shipped. Sets the shipment's local status to shipped (with shipped_at) and, for warehouse-sourced shipments (those with a linked warehouse transfer), transitions the linked warehouse transfer to in-transit via the existing FBA transfer pathway (physical-out movements + pending inbound). Supplier-sourced shipments (no warehouse transfer) skip the transfer step.

Authorization

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

Runs in one DB transaction — a warehouse-transfer failure rolls back the status change and surfaces as a 422 with the underlying message.

No request body is required.

Response: the refreshed shipment with items, pallets, transportation_options, and delivery_window_options loaded.

422 conditions:

  • the shipment is already marked as shipped
  • the shipment has no confirmed transportation option (confirm transportation first)
  • the linked warehouse transfer fails to transition to in-transit (underlying message surfaced on warehouse_transfer)

Returns 404 when the shipment does not belong to the draft inbound plan.

Request

Responses

OK

Response Headers
    Content-Type