Skip to main content

Bulk Archive Target Plus Orders

POST 

/api/target-plus/:integrationInstance/orders/bulk-archive

Archives the chosen orders. Archived orders are hidden from List Target Plus Orders unless an archived filter is sent; nothing changes on Target or on linked SKU.io sales orders.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body: mode (optional, selected (default) or all), ids (array of order IDs, required unless mode is all, max 5000), filters (optional object, used when mode is all: the same filter keys List Target Plus Orders accepts, without the filter[...] wrapper, e.g. {"needs_action": "unmapped_product"}). IDs that belong to another integration are ignored. Archived orders are excluded from mode: all unless filters includes an archived filter.

Request​

Responses​

OK

Response Headers
    Content-Type