Skip to main content

Preview Fulfillment Preflight

POST 

/api/temu/:integrationInstance/fulfillments/preflight-preview

Runs the same Temu shipment-confirmation checks as the stored-fulfillment preflight, but against raw input values instead of a persisted fulfillment. Use this to validate a fulfillment while it is still being composed, before anything is saved.

Not yet available to API tokens

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

Request body (all fields optional — omitted values are reported as blockers):

  • warehouse_id (integer) — local warehouse id; must be mapped to a Temu warehouse.
  • shipping_method_id (integer) — local shipping method id; must be mapped to a Temu carrier.
  • tracking_number (string, max 255) — carrier-issued tracking number.
  • sales_order_id (integer) — the sales order being fulfilled. Supply it to have the order's carrier restrictions checked while the shipping method is still being chosen; without it restricted_carriers is always empty and a restricted carrier is only reported once the fulfillment is submitted.

The response shape matches the stored-fulfillment preflight: can_submit, blockers (each with field, message, fix_path), resolved (carrier_id, warehouse_id, tracking_number), and restricted_carriers.

  • restricted_carriers (array of strings) — carrier names Temu will not accept a self-declared tracking number for on this order (for example ["USPS", "FEDEX"]). Temu publishes these on the order itself, so they are known before a label is bought. Shipping with one of these carriers means the tracking can never be confirmed afterwards; buy the label through Temu or use an accepted carrier instead. Empty when there are no restrictions.

Authentication: Requires Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type