One section
A single section, such as today's desserts on the home page.
Copy this
<script src="…/app/plugins/satori-manifest/build/js/price-list-element.js" defer></script>
<manifest-price-list slug="harbour-kitchen" section="Desserts" level="3"></manifest-price-list>
See it on an example restaurant website →
For developers
The section's title or id goes at the end of the address. If two sections share a title the first wins; use the id (from all sections) to be exact.
GET
…| Variation | Request | See it | |
|---|---|---|---|
| Desserts | harbour-kitchen/sections/desserts | Example page | Response |
| Desserts, styled | harbour-kitchen/sections/desserts?format=styled | Example page | Response |
| By id | harbour-kitchen/sections/s_1c66453c | Example page | Response |
| Missing (404) | harbour-kitchen/sections/no-such-section | Example page | Response |
Options
| Option | What it does |
|---|---|
heading | Optional: only look under these headings. |
| 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. |
What comes back
One section (not a list), like an entry of all sections, with _links.up pointing to the whole menu. A missing section gives 404 rest_section_not_found.
Live response
Pick a variation above, then switch between the plain JSON and the styled JSON.