Dates

Get calendar

POST https://api-us.zapiet.com/v1.0/delivery/locations/:locationId/calendar

This endpoint allows you to get a list of available and unavailable dates for a location.

Path Parameters

Query Parameters

Request Body

{
	"minDateTime": "2021-05-13 10:00:00",
	"minDate": "2021-05-13",
	"maxDate": null,
	"minTime": ["10", "00"],
	"maxTime": ["13", "00"],
	"disabled": [
		[2020, 10, 21],
		[2020, 10, 28]
	],
	"minDateSlots": [{
		"id": 2408,
		"day_of_week": "thursday",
		"available_from": "10:00",
		"available_until": "12:00",
		"limited": true,
		"limit": 10
	}, {
		"id": 402223,
		"day_of_week": "thursday",
		"available_from": "12:00",
		"available_until": "14:00",
		"limited": true,
		"limit": 10
	}, {
		"id": 402224,
		"day_of_week": "thursday",
		"available_from": "13:00",
		"available_until": "14:00",
		"limited": true,
		"limit": 10
	}],
	"datePickerEnabled": true,
	"timePickerEnabled": true,
	"timezone": "America\/New_York"
}
{
    "shoppingCart": [
        {
            "variant_id": 9226255761451,
            "product_id": 852798275627,
            "quantity": 5
        },
        {
            "variant_id": 9226255761452,
            "product_id": 852798275628,
            "quantity": 2
        }
    ]
}

Last updated