Skip to main content

List Orders

GET 

/api/temu/:integrationInstance/orders

Paginated list of Temu orders for an integration instance, powered by Spatie QueryBuilder.

Not yet available to API tokens

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

Supported filters:

  • filter[search] — searches parentOrderSn, Temu id, and linked SKU sales_order_number.
  • filter[archived] — 'active' (default), 'only'/'archived'/'1'/true, or 'all'/'2'.
  • filter[linked] — true/false; presence of a linked SKU sales order.
  • filter[parentOrderStatus] — exact match on the legacy dropdown enum value.
  • AdvancedFilterBuilder operators on: parentOrderSn (text), currency (text), parentOrderStatus (text), id (numeric), total (numeric), parentOrderTime (date), expectShipLatestTime (date), latestDeliveryTime (date), created_at (date), updated_at (date). Operators are appended as .eq, .contains, .gte, .between, etc.

Supported sorts: id, parentOrderSn, parentOrderStatus, shippingMethod, expectShipLatestTime, latestDeliveryTime, parentOrderTime, total, currency, created_at, updated_at. Default sort is -id.

Eager-loads orderItems, integrationInstance, salesOrder.salesOrderFulfillments.

Response field: unmapped_line_item_count — number of line items whose Temu product exists but has no internal SKU.io Product linked (mapping incomplete). Excludes orphan goodsIds with no TemuProduct row. Only present when orderItems are loaded.

Request

Responses

OK

Response Headers
    Content-Type