XPM

Get Menu Item by ID

This endpoint enables you to retrieve data of the specified menu item. To retrieve data on browse menu, the Get Menu List is recommended.

Path:

GET /menu/{menuId}

Headers

x-site-context: {date, channel, account, stage}

Consumes

  • application/json

Produces

  • application/json

Parameters

Type: Path

Name: menu ID

Required: true

Sample Request

https://{baseurl}/menu/5ed116e888926600073d115d

Response Code: 200

Message: OK

Description: You will see this message when the details are successfully retrieved.

Sample

{
"_id": "5ed116e888926600073d115d",
"channel": [
12
],
"path": "javascript:void(0)",
"isActive": true,
"name": "ADULTS",
"label": "ADULTS",
"order": 1,
"images": [],
"videos": [],
"params": [
{
"_id": "5ed4a8b9df194a000847424f",
"kind": "",
"value": "",
"id": "5ed4a8b9df194a000847424f"
}
],
"createdAt": "2020-05-29T14:06:32.417Z",
"updatedAt": "2020-08-20T16:56:36.756Z",
"__v": 0
}
  • Last updated - Oct 2020