Pizza Hut

Get one Pizza Hut restaurant by its store number

Returns one Pizza Hut restaurant's detail by its exact store number, from /pizzahut/stores, including its recurring open hours per order channel (carryout, delivery, dine-in, drive-thru, catering carryout) plus each channel's ordering constraints -- minimum/maximum order amount, whether tipping is offered, and accepted payment methods. A channel this restaurant does not offer at all is omitted from hours rather than reported as always-closed.

get/pizzahut/store

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/pizzahut/store
  • Auth: API key in header x-api-key

Query parameters

store_numberstring required

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

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": {
    "accepting_online_orders": true,
    "address": {
      "address1": "932 8th Ave",
      "city": "New York",
      "country_code": "US",
      "latitude": 40.7655,
      "longitude": -73.9835,
      "phone": "+19296452154",
      "postal_code": "10019",
      "state": "NY"
    },
    "delivery_providers": [
      {
        "enabled": true,
        "provider": "INTERNAL"
      }
    ],
    "hours": [
      {
        "allow_tip": true,
        "enabled": true,
        "max_order_amount": {
          "amount": 20.99,
          "amount_cents": 2099,
          "currency_code": "USD"
        },
        "min_order_amount": {
          "amount": 20.99,
          "amount_cents": 2099,
          "currency_code": "USD"
        },
        "occasion": "CARRYOUT",
        "payment_types": [
          {
            "name": "APPLEPAY",
            "type": "CARD"
          }
        ],
        "windows": [
          {
            "days": [
              1,
              2,
              3,
              4,
              5,
              6,
              7
            ],
            "duration": "16:00:00",
            "start_time": "11:00:00"
          }
        ]
      }
    ],
    "name": "040937",
    "store_number": "040937",
    "timezone": "America/New_York"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.