By heading
Just one part of the menu, with its sections. Harbour Kitchen has two headings, Main Menu and Starters & Snacks, so each could go on its own page of the website.
Copy this
<script src="…/app/plugins/satori-manifest/build/js/price-list-element.js" defer></script>
<manifest-price-list slug="harbour-kitchen" heading="Main Menu"></manifest-price-list>
Several headings: heading="Main Menu, Starters & Snacks".
See it on an example restaurant website →
For developers
GET
…| Variation | Request | See it | |
|---|---|---|---|
| Main Menu | harbour-kitchen?heading=Main%20Menu | Example page | Response |
| Starters & Snacks, styled | harbour-kitchen?heading=starters-snacks&format=styled | Example page | Response |
| Both headings | harbour-kitchen?heading=Main%20Menu,Starters%20%26%20Snacks | Example page | Response |
| No match (empty) | harbour-kitchen?heading=Nope | Example page | Response |
Options
| Option | What it does |
|---|---|
heading | Heading titles or ids, separated by commas. Write & as %26 in an address. |
| Option | Values | What it does |
|---|---|---|
format | json (default), styled | json gives the data only. styled gives the same data plus the look the client set up in Qrable: style (colours, fonts and CSS for every part), each heading's and section's own css, allergen icons and the allergen key. Always JSON. |
Same shape as the whole menu, with only the chosen headings and no loose sections.
Live response
Pick a variation above, then switch between the plain JSON and the styled JSON.