A size selection prompt for a menu item. Sizes can affect the price of both the item and its modifiers.
Type: objectProperties: 3
SizePrompt is a JSON Structure definition published by Grubhub, describing 3 properties. 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/grubhub/refs/heads/main/json-structure/grubhub-sizeprompt-structure.json",
"name": "SizePrompt",
"description": "A size selection prompt for a menu item. Sizes can affect the price of both the item and its modifiers.",
"type": "object",
"properties": {
"external_id": {
"type": "string",
"description": "A unique external identifier for this size prompt."
},
"name": {
"type": "string",
"description": "The display name for the size prompt."
},
"options": {
"type": "array",
"description": "Available size options.",
"items": {
"$ref": "#/components/schemas/SizeOption"
}
}
}
}
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.