Create Web FeedBack
POST
{{web_ecommercev2_url}}/feedbacks
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST '{{web_ecommercev2_url}}/feedbacks' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"phone": "+1234567890",
"clientName": "John Doe",
"email": "john.doe@example.com",
"birthday": "1990-01-01",
"waiterId": "6829da938bb7462138b25072",
"branchId": "6829da938bb7462138b25072",
"vendorId": "667917cabd1516884a1af8fe",
"points": 4.5,
"answers": [
"Excellent service",
"Very satisfied"
],
"notes": "The waiter was very attentive.",
"waiterRate": 5
}'
Response Response Example
{"phone":"+1234567890","clientName":"John Doe","email":"john.doe@example.com","birthday":"1990-01-01","waiterId":"6829da938bb7462138b25072","branchId":"6829da938bb7462138b25072","vendorId":"667917cabd1516884a1af8fe","points":4.5,"answers":["Excellent service","Very satisfied"],"notes":"The waiter was very attentive.","waiterRate":5,"id":"682ae879f829c41153b13ebf","createdAt":"2025-05-19T08:14:49.1Z","createdBy":"667917cabd1516884a1af8fe","updatedAt":"2025-05-19T08:14:49.1Z","updatedBy":"667917cabd1516884a1af8fe"}
Request
Header Params
x-access-token
string
optional
Example:
{{admin-token}}
x-client
string
optional
Example:
{{client}}
accept-language
string
optional
Example:
{{acceptLanguage}}
Body Params application/json
Responses
Modified at 2025-05-19 08:31:03