---
title: "Enable/disable or override markup"
method: PUT
path: "/credits/catalog/{slug}"
tags: ["Catalog"]
---

# Enable/disable or override markup

`PUT /credits/catalog/{slug}`

## Request

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

slug is `provider` (whole provider) or `provider/endpoint` (URL-encoded). Personal accounts must send exactly `{"enabled": boolean}` and receive only endpointSlug plus effective enabled state; markup fields and extra properties are rejected. Enterprise workspaces may update enablement and/or markup. Enablement resolves endpoint override -> provider override -> platform default. Omitting enabled never changes enablement. Sending enabled on a provider slug resets that provider's endpoint-level enablement overrides to inherit while preserving markup overrides.

## Path parameters

- `slug` string, required

## Request body

- union: The authenticated account tier selects the accepted branch.
  - PersonalCatalogMutationRequest
    - `enabled` boolean, required
  - object
    - `enabled` boolean
    - `markupBps` integer
    - `flatMarkupUsdc` string: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.

## Response `200`

Updated configuration

- union
  - PersonalCatalogMutationResponse
    - `success` unknown, required
    - `config` object, required
      - `endpointSlug` string, required
      - `enabled` boolean, required: Effective enablement after this write.
  - object
    - `success` unknown, required
    - `config` object, required
      - `endpointSlug` string, required
      - `enabled` boolean, required: Effective enablement after this write.
      - `enabledOverride` boolean, nullable, required: This row's override; null means inherit.
      - `markupBps` integer, nullable, required
      - `flatMarkupUsdc` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.

---

[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)
