Get one Pizza Hut product variant's full customization tree
Returns one product variant's full build-your-own customization tree -- every slot (e.g. "Pizza Sauce", "Pizza Cheese", "Pizza Toppings", "Crust Finishers"), every modifier within it (a specific topping, sauce flavor, or seasoning), and every weight/placement option (e.g. Light, Regular, Extra, or a Left/Right/Whole pizza-half placement) with its own real price delta -- zero for an amount already included by default, a positive upcharge for an "extra" option. variant_code comes from /pizzahut/menu's variant_code or variants[].variant_code fields.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/pizzahut/modifiers
- Auth: API key in header x-api-key
Query parameters
Pizza Hut's store number, from /pizzahut/stores
A product's specific size/crust/style variant code, from /pizzahut/menu
Order channel the customization tree and pricing reflect (default WEB)
Headers
API key required
Response
OK
Example response
{
"data": {
"channel": "WEB",
"name": "Large Hand-Tossed Create Your Own 1-Top Pizza",
"price": {
"amount": 20.99,
"amount_cents": 2099,
"currency_code": "USD"
},
"slot_count": 6,
"slots": [
{
"max_allowed_selections": 5,
"modifiers": [
{
"modifier_code": "CLSS001P|TOPP012P",
"name": "Pepperoni",
"weights": [
{
"modifier_weight_code": "CLSS001P|TOPP200XC",
"name": "Extra Cheese",
"price": {
"amount": 20.99,
"amount_cents": 2099,
"currency_code": "USD"
}
}
]
}
],
"name": "Pizza Toppings",
"slot_code": "slot_pizza_toppings"
}
],
"store_number": "040937",
"variant_code": "variant_CLSS001_010BCYO1T_SIZE060L_BASE020H"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.