Get a Papa John's menu's ingredient catalog (international)
Returns every topping, sauce, and cheese a pizza can be built with on one menu, in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain. Each ingredient reports its family (meat, vegetable, base sauce, and so on), whether it is included on pizzas by default, whether it is charged at the premium rather than the normal rate, and whether it can be applied to just one half. The response also carries what one extra ingredient costs at each size, for both the normal and premium rates. Menu ids come from GET /papajohns/intl/stores.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/papajohns/intl/ingredients
- Auth: API key in header x-api-key
Query parameters
Market. One of: chile, costa-rica, guatemala, panama, portugal, spain
Menu id from a restaurant returned by GET /papajohns/intl/stores
Return only one ingredient category. One of: base_cheese, base_sauce, extra_cheese, extra_sauce, meat, not_ingredient, premium, vegetable
Headers
API key required
Response
OK
Example response
{
"data": {
"category": "meat",
"count": 39,
"ingredients": [
{
"available_as_half": true,
"category": "base_sauce",
"id": 25,
"name": "Salsa de Tomate"
}
],
"market": "spain",
"menu_id": 8
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.