DefaultModifierSelection is a JSON Structure definition published by Otter, describing 2 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/otter/refs/heads/main/json-structure/public-api-default-modifier-selection-structure.json",
"name": "DefaultModifierSelection",
"description": "A default modifier selection consists of a reference to the modifier and the default selected quantity of that modifier.",
"type": "object",
"properties": {
"itemId": {
"type": "string",
"description": "The id of the modifier item that this default selection pertains to. This id must be present in the item ids of the modifier group.",
"example": "da0e4e94-5670-4175-897a-3b7dde45bed5"
},
"selectionQuantity": {
"minimum": 0,
"type": "int32",
"description": "The default quantity of the modifier item to be selected.",
"example": 0
}
},
"required": [
"itemId",
"selectionQuantity"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.