- Platform Overview
- Resources and Guides
-
POS Integration
-
Getting Started
-
Core Concepts
-
Integration SDK
-
Certification
-
- Order Ahead
-
Provider Enablement
-
Provider Enablement
-
Endpoints
-
Developer Endpoints
-
-
API Reference
-
Getting Started
-
v15
-
- Access Tokens
- Campaigns
- Credit Cards
- Users
- Credit
- Locations
- Payment Methods
- QR Codes
- Progress Adjustments
- Orders
- Rewards
- Gift Cards
-
-
v14
-
- Credit
- Access Tokens
- Campaigns
- Categories
- Credit Cards
- Interstitials
- Locations
- Loyalty
-
Orders
- List by App
- List By Location
- Create
- Get Merchant Details
- Refund
- Get User Details
- Create Feedback
- Payment Tokens
- Support Tickets
- Users
-
-
Orders .: Create Feedback
API Reference / v14
Create Feedback
This endpoint creates feedback for an order.
Request Endpoint
POST /v14/orders/:uuid/feedback
Authorization Required – User token
Authorization: token 123456-75489120749...
Request Body
{
"feedback": {
"comment": "The service was quick and the restaurant was spotless!",
"question_text": "How was your experience at our restaurant?",
"rating": 4
}
}
Request Parameters
Parameters | Type | Required | Description |
---|---|---|---|
comment |
String | No | The user’s comment in response to the prompt. |
question_text |
String | Yes | The question that the user was asked to consider for the rating and comment. |
rating |
Integer | Yes | The rating that the user provided (must be 1 - 5). |
uuid |
String | Yes | The UUID of the order. |
Example Response Body
HTTP/1.1 200 OK
{
"feedback": {
"id": 111
}
}
Response Parameters
Param | Type | Description |
---|---|---|
id |
Integer | The ID of the feedback created. |
Error Responses
HTTP/1.1 error 404 Not Found
- Order not found.
(No response body)