XM
Powered By GitBook
Retrieve Menu
Retrieves a menu and its sub-menus, by menu ID.
Path:
1
GET https://{baseurl}/api-xpm/menu/{menuId}
Copied!

Headers

Content-Type : application/json
x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox" }

Parameters

Type : path
Name : The menu ID.
Required: true

Sample Request

1
https://{baseurl}/menu/5ed116e888926600073d115d
Copied!
Response Code: 200
Message: OK
Description: You will see this message when the details are successfully retrieved.
1
{
2
"_id": "5ed116e888926600073d115d",
3
"channel": [
4
12
5
],
6
"path": "javascript:void(0)",
7
"isActive": true,
8
"name": "ADULTS",
9
"label": "ADULTS",
10
"order": 1,
11
"images": [],
12
"videos": [],
13
"params": [
14
{
15
"_id": "5ed4a8b9df194a000847424f",
16
"kind": "",
17
"value": "",
18
"id": "5ed4a8b9df194a000847424f"
19
}
20
],
21
"createdAt": "2020-05-29T14:06:32.417Z",
22
"updatedAt": "2020-08-20T16:56:36.756Z",
23
"__v": 0
24
}
Copied!

Change Log

    Last updated - Oct 2020
Last modified 2mo ago
Copy link
Contents
Change Log