GET

List First Available Time Slots For Menus


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

For each menus, retrieves the first available time slots for each fulfillment type.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/restaurants-operations/v1/operations/{operationId}/first-available-time-slots-for-menus

Path Params
operationIdstringRequired

Operation ID. Returned timeslots that are belong to this operation.

Query Params
deliveryAddress.countrystringformat COUNTRY

Country code.


deliveryAddress.subdivisionstring

Subdivision. Usually a state, region, prefecture, or province code, according to ISO 3166-2.


deliveryAddress.citystring

City name.


deliveryAddress.postalCodestring

Zip/postal code.


deliveryAddress.addressLine2string

Free text providing more detailed address info. Usually contains Apt, Suite, and Floor.


cursorPaging.limitintegerminimum 0maximum 100format int32

Maximum number of items to return in the results.


cursorPaging.cursorstringmaxLength 16000

Pointer to the next or previous page in the list of results.

Pass the relevant cursor token from the pagingMetadata object in the previous call's response. Not relevant for the first request.

Response Object
timeSlotsPerMenuArray <FirstFulfillmentTimeSlotsPerMenu>maxItems 100

List of available time slots for each menu. For each menu will be returned the first available time slot for each fulfillment type.


cursorstringmaxLength 16000

Cursor to next request.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?