# Menu Display
# The Menu Display Object
# Sample
{
"categories": [{
"category_id": "906921e5",
"children": [{
"child_id": "8fe62e4a",
"child_type": "product"
}]
}]
}# Attributes
| Field | Type | Rule | Description |
|---|---|---|---|
categories | Array | updateable | List of menu Categories |
categories.category_id | string | The unique Category id | |
categories.children | array | updateable | Children of a Category |
child_type | string | updateable | The Child Type. |
child_id | string | updateable | The id of the selected child type |
# Child Types
| Type |
|---|
product |
combo |
gift card |
group |
# Get Menu Display
GET /menu_display
# Scope
general.read
# Response
{
"data": {
"categories": [{
"category_id": "906921e5",
"children": [{
"child_id": "8fe62e4a",
"child_type": "product"
}]
}]
}
}# Update Menu Display
POST /menu_display
# Scope
general.write
# Request
{
"categories": [{
"category_id": "906921e5",
"children": [{
"child_id": "8fe62e4a",
"child_type": "product"
}]
}]
}# Response
{
"data": {
"categories": [{
"category_id": "906921e5",
"children": [{
"child_id": "8fe62e4a",
"child_type": "product"
}]
}]
}
}