Billing

Create a new or update a customer override

The customer override can be used to pin a given customer to a billing profile different from the default one.

This can be used to test the effect of different billing profiles before making them the default ones or have different workflow settings for example for enterprise customers.

put/api/v1/billing/customers/{customerId}

Request

  • Base URL
    https://openmeter.cloud (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in cookie __session

Path parameters

customerIdstring required
Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

billingProfileIdstring

The billing profile this override is associated with.

If not provided, the default billing profile is chosen if available.

Example request

{
  "billingProfileId": "01G65Z755AFWAKHE12NY0CQ9FH"
}

Response

The request has succeeded.

baseBillingProfileIdstring required

The billing profile the customerProfile is associated with at the time of query.

customerOverride contains the explicit mapping set in the customer override object. If that is empty, then the baseBillingProfileId is the default profile.

Changes

No recorded changes to this operation across all 2 revisions of this API.