Skip to main content

Delete SKU Order

DELETE 

/api/temu/:integrationInstance/orders/:order/sku-order

Delete the linked SKU sales order while keeping the Temu order intact.

Use this when the SKU order was created in error or needs to be regenerated. The Temu order itself is preserved so the next sync (or manual Create SKU Order) can recreate the linked SKU order. If archive_order=true, the Temu order is also archived to prevent it from being recreated on the next automatic sync.

Path Parameters:

  • integrationInstance - The Temu integration instance ID
  • order - The Temu order ID (local TemuOrder.id)

Query Parameters:

  • archive_order (boolean, optional, default false) - Also archive the Temu order after deleting the SKU order

Authentication: Bearer token required

Response 200 - Success:

{
"message": "SKU order deleted successfully",
"archived_order": false
}

Response 404 - No SKU order linked:

{
"error": "No SKU order linked to this Temu order"
}

Response 403 - Order belongs to a different integration instance:

{
"error": "Order does not belong to this integration instance"
}

Request

Responses

OK

Response Headers
    Content-Type