CreateProductReference is a JSON Structure definition published by Flipdish, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/catalog-create-product-reference-structure.json",
"name": "CreateProductReference",
"description": "Information to create a reference to a {Flipdish.Menus.PublicModels.V1.Catalog.Product}",
"type": "object",
"properties": {
"CatalogItemId": {
"description": "Identifier of the CatalogItemId to use as SubProduct",
"maxLength": 30,
"minLength": 0,
"type": "string",
"example": "500123"
},
"ProductType": {
"description": "Type of the SupProduct",
"enum": [
"Product",
"Modifier"
],
"type": "string",
"example": "Product"
},
"PreselectedQuantity": {
"description": "Quantity of the modifier that will be set when the parent product is placed in the basket",
"type": "int32",
"example": 3
}
},
"required": [
"CatalogItemId",
"ProductType"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.