---
title: "Set the workspace default markup"
method: PUT
path: "/credits/catalog"
tags: ["Catalog"]
---

# Set the workspace default markup

`PUT /credits/catalog`

## Request

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

Sets the tenant-wide default percentage and flat markup applied to every endpoint that has no provider or endpoint override. This is the base of the three-level precedence endpoint over provider over global that GET /credits/pricing/explain reports as markupSource. Send either field alone to change just that one; null restores the platform default.

## Request body

- object
  - `markupBps` integer, nullable: Percentage markup in basis points, capped by the workspace markup ceiling. null restores the default.
  - `flatMarkupUsdc` string: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.

## Response `200`

New workspace defaults

- object
  - `success` unknown, required
  - `scope` 'global', required
  - `tenant` object, required
    - `defaultMarkupBps` integer, required
    - `defaultFlatMarkupUsd` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.
    - `creditsPerDollar` integer, required

## Other responses

- `400`: Unknown field, no field supplied, or a markup above the workspace ceiling.
- `403`: The authenticated management credential lacks one or more required scopes

---

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