Untitled

 avatar
unknown
javascript
3 years ago
5.7 kB
2
Indexable
{
    "delivery_zone": {},
    "description": "A test store",
    "directions_url": "string",
    "has_curbside": true,
    "dayparts": [
        {
            "close": "21:00",
            "holiday": null,
            "open": "17:30",
            "weekday": "MONDAY",
            "daypart": "Dinner",
            "service_type": "ALL"
        },
        {
            "close": "17:00",
            "holiday": null,
            "open": "11:30",
            "weekday": "MONDAY",
            "daypart": "Lunch",
            "service_type": "ALL"
        },
        {
            "close": "11:00",
            "holiday": null,
            "open": "09:00",
            "weekday": "MONDAY",
            "daypart": "Breakfast",
            "service_type": "ALL"
        },        
        {
            "close": "21:00",
            "holiday": null,
            "open": "17:30",
            "weekday": "TUESDAY",
            "daypart": "Dinner",
            "service_type": "ALL"
        },
        {
            "close": "17:00",
            "holiday": null,
            "open": "11:30",
            "weekday": "TUESDAY",
            "daypart": "Lunch",
            "service_type": "ALL"
        },
        {
            "close": "11:00",
            "holiday": null,
            "open": "09:00",
            "weekday": "TUESDAY",
            "daypart": "Breakfast",
            "service_type": "ALL"
        }
    ],
    "gratuity": {
        "increments": true,
        "maximum": "5",
        "minimum": "1",
        "percentage": "2",
        "service_type": "ALL"
    },
    "images": [
        {
            "type": "SMALL_IMAGE",
            "url": "string"
        }
    ],
    "is_new": true,
    "is_outpost": true,
    "is_parent": true,
    "menu_pdf_url": "string",
    "name": "Test Store 1",
    "revenue_center_type": "OLO",
    "slug": "Test store",
    "status": "OPEN",
    "timezone": "MY",
    "settings": {
        "delivery": {
            "auto_confirm": true,
            "confirm": true,
            "fees": {
                "fee": "delivery fee",
                "maximum": "5",
                "minimum": "1"
            },
            "max_gratuity": "string",
            "send_delay": 0,
            "send_updates": true,
            "service_type": "ALL",
            "surcharge": {
                "amount": "5.00",
                "approval": true,
                "description": "delivery surcharge decription",
                "display_order": 0,
                "is_active": true,
                "is_taxed": true,
                "label": "delivery surcharge label",
                "maximum": "5.00",
                "minimum": "1.00",
                "name": "delivery surcharge",
                "optional": true,
                "order_size_maximum": "5",
                "order_size_minimum": "1",
                "service_type": "ALL",
                "surcharge_type": "DOLLAR",
                "travel_type": "DRIVING"
            }
        },
        "cutoff_time": "string",
        "delivery_day_ahead": 0,
        "pickup_day_ahead": 0,
        "excluded_times": [
            {
            "date": "2022-01-18",
            "minute": [
                    1095, 1110, 1125, 1140, 1155, 1170, 1185, 1200, 1215, 1230,
                    1245, 1260
                  ],
            "service_type": "ALL"
            },
                       {
            "date": "2022-01-19",
            "minute": [
                    1095, 1110, 1125, 1140, 1155, 1170, 1185, 1200, 1215, 1230,
                    1245, 1260
                  ],
            "service_type": "ALL"
            }
        ],
        "group_ordering": {
            "guest_limit": 0,
            "lead_time": 0,
            "prep_time": 0
        },
        "delivery_holidays": ["2022-04-04"],
        "pickup_holidays": ["2022-12-25"],
        "lead_time_in_hours": 0,
        "delivery_order_minimum": "15.00",
        "pickup_order_minimum": "0.00",
        "delivery_order_maximum": "0.00",
        "pickup_order_maximum": "0.00",
        "order_times": null,
        "service_types": "ALL",
        "tax_exempt_is_allowed": true,
        "delivery_time_range": 0,
        "pickup_time_range": 0,
        "delivery_wait_time": 0,
        "pickup_wait_time": 0
    },
    "address": {
          "city": "Bukit Jalil",
          "cross_streets": "Jalan Jalil Utama 2",
          "lat": 3.054004243344248,
          "lng": 101.6822722795726,
          "phone": "312-858-8190",
          "postal_code": "57000",
          "state": "Kuala Lumpur",
          "street": "Persiaran Jalil Utama"
    },
    "tender_types": {
        "DELIVERY": [
            "CASH"
        ],
        "PICKUP": [
            "CASH"
        ],
        "WALKIN": [
            "CASH"
        ]
    },
    "surcharges": [
        {
            "amount": "2.00",
            "approval": true,
            "description": "revenue center surcharge description",
            "display_order": 0,
            "is_active": true,
            "is_taxed": true,
            "label": "revenue center surcharge label",
            "maximum": "5.00",
            "minimum": "1.00",
            "name": "revenue center surcharge",
            "optional": true,
            "order_size_maximum": "5",
            "order_size_minimum": "1",
            "service_type": "ALL",
            "surcharge_type": "DOLLAR",
            "travel_type": "DRIVING"
        }
    ],
    "taxes": [
        {
            "amount": "5.00",
            "display_order": 0,
            "is_active": true,
            "is_optional": true,
            "name": "service tax",
            "tax_type": "DOLLAR"
        }
    ]
}