Publisher Integration - SinglePlatform REST API - Menus - SPv2
This documentation is obsolete. Please see updated documentation at http://docs.singleplatform.com/spv2/rest-api/
URI: /locations/LOCATION/menu
GET
Request
Headers:
Accept
: takes:application/json
Response
application/json
:
For an application/json
request, you get a JSON document that contains one of the following:
- A map containing:
location
: A map containing the location information as defined in Location Field DescriptionslocationToMenus
: A map of location-to-menus as defined in Location-to-Menu Map Field Descriptionsmenus
: A list of maps where each map contains a menu as defined in Menu Field Descriptions
URI: /locations/LOCATION/shortmenu
GET
Request
Headers:
Accept
: takes:application/json
Response
application/json
:
For an application/json
request, you get a JSON document that contains one of the following:
- A map containing:
type
: The type of short menu.numItems
: The number of items in the short menu. Typically between 3 and 5, inclusive.location
: A map containing the location information as defined in Location Field Descriptionsshortmenu
: A list of maps where each map contains a menu as defined in Short Menu Field Descriptions