Skip to main content

Generate Delivery Window Options

POST 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/shipments/:plan_shipment/delivery-window-options/generate

Generate delivery window options for a single plan shipment (Amazon FBA Inbound v2024-03-20 generateDeliveryWindowOptions operation). Delivery windows are required for non-partnered (own-carrier) transportation options that carry the CONFIRMED_DELIVERY_WINDOW precondition — confirm a window before confirming such a transportation option.

Authorization

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

This is an asynchronous endpoint: it dispatches a tracked background job and returns { "data": { "tracked_job_log_id": <id> } } immediately. Progress is visible via the tracked job log endpoints, and the underlying Amazon operation is resolved by the amazon_inbound_operations poller (a background job).

Tracked job name: Generate FBA Delivery Windows: {plan name}. When the job completes, the offered windows are persisted locally and can be retrieved with List Delivery Window Options.

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

No request body is required.

Request

Responses

OK

Response Headers
    Content-Type