Delete Integration Instance
DELETE/api/integration-instances/:integration_instance
Queue deletion of an integration instance. The actual deletion is handled asynchronously via the salesOrderProcessing queue.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
For a sales-channel connection, every SKU.io sales order on its channel is kept as a manual order (local channel, no channel link) with its invoices, stock, shipments and accounting unchanged; an order number a manual order already uses gets a channel suffix.
Closed periods: the delete is refused with 422 IntegrationInstanceDeletionBlocked when it would remove any accounting record dated on or before the accounting lock date (journal entries built from the connection's payouts or settlements, and for Amazon the FBA warehouses' inventory movements, FIFO layers and FBA-fulfilled orders). Nothing is removed. data.deletion_impact lists what blocked it. Pause the connection's sync instead, or lower the hard close date first. Call Get Integration Instance Deletion Impact to check beforehand.
Authentication: Requires Bearer token + Power User access.
Requires permission: integrations.delete
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.