/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

{
    "errorCode": 0,
    "errorMessage": "Success",
    "businessId": 1,
    "customerEmail": "john.smith@abc-company.com",
    "customerFirstName": "John",
    "customerLastName": "Smith",
    "customerPhone": "",
    "jobId": "",
    "customId": "",
    "rating": "5.00",
    "statusInfo": "Rating received"
}

Errors

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