Papa John's

Get one Papa John's India item with its full options (INR)

Returns one Papa John's India menu item with its complete customization tree: every size, and for each size every crust, topping, dipping sauce, drizzle, and base sauce with that option's own price in Indian Rupees. The option group flagged base_price carries the item's base price for that size (the crust group on pizzas) rather than an add-on charge; half_price is the surcharge when the option is applied to one half of a pizza. India market only -- prices are Indian Rupees. Use GET /papajohns/india/menu to discover item ids.

get/papajohns/india/menu/item

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/papajohns/india/menu/item
  • Auth: API key in header x-api-key

Query parameters

item_idstring required

Item id (saleitem_id) from GET /papajohns/india/menu

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": "Pizzas",
    "currency": {
      "code": "₹",
      "country_code": "91",
      "locale": "en-IN",
      "name": "Indian Rupee"
    },
    "item": {
      "category_id": "6",
      "customizable": true,
      "id": "71",
      "kind": "item",
      "name": "MARGHERITA",
      "price": 399,
      "price_type": "BuyXGetY",
      "rank": 1,
      "sizes": [
        {
          "default": true,
          "id": "3",
          "name": "Large",
          "option_groups": [
            {
              "base_price": true,
              "choices": [
                {
                  "default": true,
                  "half_price": 399.5,
                  "id": "1",
                  "name": "Original Crust",
                  "price": 799
                }
              ],
              "halves_enabled": true,
              "id": "1",
              "name": "Crust",
              "selection_rule": "Exactly",
              "selection_spec": "1"
            }
          ],
          "rank": 1
        }
      ],
      "strike_off_price": 499,
      "sub_category_id": "4"
    },
    "market": "india",
    "taxes": [
      {
        "name": "GST",
        "type": "percentage",
        "value": 5
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.