OpenMeter Customers
Upsert customer
put/openmeter/customers/{customerId}
Path parameters
customerIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"labels": {
"env": "test"
},
"currency": "USD",
"billing_address": {
"country": "US"
}
}Response
Customer upsert response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"key": "019ae40f-4258-7f15-9491-842f42a7d6ac",
"currency": "USD",
"billing_address": {
"country": "US"
}
}