Cuisines
Example API Request:
URL: https://www.api.123demo.co.in/api/restaurant_cuisines
Method: POST
Request Parameters:
| Object |
Description |
device_token |
[Required] (Get during app installation) |
app_api_key |
[Required] (Get during app installation) |
token |
[Required] Bearer Token (Get during app login) |
restaurant_id |
[Required] |
output |
JSON formats. |
Response Body: Suceess
{
"success": true,
"data": [
{
"id": 8,
"business_id": 1,
"restaurant_id": 40,
"cuisine_type_id": 49,
"cuisine_type_header": "Indian Cuisine",
"description": null,
"status": 1,
"created_at": "2022-02-11 16:04:58",
"updated_at": null
},
{
"id": 9,
"business_id": 1,
"restaurant_id": 40,
"cuisine_type_id": 50,
"cuisine_type_header": "Indian Chinese",
"description": null,
"status": 1,
"created_at": "2022-02-11 16:05:04",
"updated_at": null
},
{
"id": 10,
"business_id": 1,
"restaurant_id": 40,
"cuisine_type_id": 51,
"cuisine_type_header": "Indian Singaporean Cuisine",
"description": null,
"status": 1,
"created_at": "2022-02-11 16:05:10",
"updated_at": null
},
{
"id": 11,
"business_id": 1,
"restaurant_id": 40,
"cuisine_type_id": 106,
"cuisine_type_header": "South Indian",
"description": null,
"status": 1,
"created_at": "2022-02-11 16:05:14",
"updated_at": null
}
],
"message": "Get fetched restaurant cuisines."
}
Response Body: Failure
{
"success": false,
"message": "Unauthorized",
"data": "Unauthorized"
}