Customers API
Update customer
Update an existing customer.
For an in-depth explanation of each parameter, refer to the Create customer endpoint.
🔑 Access with
API key
Advanced access token with customers.write
OAuth access with customers.write
patch/customers/{customerId}
Request
- Base URLhttps://api.mollie.com/v2
- URLhttps://api.mollie.com/v2/customers/{customerId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: customers.write
Request body
Example request
{
"id": "cst_5B8cwPMGnU",
"mode": "live",
"name": "John Doe",
"email": "example@email.com",
"locale": "en_US",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"dashboard": {
"href": "https://...",
"type": "application/hal+json"
},
"payments": {
"href": "https://...",
"type": "application/hal+json"
},
"mandates": {
"href": "https://...",
"type": "application/hal+json"
},
"subscriptions": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Response
The updated customer object.
Example response
{
"id": "cst_5B8cwPMGnU",
"mode": "live",
"name": "John Doe",
"email": "example@email.com",
"locale": "en_US",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"dashboard": {
"href": "https://...",
"type": "application/hal+json"
},
"payments": {
"href": "https://...",
"type": "application/hal+json"
},
"mandates": {
"href": "https://...",
"type": "application/hal+json"
},
"subscriptions": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.