- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Fetch merchant items list.
Response Format
- item_list: List of items
- customization: customizations of each item where key is restaurant_item_id in item_list
Request
HEADERS
Content-Type:application/json
x-asap-key:<x-asap-key>
x-asap-id:<x-asap-id>
x-api-key:<x-api-key>
BODY
{}
Response
HEADERS
Content-Type:application/json
BODY
{
"flag": "SUCCESS",
"message": "Response has been sent successfully",
"item_list": [{
"restaurant_item_id": 1341,
"item_name": "Item name",
"item_details": "Item description",
"item_image": "https://itemimage.com/image.jpg",
"category_name": "Category name",
"sub_category_name": "Sub Category name",
"is_veg": "NONE",
"price": "423.23",
"old_price": "423.23",
"is_active": "ACTIVE",
"offer_text": "Trending",
"external_item_id": "12345567"
},
{
"restaurant_item_id": 1344,
"item_name": "Item name 2",
"item_details": "Item description 2",
"item_image": "https://itemimage.com/image2.jpg",
"category_name": "Category name",
"sub_category_name": "Sub Category name",,
"is_veg": "NON_VEG",
"price": "456.69",
"old_price": "360.34",
"is_active": "DISABLED",
"offer_text": "",
"external_item_id": "12345"
}],
"customizations": {
"1341": [{
"name": "Customization name",
"customize_id": "3453",
"customize_item_limit": 0,
"customize_item_lower_limit": 0,
"is_check_box": 1,
"is_active": 1,
"options": [{
"customize_option": "Customization Option Name",
"price": 10,
"is_active": "ACTIVE
},
{
"customize_option": "Customization Option Name 2",
"price": 0,
"is_active": "ACTIVE"
}]
}]
}
}