papajohns_intl_offer
Get an international Papa John's offer's complete details: price, choice steps, eligible products, surcharges, and ingredient rules for six markets.
Instructions
Get one Papa John's offer's composition (international). Returns one promotional offer's full composition in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain. This is what a promotion banner from GET /papajohns/intl/deals actually contains: the offer's own price, each choice step a customer works through in order (e.g. "pick your family pizza", "pick a side"), and every product eligible at that step with the surcharge picking it adds. It also carries the offer's ingredient rules -- how many extras are free, the minimum and maximum that may be chosen, and which ingredient families are allowed. Offer ids come from the offer_id field on a deal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market. One of: chile, costa-rica, guatemala, panama, portugal, spain | |
| offer_id | Yes | Offer id from the offer_id field on GET /papajohns/intl/deals |