Through this endpoint, we support you to get data on browse menu from your ecommerce website. The response includes data on parent and child menu items.
Path:
GET /menu
x-site-context: {date, channel, account, stage}
application/json
application/json
https://{baseurl}/menu
Response Code: 200
Message: OK
Description: You will see this message when the details are successfully retrieved.
Sample
{"status_code": 200,"status": "List of menus","data": {"menus": [{"_id": "5ed116e888926600073d115d","channel": [12],"path": "javascript:void(0)","isActive": true,"name": "ADULTS","label": "ADULTS","order": 1,"images": [],"videos": [],"params": [{"_id": "5ed4a8b9df194a000847424f","kind": "","value": ""}],"createdAt": "2020-05-29T14:06:32.417Z","updatedAt": "2020-08-20T16:56:36.756Z","__v": 0,"children": [{"_id": "5ef5804d7263400007059504","channel": [12],"path": "/","isActive": true,"name": "Test PROGRAM","label": "Test PROGRAM","parent": "5ed116e888926600073d115d","order": 1,"images": [],"videos": [],"params": [],"createdAt": "2020-06-26T04:57:49.961Z","updatedAt": "2020-07-15T11:27:15.598Z","__v": 0},{"_id": "5ef580a67263400007059506","channel": [12],"path": "/","isActive": true,"name": "CREATE YOUR OWN PROGRAM","label": "CREATE YOUR OWN PROGRAM","parent": "5ed116e888926600073d115d","order": 2,"images": [],"videos": [],"params": [],"createdAt": "2020-06-26T04:59:18.302Z","updatedAt": "2020-07-15T11:27:15.616Z","__v": 0},{"_id": "5ef58184726340000705950b","channel": [12],"path": "/","isActive": true,"name": "PREBIOTIC","label": "PREBIOTIC","parent": "5ed116e888926600073d115d","order": 3,"images": [],"videos": [],"params": [],"createdAt": "2020-06-26T05:03:00.703Z","updatedAt": "2020-07-15T11:27:15.622Z","__v": 0}]},{"_id": "5ed1173688926600073d1163","channel": [12],"path": "/collections/testpro-prebiotic-probiotics-for-baby-and-kids","isActive": true,"name": "KIDS","label": "KIDS","order": 2,"images": [],"videos": [],"params": [{"_id": "5ed4a911df194a0008474251","kind": "","value": ""}],"createdAt": "2020-05-29T14:07:50.997Z","updatedAt": "2020-08-20T16:56:36.768Z","__v": 0,"children": [{"_id": "5ef581cf726340000705950d","channel": [12],"path": "/collections/testpro-prebiotic-probiotics-for-baby-and-kids","isActive": true,"name": "PREBIOTIC & PROBIOTIC","label": "PREBIOTIC & PROBIOTIC","parent": "5ed1173688926600073d1163","order": 1,"images": [],"videos": [],"params": [{"_id": "5ef581dfb23cd100088cf4ec","kind": "","value": ""}],"createdAt": "2020-06-26T05:04:15.057Z","updatedAt": "2020-06-26T05:06:54.561Z","__v": 0},{"_id": "5ef5822c7263400007059510","channel": [12],"path": "/pages/testpro-product-ingredients","isActive": true,"name": "Ingredient Info","label": "Ingredient Info","parent": "5ed1173688926600073d1163","order": 2,"images": [],"videos": [],"params": [{"_id": "5ef58235b23cd100088cf4ef","kind": "","value": ""}],"createdAt": "2020-06-26T05:05:48.198Z","updatedAt": "2020-06-26T05:06:57.533Z","__v": 0},{"_id": "5ef5824d7263400007059511","channel": [12],"path": "/","isActive": true,"name": "FAQs","label": "FAQs","parent": "5ed1173688926600073d1163","order": 3,"images": [],"videos": [],"params": [],"createdAt": "2020-06-26T05:06:21.026Z","updatedAt": "2020-06-26T05:06:59.954Z","__v": 0},{"_id": "5ef5825d7263400007059512","channel": [12],"path": "/pages/why-testpro-baby-kids-probiotics","isActive": true,"name": "Why Testpro","label": "Why Testpro","parent": "5ed1173688926600073d1163","order": 4,"images": [],"videos": [],"params": [{"_id": "5ef5826ab23cd100088cf4f0","kind": "","value": ""}],"createdAt": "2020-06-26T05:06:37.304Z","updatedAt": "2020-06-26T05:07:03.119Z","__v": 0}]},{"_id": "5ed1187988926600073d1166","channel": [12],"path": "javascript:void(0)","isActive": true,"name": "LEARN","label": "LEARN","order": 3,"images": [],"videos": [],"params": [{"_id": "5ed4a8f6df194a0008474250","kind": "","value": ""}],"createdAt": "2020-05-29T14:13:13.002Z","updatedAt": "2020-08-20T16:56:36.781Z","__v": 0,"children": [{"_id": "5ed118c188926600073d1169","channel": [12],"path": "/pages/gut-guide","isActive": true,"name": "GUT GUIDE","label": "GUT GUIDE","parent": "5ed1187988926600073d1166","order": 3,"images": [],"videos": [],"params": [{"_id": "5ed4aaa6df194a000847425c","kind": "","value": ""}],"createdAt": "2020-05-29T14:14:25.857Z","updatedAt": "2020-08-19T14:29:31.550Z","__v": 0},{"_id": "5ef583457263400007059516","channel": [12],"path": "/pages/about-us","isActive": true,"name": "Our Story","label": "Our Story","parent": "5ed1187988926600073d1166","order": 2,"images": [],"videos": [],"params": [{"_id": "5ef5834cb23cd100088cf4f6","kind": "","value": ""}],"createdAt": "2020-06-26T05:10:29.214Z","updatedAt": "2020-08-19T14:29:31.552Z","__v": 0},{"_id": "5ef583557263400007059517","channel": [12],"path": "/pages/press","isActive": true,"name": "Press","label": "Press","parent": "5ed1187988926600073d1166","order": 3,"images": [],"videos": [],"params": [{"_id": "5ef5835cb23cd100088cf4f7","kind": "","value": ""}],"createdAt": "2020-06-26T05:10:45.567Z","updatedAt": "2020-08-19T14:29:31.567Z","__v": 0},{"_id": "5ef5837a7263400007059518","channel": [12],"path": "/blogs/the-digest","isActive": true,"name": "Blog - The Digest","label": "Blog - The Digest","parent": "5ed1187988926600073d1166","order": 4,"images": [],"videos": [],"params": [{"_id": "5ef58380b23cd100088cf4f8","kind": "","value": ""}],"createdAt": "2020-06-26T05:11:22.615Z","updatedAt": "2020-08-19T14:29:31.568Z","__v": 0},{"_id": "5ef5838a7263400007059519","channel": [12],"path": "https://faq.test.com/","isActive": true,"name": "FAQs","label": "FAQs","parent": "5ed1187988926600073d1166","order": 5,"images": [],"videos": [],"params": [{"_id": "5eff2d8f5f2059000778534d","kind": "","value": ""}],"createdAt": "2020-06-26T05:11:38.981Z","updatedAt": "2020-08-19T14:29:31.570Z","__v": 0}]},{"_id": "5f27bc9b9be72f00083db446","channel": [12],"path": "/a1","isActive": false,"name": "a1","label": "a1","order": 4,"images": [],"videos": [],"params": [{"_id": "5f3e3cf2bcc65f0007483adb","kind": "","value": ""}],"createdAt": "2020-08-03T07:28:27.522Z","updatedAt": "2020-08-20T16:56:36.793Z","__v": 0,"children": [{"_id": "5f27bcac9be72f00083db447","channel": [12],"path": "/","isActive": false,"name": "a2","label": "a2","parent": "5f27bc9b9be72f00083db446","order": 1,"images": [],"videos": [],"params": [],"createdAt": "2020-08-03T07:28:44.341Z","updatedAt": "2020-08-11T14:08:46.540Z","__v": 0},{"_id": "5f27bd099be72f00083db448","channel": [12],"path": "/","isActive": false,"name": "a2","label": "a2","parent": "5f27bc9b9be72f00083db446","order": 2,"images": [],"videos": [],"params": [],"createdAt": "2020-08-03T07:30:17.258Z","updatedAt": "2020-08-03T07:30:17.258Z","__v": 0}]}]}}
Last updated - Oct 2020
​