Skip to content

Customer/:phone

Request

Obtén los datos de un cliente en especifico buscado por phone

Security
api-key
curl -i -X GET \
  https://app.mercately.com/retailers/api/v1/customers/:phone \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
messagestring
Example:"Customer found successfully"
customerobject(Customer)
Response
{ "message": "Customer found successfully", "customer": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "phone": "string", "id_type": "cedula", "id_number": "string", "address": "string", "city": "string", "state": "string", "zip_code": "string", "country_id": "string", "notes": "string", "whatsapp_opt_in": true, "whatsapp_name": "string", "customer_addresses": [ … ], "tags": [ … ], "custom_fields": [ … ], "agent": { … }, "outbound_status": "error", "campaign_id": 0, "error_message": "string", "campaign_url": "string", "creation_date": "2019-08-24T14:15:22Z", "sent_at": "2019-08-24T14:15:22Z", "delivered_at": "2019-08-24T14:15:22Z", "read_at": "2019-08-24T14:15:22Z", "last_chat_interaction": "2019-08-24T14:15:22Z" } }