> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Integration Bulk Sync

> Turn an integration's bulk imports and backfills on or off

Turn a supported payment integration's bulk imports and backfills on or off.

Disabling keeps the connection, stored credentials, and live webhook delivery active. Re-enabling does not require another OAuth round trip.

<Note>
  This does not disconnect the integration. Connecting and disconnecting stay in
  the dashboard, because both handle stored credentials and run
  provider-specific cleanup such as revoking OAuth grants and removing webhooks.
</Note>

Requires an API key with the `integrations:manage` scope.

The provider catalog's `actions` field identifies integrations that expose
`enable_sync` and `disable_sync`. A sync already in progress must finish before
the integration can be disabled.

## Request

<ParamField path="id" type="string" required>
  Integration ID, from [List Integrations](/api-reference/integrations/list).
</ParamField>

<ParamField body="syncEnabled" type="boolean" required>
  `true` to enable sync, `false` to pause it.
</ParamField>

```bash theme={null}
curl -X PATCH "https://api.sequenzy.com/api/v1/integrations/int_abc123" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"syncEnabled": false}'
```

## Response fields

<ResponseField name="changed" type="boolean">
  `false` when the integration was already in the requested state. Setting the
  current state is not an error, so a retry is safe.
</ResponseField>

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "integrationId": "int_abc123",
    "provider": "stripe",
    "syncEnabled": false,
    "changed": true,
    "message": "Sync disabled for Stripe."
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": "This integration is disconnected. Reconnect it from Settings -> Integrations in the dashboard before changing sync."
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 403 theme={null}
  {
    "success": false,
    "error": "API key is missing required scope: integrations:manage"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Integration not found"
  }
  ```

  ```json 409 theme={null}
  {
    "error": "A sync is already in progress for this integration. Wait for it to finish before disabling bulk sync."
  }
  ```
</ResponseExample>
