Customers
Update customer
Update a customer by ID.
put/api/v1/customers/{customerIdOrKey}
Path parameters
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"currency": "USD",
"billingAddress": {
"country": "US"
}
}Response
The request has succeeded.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"name": "ACME Inc.",
"usageAttribution": {
"subjectKeys": [
"my_subject_key"
]
},
"createdAt": "2024-01-01T01:01:01.001Z",
"updatedAt": "2024-01-01T01:01:01.001Z"
}