Feedbacks
Respond to Feedback
POST
This endpoint allows a merchant or partner to programmatically respond to a
customer’s feedback with a text-based response. This will trigger a message to
the Thanx customer on behalf of the merchant. Only a single merchant response
is allowed for a given feedback record.
Scope required:
feedbacks.writeParameters
string
required
Feedback ID
Parameters
string
required
Merchant’s response to the user’s feedback
Response
string
The ID of the feedback record
string
The user ID
string
The merchant ID
string
Location ID
enum
The state of the feedback record
unviewed- User has an opportunity to leave feedback for a purchase they have made, but has not been displayed the feedback prompt yet.viewed- User viewed the opportunity to leave feedback, but they have not left a NPS or review yet.expired- User did not leave a NPS or review before the feedback expiredrated- User has left a net promoter scorereviewed- User has left a reviewresponded- Merchant has responded to the user's feedback
string
The feedback expiration time in ISO8601-format. Users cannot submit a rating
or review for the associated purchase after this time has elapsed.
string
The ISO8601 timestamp of the purchase the feedback was associated with.
string
The ISO8601 timestamp the feedback was viewed by the consumer
string
The ISO8601 timestamp the feedback was rated by the consumer
string
The ISO8601 timestamp the feedback was reviewed by the consumer
string
The ISO8601 timestamp the feedback was responded to by the merchant
integer
NPS score (null or 1-10)
string
Customer feedback
string
Merchant response
hash
The associated purchase record