supersonic-models
Version:
Supersonic models and API specifications
36 lines (35 loc) • 769 B
YAML
type: object
description: Unchanged details from the product on the database
required:
- id
- type
- price
- name
- providerData
properties:
id:
type: string
example: "30733"
type:
$ref: "./product-type.yaml"
price:
type: number
example: 11.45
name:
type: string
example: "Zinger Burger Box"
energyInformation:
type: string
example: "4865 kj"
customisations:
type: array
description: Array of modifiers selected to customise the parent product
items:
$ref: "./aloha-customisation.yaml"
comboProducts:
type: array
description: Array of products selected to the combo
items:
$ref: "./aloha-combo-product.yaml"
providerData:
$ref: "./aloha-cart-item-provider-data.yaml"