Customers
Update customer
You can update customer-related data
put/customers/{id}
Path parameters
idstring required
Example:6307a60c41de27127515a575
Identifier of the resource
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"antifraud_info": {
"account_created_at": 1484040996,
"first_paid_at": 1485151007
},
"date_of_birth": "24/07/1992",
"default_payment_source_id": "src_1a2b3c4d5e6f7g8h",
"email": "miguel@gmail.com",
"name": "miguel",
"phone": "+5215555555555",
"plan_id": "plan_987234823",
"default_shipping_contact_id": "ship_cont_1a2b3c4d5e6f7g8h",
"fiscal_entities": [
{
"address": {
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX",
"residential": true
},
"company_name": "conekta"
}
],
"national_id": "HEGG560427MVZRRL04",
"payment_sources": [
{
"type": "card | cash | spei | bnpl | pay_by_bank",
"token_id": "tok_32hj4g234as"
}
],
"shipping_contacts": [
{
"phone": "+525511223344",
"receiver": "Marvin Fuller",
"between_streets": "Ackerman Crescent",
"address": {
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX",
"residential": true
}
}
],
"subscription": {
"plan_id": "f84gdgf5g48r15fd21g8w424fd1",
"card_id": "src_2qUCNd5AyQqfPMBuV",
"trial_end": 1484040996
}
}Response
successful operation