Skip to main content

Bulk Delete Etsy Orders

POST 

/api/etsy/instances/:integrationInstance/orders/bulk-delete

Deletes the selected mirrored Etsy orders and their linked SKU.io sales orders. Orders still inside the import window are re-imported on the next sync. processed is the number of Etsy orders deleted.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request body:

  • selection (object, required)
    • type (string, required) — selected (act on ids) or filtered (act on every order matching filters).
    • ids (array of integers, required when type is selected) — SKU.io order IDs (the id field). IDs that belong to another instance are ignored.
    • filters (object, optional) — Same filter keys as List Etsy Orders without the filter[...] wrapper, e.g. {"status": "paid", "has_sku_order": "false"}. Archived orders are excluded unless an archived filter is sent.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type