Skip to main content

Bulk Delete SKU.io Sales Orders for Etsy Orders

POST 

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

Deletes the SKU.io sales orders linked to the selected Etsy orders, keeping the Etsy orders. processed is the number of sales 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