Papa John's

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.

get/papajohns/intl/ingredients

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'chile' | 'costa-rica' | 'guatemala' | 'panama' | 'portugal' | 'spain' required

Market. One of: chile, costa-rica, guatemala, panama, portugal, spain

menu_idstring required

Menu id from a restaurant returned by GET /papajohns/intl/stores

category'base_cheese' | 'base_sauce' | 'extra_cheese' | 'extra_sauce' | 'meat' | 'not_ingredient' | 'premium' | 'vegetable'

Return only one ingredient category. One of: base_cheese, base_sauce, extra_cheese, extra_sauce, meat, not_ingredient, premium, vegetable

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

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.