Customers
Update customer details
Update the details of a customer and link payment instruments to them.
patch/customers/{identifier}
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesvault, vault:customers
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
identifierstring required
The customer's ID
Request body
Example request
{
"email": "brucewayne@gmail.com",
"name": "Bruce Wayne",
"phone": {
"country_code": "+1",
"number": "415 555 2671"
},
"metadata": {
"coupon_code": "NY2018",
"partner_id": 123989
},
"default": "src_wmlfc3zyhqzehihu7giusaaawu"
}Response
Customer updated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.