Customers
Update customer
Update a customer by ID.
put/api/v1/customers/{customerIdOrKey}
Request
- Base URLhttps://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
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"billingAddress": {
"country": "US"
},
"currency": "USD",
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
}
}Response
The request has succeeded.
Example response
{
"createdAt": "2024-01-01T01:01:01.001Z",
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"name": "ACME Inc.",
"updatedAt": "2024-01-01T01:01:01.001Z",
"usageAttribution": {
"subjectKeys": [
"my_subject_key"
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.