This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Note: The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the Wix App Market.
Creates an item.
To create multiple items at once, use Bulk Create Items.
You can only call this method when authenticated as a Wix app or Wix user identity.
Item details.
Item.
curl -X POST https://www.wixapis.com/restaurants/menus-item/v1/items \
-H 'Authorization: <AUTH>' \
--data-binary '{
"item": {
"name": "Schnitzel",
"description": "Crisp and golden on the outside, in a herb and parmesan crumb",
"priceInfo": {"price": "4.00"},
"image": {
"id": "ec845c_d6fde78f920f48748d383a4906f4c345~mv2.jpg",
"url": "https://static.wixstatic.com/media/ec845c_d6fde78f920f48748d383a4906f4c345~mv2.jpg",
"height": 3335,
"width": 5000,
"altText": null,
"urlExpirationDate": null,
"filename": null,
"sizeInBytes": null
},
"additionalImages": [],
"labels": [],
"visible": null,
"orderSettings": {
"inStock": false,
"acceptSpecialRequests": true,
},
"modifierGroups": [],
"extendedFields": null
}
}'
{
"item": {
"id": "cbbf4358-292c-4e9e-a820-7e75b4551120",
"revision": "1",
"createdDate": "2023-12-04T08:27:34.258Z",
"updatedDate": "2023-12-04T08:27:34.258Z",
"name": "Schnitzel",
"description": "Crisp and golden on the outside, in a herb and parmesan crumb",
"priceInfo": { "price": "4.00" },
"image": {
"id": "ec845c_d6fde78f920f48748d383a4906f4c345~mv2.jpg",
"url": "https://static.wixstatic.com/media/ec845c_d6fde78f920f48748d383a4906f4c345~mv2.jpg",
"height": 3335,
"width": 5000
},
"additionalImages": [],
"labels": [],
"orderSettings": {
"inStock": false,
"acceptSpecialRequests": true
},
"modifierGroups": []
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.