---
title: "Enable or disable a bounded provider batch"
method: PUT
path: "/credits/catalog/bulk"
tags: ["Catalog"]
---

# Enable or disable a bounded provider batch

`PUT /credits/catalog/bulk`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/catalog/bulk`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Creates or updates up to 50 provider-level enablement rows in one transaction, and resets those providers' endpoint-level enablement overrides to inherit so the value you send is the whole answer for every endpoint of every named provider. Endpoint-level MARKUP overrides are preserved. Clients split larger selections into bounded batches so edge inspection cannot reject an oversized request. Batches commit independently: a failure after an earlier batch committed leaves that batch applied.

## Request body

- object
  - `providers` string[], required: Known provider slugs. Unknown providers reject the whole batch transaction.
  - `enabled` boolean, required

## Response `200`

Provider rows updated

- object
  - `success` unknown, required
  - `scope` 'bulk', required
  - `enabled` boolean, required
  - `updated` integer, required
  - `endpointOverridesCleared` integer, required: Endpoint-level enablement overrides reset to inherit by this batch.

## Other responses

- `400`: Empty/oversized provider list or invalid enabled value
- `404`: At least one provider slug is unknown; no rows are updated

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
