Skip to main content

Bulk Delete Linked SKU Orders

POST 

/api/tiktok-shop/integration-instances/:integration_instance_id/orders/bulk-delete-sku-orders

Bulk-delete the SKU sales orders linked to the given TikTok Shop orders. The TikTok Shop orders themselves are kept intact unless archive_tiktok_shop_orders=true is passed. Pass either an explicit ids array, or apply_to_all: true with the current filters object. Returns the deleted count. TODO: For large batches a tracked job should be dispatched (currently runs synchronously, mirroring Shopify's a background job).

Authorization

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

Request

Responses

OK

Response Headers
    Content-Type