MenusReward is a JSON Structure definition published by Otter, 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/otter/refs/heads/main/json-structure/public-api-menus-reward-structure.json",
"name": "MenusReward",
"description": "MenusReward schema from Public API (Otter Public API).",
"type": "object",
"properties": {
"entityId": {
"type": "string",
"description": "The id of the entity, currently it's the item id.",
"example": "someidstring"
},
"amount": {
"type": "double",
"description": "Discount amount, if it's percentage discount, the percentage amount shown is in basis points, ie 1000 = 10% discount.",
"example": 20
},
"type": {
"type": "string",
"description": "The type of discount, absolute or percentage.",
"example": "ABSOLUTE_DISCOUNT",
"enum": [
"ABSOLUTE_DISCOUNT",
"PERCENT_DISCOUNT"
]
}
}
}
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.