Referencia de API
Obtener cliente
GET
/v1/customerAutorización
bearerAuth AutorizaciónBearer <token>
Token de acceso OAuth 2.0 emitido por Ecomiq Auth.
Ubicación: header
Cuerpo de la respuesta
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/customer"{ "id": "string", "storeId": "string", "email": null, "firstName": null, "lastName": null, "phone": null, "identificationNumber": null, "identificationType": null, "entityName": null, "dateOfBirth": null, "gender": "male", "countryIsoCode": null, "role": null, "companyName": null, "consent": true, "userId": null, "customerType": "individual", "status": "active", "isVerified": true, "entityIdentificationNumber": null, "defaultAddressId": null, "metadata": null, "totalOrders": 0, "avgOrders": 0.1, "lastOrderId": null, "lastOrderDate": null, "loyaltyPoints": 0, "addresses": [ { "id": "string", "addressKey": "string", "department": null, "addressNumber": null, "province": null, "district": null, "phone": null, "cellPhone": null, "addressLine": "string", "reference": null, "countryIsoCode": "string", "postalCode": null, "latitude": null, "longitude": null, "hasCoordinates": true, "isDefault": true } ], "createdOn": "2019-08-24T14:15:22Z", "updatedOn": null}