Billing
Replace customer
Updates a customer. When the country has tax regulation, tax_id is read-only.
put/customers/{id}/
Request
- Base URLhttps://api.piriod.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Updated customer.
Example response
{
"id": "cus_01H8XYZ123ABC",
"country": {
"id": "CL",
"name": "Chile",
"code": "+56",
"currencies": [
"CLP"
]
},
"state": {
"country": "CL"
},
"currency": "CLP",
"contacts": [
{
"id": "con_01H8XYZ123ABC"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.