OpenMeter Customers

Update customer billing profile

Changed on

Set the customer's explicit billing profile selection. Omitting billing_profile or setting it to null removes the selection and uses the current namespace default.

put/openmeter/customers/{customerId}/billing/profile

Request

  • Base URL
    http://localhost:8888/api/v3
  • Auth
    none declared

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

Example request

{
  "billing_profile": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  }
}

Response

CustomerBillingProfile upsert response.

Example response

{
  "billing_profile": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "effective_billing_profile": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  }
}

Changes