CustomersCustomer
Update customer
Updates the signed-in customer's name, phone, identification and consents; responds 204.
Header Parameters
x-Store-Domain*string
Slug of the store or one of its configured domains, such as my-store.
Length
1 <= length <= 253X-Customer-Session?string
Customer session from POST /v1/customer/sessions. Send it instead of Authorization, never both.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://storefront.ecomiq.pe/v1/customer" \ -H "Authorization: Bearer <token>" \ -H "x-Store-Domain: my-store" \ -H "X-Customer-Session: <session-id>" \ -H "Content-Type: application/json" \ -d '{ "firstName": "Andrea", "lastName": "Ramos", "phone": "+51987654321", "identificationNumber": "45678912", "identificationType": "DNI", "entityName": "Comercial Lima SAC", "entityIdentificationNumber": "45678912", "gender": "male" }'Empty