Flipdish · JSON Structure

Catalog Create Product Reference Structure

Information to create a reference to a {Flipdish.Menus.PublicModels.V1.Catalog.Product}

Type: object Properties: 3 Required: 2
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

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.

Properties

CatalogItemId ProductType PreselectedQuantity

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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"
  ]
}