Papa John's

Get one Papa John's menu item with its options

Returns one Papa John's US or Canada menu SKU with that restaurant's price for it, together with the full customization axes of the product group it belongs to: every size and crust the product is sold in, and every preparation instruction with its choices and default. The response also names the category and section the item sits under. Pass a store_id so the price is that restaurant's; omitting it returns the national default price. SKUs come from GET /papajohns/menu.

get/papajohns/menu/item

Request

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

Query parameters

skustring required

Product sku from GET /papajohns/menu

store_idstring

Restaurant id from GET /papajohns/store or GET /papajohns/nearby. Omit for the national default price.

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": "pizza",
    "group": {
      "allow_half_toppings": true,
      "crusts": [
        {
          "code": "PIZZA_ORIGINAL",
          "default": true,
          "id": 1,
          "name": "Original Crust",
          "sub_type": "Original"
        }
      ],
      "customizable": "full",
      "id": "cyo",
      "instructions": [
        {
          "choices": [
            {
              "code": "ILC",
              "id": 6,
              "name": "Light Cheese"
            }
          ],
          "description": "How much cheese?",
          "id": 2,
          "name": "CHEESE"
        }
      ],
      "max_same_topping": 2,
      "max_toppings": 7,
      "price_from": 14.99,
      "products": [
        {
          "calories": 210,
          "code": "PR10Q1",
          "crust_id": 1,
          "name": "10 Inch Original Pepperoni Pizza",
          "price": 14.99,
          "regular_price": 14.99,
          "serving_label": "/slice, 6 slices",
          "size": "Small",
          "size_id": 2,
          "sku": "1-1-2-115",
          "slices": 6
        }
      ],
      "sizes": [
        {
          "id": 2,
          "measure": "10\"",
          "name": "Small"
        }
      ],
      "title": "Create Your Own Pizza"
    },
    "product": {
      "calories": 210,
      "code": "PR10Q1",
      "crust_id": 1,
      "name": "10 Inch Original Pepperoni Pizza",
      "price": 14.99,
      "regular_price": 14.99,
      "serving_label": "/slice, 6 slices",
      "size": "Small",
      "size_id": 2,
      "sku": "1-1-2-115",
      "slices": 6
    },
    "section": "Most Popular",
    "store_id": 5054
  }
}

Changes

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