/customer/get


Get customer details.


Parameters

Name Type Required Example Description
clientId string(40) yes 04f78...9f9f3 Client id is a unique user identifier provided by GatherUp.
customerId integer yes 1 Customer id.
hash string(64) yes bd13a40...303f3c5 Hash is a digital request signature. Learn how to generate hash here.

Request

{
    "clientId": "04f78076fbfc66940169d2199af7c6698019f9f3",
    "customerId": "1",
    "hash": "67fbca027648a3caf08e47ca685d772aa2d92fb526b8b6e91d74286301c99988",
}

Response

{
    "businessId": 1,
    "firstName": "John",
    "lastName": "Smith",
    "email": "john.smith@abc-company.com",
    "phone": "",
    "jobId": "",
    "customId": "",
    "rating": "5.00",
    "statusInfo": "Rating received",
    "unsubscribed": "0",
    "createdAt": "2014-12-25T08:05:08+00:00",
    "errorCode": 0,
    "errorMessage": "Success",
}

Errors

errorCode errorMessage
-1 Unknown error
1 Invalid hash sign
2 Invalid clientId
3 Server error - please contact support
44 Customer not found