Feedbacks
Get Feedbacks
GET

/feedbacks

Bearer*
curl --request GET \
  --url https://api.thanx.com/feedbacks \
  --header 'Authorization: Bearer <token>'

Response

id
string

The ID of the tier status record

user_id
string

The user ID

merchant_id
string

The merchant ID

location_id
string

Location ID

expires_at
string

Time the feedback expires in ISO8601-format

rating
integer

NPS score (null or 1-10)

review
string

Customer feedback

purchase
hash

The associated purchase record

{
  "feedbacks": [
    {
      "id": "590485d6f0",
      "user_id": "fsjlk",
      "merchant_id": "woeri34",
      "location_id": "fgr2349gh",
      "expires_at": "2020-01-07T20:00:00Z",
      "rating": null,
      "review": null,
      "purchase": {
        "id": "916895d48a",
        "purchased_at": "2020-01-01T20:00:00Z",
        "amount": 16.0,
        "order": {
          "id": "aepo3cme2p",
          "provider": "OpenTender"
        }
      }
    }
  ]
}