Section Object


Properties
idstringRead-onlyformat GUID

Section ID.


revisionintegerRead-onlyformat int64

Revision number, which increments by 1 each time the section is updated. To prevent conflicting changes, the current revision must be passed when updating the section. Ignored when creating a section.


createdDatestringRead-onlyformat date-time

Date and time the section was created.


updatedDatestringRead-onlyformat date-time

Date and time the section was updated.


namestringminLength 1maxLength 500

Section name.


descriptionstringmaxLength 1500

Section description.


imageImage

Main section image.


additionalImagesArray <Image>maxItems 100

Additional section images.


itemIdsArray <string>format GUIDmaxItems 1000

Item IDs.


extendedFieldsExtendedFields

Extended fields.


visibleboolean

Whether the section is visible in the menu for site visitors.

Section
JSON
{ "section": { "id": "9ea7135d-c232-437f-a9c3-33dd87265542", "revision": "2", "createdDate": "2024-01-14T10:06:30.782Z", "updatedDate": "2024-01-14T10:10:37.372Z", "name": "Mains", "description": "A diverse range of flavorful dishes which are all sourced daily and locally.", "image": null, "additionalImages": [], "itemIds": [ "b3dfd67a-7c77-43e8-a707-38eb53850d4a", "ec225729-29ae-4a73-bdf6-f873bcabcd53", "b8e179cc-f339-4ccb-afa9-d9e04d56c461", "0517e5d4-8fd3-4b28-a743-68cf631e534a", "cbbf4358-292c-4e9e-a820-7e73b4c4ac00" ] } }
Did this help?