/customer/reply


Create a new respond to customer.


Parameters

Name Type Required Example Description
clientId string(40) yes 04f78...9f9f3 Client id is a unique user identifier provided by GatherUp.
hash string(64) yes bd13a40...303f3c5 Hash is a digital request signature. Learn how to generate hash here.
customerId integer yes 1 Customer id.
content string yes Thank you very much! The content of the comment.
title string no Hello there! Your title.
visibility integer(0,1) no 0 (default) The visibility the response. Is response public? (1 - yes, 0 - no)
respondAsBusinessOwner integer(0,1) no 1 (default) Respond as business owner (otherwise response will be from logged in user, 1 - yes, 0 - no)

Request

{
    "clientId": "04f78076fbfc66940169d2199af7c6698019f9f3",
    "customerId": "2458",
    "hash": "67fbca027648a3caf08e47ca685d772aa2d92fb526b8b6e91d74286301c99988",
    "content": 'Thanks!',
    "title": 'Manager',
    "visibility": 1,
    "respondAsBusinessOwner": 1
}

Response

{
    "errorCode": 0,
    "errorMessage": "Success",
    "customerId": 24269864
}

Errors

errorCode errorMessage
-1 Unknown error
1 Invalid hash sign
2 Invalid clientId
3 Server error - please contact support
67 Required fields are empty
68 Customer does not exist
69 You don't have permission
70 You don't have permission to manage the selected customer
71 The customer has not received feedback
72 Feedback Response has been duplicated