Skip to main content

Refresh Orders

POST 

/api/temu/:integrationInstance/orders/refresh

Queues a background job that pulls the latest orders from Temu and upserts them into the local order list. The job runs on a serialized queue so overlapping refreshes for the same instance cannot race. The sync window starts just after the most recent stored order (or the instance's configured start date when no orders exist yet).

Authorization

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

After orders are saved, linked sales orders for the fetched page are also brought up to date. The response returns immediately; there is no job id to poll on this endpoint.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type