Item Object


Properties
idstringRead-onlyformat GUID

Item ID.


revisionintegerRead-onlyformat int64

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


createdDatestringRead-onlyformat date-time

Date and time the item was created.


updatedDatestringRead-onlyformat date-time

Date and time the item was updated.


namestringminLength 1maxLength 200

Item name.


descriptionstringmaxLength 1500

Item description.


imageImage

Main item image.


additionalImagesArray <Image>maxItems 15

Additional item images.


labelsArray <Label>maxItems 10

Item labels.


visibleboolean

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


orderSettingsOrderSettings

Online order settings.


modifierGroupsArray <ModifierGroup>maxItems 20

Item modifier groups.


extendedFieldsExtendedFields

Extended fields.


ONE OF:

priceVariantsPriceVariants

Item price variants.


priceInfoPriceInfo

Item price info.

Item
JSON
{ "item": { "id": "0517e5d4-8fd3-4b28-a743-68cf631e534a", "revision": "1", "createdDate": "2024-01-14T12:42:50.267Z", "updatedDate": "2024-01-14T12:42:50.267Z", "name": "Classic burger", "description": "Our classic burger with lettuce, pickles, heirloom tomatoes, served with a side of fries", "priceVariants": { "variants": [ { "variantId": "ef7dc1ed-06df-481a-8ecc-ad87ef9b6b0c", "priceInfo": { "price": "7.00" } } ] }, "image": { "id": "ec845c_e3be4aec9afe4edaa505e903d8e13344~mv2.jpg", "url": "https://static.wixstatic.com/media/ec845c_e3be4aec9afe4edaa505e903d8e13344~mv2.jpg", "height": 3335, "width": 5000 }, "additionalImages": [], "labels": [], "orderSettings": { "inStock": false, "acceptSpecialRequests": true }, "modifierGroups": [] } }
Did this help?