Skip to main content
PATCH
Updates an existing customer. Use this to change budgets or contact info.

Authentication

Public API: use an API key.
  • Authorization: Bearer YOUR_API_KEY (public API)

Path params

string
required
Your unique identifier for this customer.

POST params

You can add these params to the body:
string
Customer email address.
string
Customer display name.
object
Custom metadata associated with this customer (optional).
number
Budget for the current period in USD. Set to null to remove the budget limit.
string
Budget renewal period. Options: daily, weekly, monthly.
number
Total all-time budget limit across all periods (optional).
number
Markup percentage applied to this customer’s usage (optional).

Request example

Response

Returns the updated customer object (same structure as the GET detail endpoint).
To remove a budget limit, set period_budget to null.