curl --location -g --request POST '{{ecommercev2_url}}/questions' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"type": "multiChoice",
"order": 2,
"question": {
"en": "What can we improve?",
"ar": "ما الذي يمكننا تحسينه؟"
},
"options": {
"en": [
"Speed",
"Quality",
"Friendliness",
"Other"
],
"ar": [
"السرعة",
"الجودة",
"الود",
"أخرى"
]
},
"branchId": "6829da938bb7462138b25072",
"vendorId": "507f1f77bcf86cd799439012"
}'
{
"id": "6829dbd78bb7462138b250ac",
"type": "multiChoice",
"order": 2,
"question": {
"ar": "ما الذي يمكننا تحسينه؟",
"defaultTranslation": "What can we improve?",
"en": "What can we improve?"
},
"options": {
"ar": [
"السرعة",
"الجودة",
"الود",
"أخرى"
],
"defaultTranslation": [
"Speed",
"Quality",
"Friendliness",
"Other"
],
"en": [
"Speed",
"Quality",
"Friendliness",
"Other"
]
},
"branchId": "6829da938bb7462138b25072",
"createdAt": "2025-05-18T13:08:39.075Z",
"createdBy": "667917cabd1516884a1af8fe",
"updatedAt": "2025-05-18T13:08:39.075Z",
"updatedBy": "667917cabd1516884a1af8fe"
}