Skip to main content

Bulk Unarchive Target Plus Orders

POST 

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

Restores archived orders to the active list.

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. To target archived orders with mode: all, include an archived filter, e.g. {"archived.is": true}.

Request​

Responses​

OK

Response Headers
    Content-Type