Papa John's
Get one Papa John's India deal's composition (INR)
Returns one Papa John's India combo or offer with its full composition: each slot in the deal (with its quantity, size, and whether it can be skipped) and every menu item eligible to fill that slot, with each choice's own price in Indian Rupees. This is materially more than the deal row in GET /papajohns/india/menu, which carries only the deal's name, price, and pricing rule. price_type is one of fixedPrice, BuyXGetY, HalfAndHalf, or variablePrice; only fixedPrice deals report a non-zero price. India market only.
get/papajohns/india/deal
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/papajohns/india/deal
- Auth: API key in header x-api-key
Query parameters
deal_idstring required
Deal id from GET /papajohns/india/menu (items with kind=deal)
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"data": {
"category_id": "11",
"currency": {
"code": "₹",
"country_code": "91",
"locale": "en-IN",
"name": "Indian Rupee"
},
"description": "Sakkath Combo",
"end_time": "23:59:59",
"id": "17",
"market": "india",
"name": "Sakkath Veg Combo - Dine In",
"price": 699,
"price_type": "fixedPrice",
"slots": [
{
"choice_count": 5,
"choices": [
{
"category": "Pizzas",
"item_id": "71",
"name": "MARGHERITA",
"price": 399,
"size": "Medium",
"size_id": "2"
}
],
"id": "1376",
"quantity": 1,
"size": "Medium"
}
],
"start_time": "00:00:00"
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.