List Orders
GET/api/temu/:integrationInstance/orders
Paginated list of Temu orders for an integration instance, powered by Spatie QueryBuilder.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
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
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.