Skip to main content

List Parent After-Sales

GET 

/api/temu/:integration_instance/parent-after-sales

Paginated list of Temu Parent After-Sales (returns + refunds) stored locally.

Data is synced from Temu's bg.aftersales.parentaftersales.list.get endpoint via the Refresh endpoint below.

Path Parameters:

  • integration_instance - Integration instance ID

Query Parameters:

  • Standard Spatie filters: filter[parentAfterSalesId], filter[parentOrderSn], filter[parentAfterSalesStatus], filter[afterSalesReasonCode], filter[refundAmount], plus datetime variants for applyTime, updateTime, created_at, updated_at.
  • filter[search] - AdvancedSearch across parentAfterSalesId + parentOrderSn.
  • sort - Any of the listed allowed sort fields. Default -updateTime.
  • page / per_page - Pagination (default per_page = 15).

Response items include:

  • parentAfterSalesStatus (1-11) and parentAfterSalesStatusLabel
  • afterSalesStatusGroups - aggregations (Pending, Requested, Package Shipped, Platform Reviewing, Refunded, Rejected, Cancelled)
  • afterSalesReasonCode (raw integer code from Temu)
  • refundAmount (in cents) and refundAmountDecimal (major units)
  • applyTime, updateTime - ISO timestamps

Request

Responses

Successful response