JimmyJohns
Get one Jimmy John's menu product's customization options
Returns one menu product's full customization tree: size, bread, and per-ingredient choices (extra/regular/light/none), each with its real price and calorie delta. Groups nest -- picking a size choice can reveal a bread group, which can reveal one group per ingredient -- so a size step, a bread step, and every "Customize Sandwich" ingredient all live in one recursive tree. product_id comes from GET /jimmy-johns/menu.
get/jimmy-johns/modifiers
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/jimmy-johns/modifiers
- Auth: API key in header x-api-key
Query parameters
product_idinteger required
Product id from a /jimmy-johns/menu product
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"data": {
"group_count": 9,
"groups": [
{
"chain_modifier_id": 480998,
"choices": [
{
"base_calories": "70",
"chain_option_id": 2476875,
"cost": 8.69,
"name": "REGULAR",
"option_id": 5265915696
}
],
"group_id": 1176354037,
"name": "Choose Your Size"
}
],
"product_id": 33276056
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.