Get Web Questions with Pagination
GET
{{web_ecommercev2_url}}/questions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{web_ecommercev2_url}}/questions?skip=0&limit=10&query=' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'x-access-token;'
Response Response Example
{
"data": [
{
"id": "6829db8b8bb7462138b2509c",
"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:07:23.015Z",
"createdBy": "667917cabd1516884a1af8fe",
"updatedAt": "2025-05-18T13:07:23.015Z",
"updatedBy": "667917cabd1516884a1af8fe"
},
{
"id": "6829db738bb7462138b25098",
"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:06:59.849Z",
"createdBy": "667917cabd1516884a1af8fe",
"updatedAt": "2025-05-18T13:06:59.849Z",
"updatedBy": "667917cabd1516884a1af8fe"
},
{
"id": "68299bf478b091b89b248260",
"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"
]
},
"vendorId": "507f1f77bcf86cd799439012",
"branchId": "507f1f77bcf86cd799439011",
"createdAt": "2025-05-18T08:36:04.656Z",
"createdBy": "667917cabd1516884a1af8fe",
"updatedAt": "2025-05-18T08:36:04.656Z",
"updatedBy": "667917cabd1516884a1af8fe"
},
{
"id": "68298a8d4f0c77d4607b5704",
"type": "rate",
"order": 1,
"question": {
"ar": "ما مدى رضاك عن خدمتنا؟",
"defaultTranslation": "How satisfied are you with our service?",
"en": "How satisfied are you with our service?"
},
"options": {
"ar": [
"راضٍ جدًا",
"راضٍ",
"محايد",
"غير راضٍ",
"غير راضٍ جدًا"
],
"defaultTranslation": [
"Very Satisfied",
"Satisfied",
"Neutral",
"Dissatisfied",
"Very Dissatisfied"
],
"en": [
"Very Satisfied",
"Satisfied",
"Neutral",
"Dissatisfied",
"Very Dissatisfied"
]
},
"vendorId": "507f1f77bcf86cd799439012",
"branchId": "507f1f77bcf86cd799439011",
"createdAt": "2025-05-18T07:21:49.303Z",
"createdBy": "667917cabd1516884a1af8fe",
"updatedAt": "2025-05-18T07:21:49.303Z",
"updatedBy": "667917cabd1516884a1af8fe"
}
],
"pagination": {
"totalPages": 1,
"perPage": 40,
"totalCount": 4
}
}
Request
Query Params
skip
string
required
Example:
0
limit
string
required
Example:
10
query
string
required
Header Params
x-access-token
string
optional
Example:
{{admin-token}}
x-client
string
optional
Example:
{{client}}
accept-language
string
optional
Example:
{{acceptLanguage}}
Responses
Modified at 2025-05-18 13:43:33