papajohns_intl_stores
Find Papa John's restaurants in Chile, Costa Rica, Guatemala, Panama, Portugal, or Spain by location or store ID. Get addresses, hours, payment methods, delivery zones, and open status in ranked JSON.
Instructions
Find Papa John's restaurants in an international market. Returns Papa John's restaurants in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain -- either every restaurant near a coordinate, or one known restaurant looked up by id. Each restaurant carries its address, coordinates, phone, per-weekday opening hours split by fulfillment channel, accepted payment methods, delivery zones with their minimum-order and free-delivery thresholds, and live delivery/pickup open flags. Restaurants come back ranked by distance with no radius limit, five at a time by default; page and limit walk the rest, and the response reports total_count, the market's whole restaurant total. The returned id is what GET /papajohns/intl/menu prices against, and menu_id is what GET /papajohns/intl/ingredients reads. This covers those six markets only -- for India use GET /papajohns/india/stores, and for the US and Canada use GET /papajohns/directory, GET /papajohns/store, or GET /papajohns/nearby.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | One-based page of the distance-ranked restaurants. Ignored for a store_id lookup and for pickup, neither of which is paginated. | |
| limit | No | Restaurants per page, 1-100. Ignored for a store_id lookup and for pickup, neither of which is paginated. | |
| market | Yes | Market. One of: chile, costa-rica, guatemala, panama, portugal, spain | |
| latitude | No | Latitude to search around. Required unless store_id is supplied. | |
| store_id | No | Look up one known restaurant by id instead of searching a coordinate. Supply either store_id, or both latitude and longitude. | |
| longitude | No | Longitude to search around. Required unless store_id is supplied. | |
| fulfillment | No | One of: delivery (default, every nearby restaurant), pickup (only restaurants accepting pickup orders). Ignored when store_id is supplied. |