Change customer_id
Update customer_id for an customer
warning: Any external resources “owned” by the user, i.e
receipts, discounts etc. will not be updated with the new
customer_id.
A new metadata property dintero_change_customer_id_{timestamp}.{hash}
will be added everytime the customer_id is changed
Following data will be included in the metadata property
- created_at
- created_by
- old
- new scopes:
- admin:customers
- admin:accounts
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
where the access_token is JSON Web Tokens (JWT).
Path Parameters
Body
Customer update
Response
Customer updated
Describe type of a user.
companyproperty is required when using the typecompanycompanyproperty is only supported for users with typeotherorcompany- Creating or updating user with type
employeeorotherrequiresadmin:customersorwrite:customersscope. - User login is only available for users with type
customerorcompany
customer, company, contact, employee, other A set of key/value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format. You can unset an individual key by setting its value to null and then saving. To clear all keys, set metadata to null
customer email,
case insensitive duplication control prevents
multiple user with same type to have equal email
customer@example.com is equal to CUStOMer@EXAMPLE.com
"customer@example.com"