/customer/feedback/update
Update feedback record.
Parameters
| Name |
Type |
Required |
Example |
Description |
| clientId |
string(40) |
yes |
04f78...9f9f3 |
Client id is a unique user identifier provided by GatherUp. |
| customerCustomId |
string |
no |
123 |
Customer custom id. |
| customerId |
integer |
yes |
1 |
Customer id. |
| customerJobId |
string |
no |
123 |
Customer job id. |
| hash |
string(64) |
yes |
bd13a40...303f3c5 |
Hash is a digital request signature. Learn how to generate hash here. |
Request
POST https://app.gatherup.com/api/customer/feedback/update
[Content-Type: application/json]
{
"customerId": 1,
"clientId": "04f78076fbfc66940169d2199af7c6698019f9f3",
"customerJobId": "1234",
"hash": "67fbca027648a3caf08e47ca685d772aa2d92fb526b8b6e91d74286301c99988",
}
Response
{
"errorCode": 0,
"errorMessage": "Success"
}
Errors
| errorCode |
errorMessage |
| -1 |
Unknown error |
| 1 |
Invalid hash sign |
| 2 |
Invalid clientId |
| 3 |
Server error - please contact support |
| 5 |
This user cannot manage selected business |
| 6 |
Invalid businessId |
| 44 |
Customer not found |
| 47 |
You can not update feedback history record |
| 48 |
Customer with this email already exists |