Flipdish · Schema

ProductReference

Catalog Item associated

RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

Properties

Name Type Description
Item object
Product object
CatalogItemId string Identifier of the CatalogItemId to use as SubProduct
ProductType string Type of the SupProduct
PreselectedQuantity integer Quantity of the modifier that will be set when the parent product is placed in the basket
View JSON Schema on GitHub

JSON Schema

catalog-product-reference-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/catalog-product-reference-schema.json",
  "title": "ProductReference",
  "description": "Catalog Item associated",
  "type": "object",
  "properties": {
    "Item": {
      "$ref": "#/components/schemas/Product"
    },
    "Product": {
      "$ref": "#/components/schemas/Product"
    },
    "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": {
      "format": "int32",
      "description": "Quantity of the modifier that will be set when the parent product is placed in the basket",
      "type": "integer",
      "example": 3
    }
  },
  "required": [
    "CatalogItemId",
    "ProductType"
  ]
}