Pizza Hut

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.

get/pizzahut/modifiers

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

store_numberstring required

Pizza Hut's store number, from /pizzahut/stores

variant_codestring required

A product's specific size/crust/style variant code, from /pizzahut/menu

channel'WEB' | 'MOBILE' | 'POS' | 'KIOSK' | 'DOORDASH' | 'UBEREATS' | 'GRUBHUB' | 'IOS' | 'ANDROID' | 'DELIVEROO' | 'JUST_EAT' | 'CALL_CENTER'

Order channel the customization tree and pricing reflect (default WEB)

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

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.