- Platform Overview
- Resources and Guides
-
POS Integration
-
Getting Started
-
Core Concepts
-
Integration SDK
-
Certification
-
-
Order Ahead
-
Getting Started
-
Endpoints
-
-
Provider Enablement
-
Provider Enablement
-
Endpoints
-
Developer Endpoints
-
-
API Reference
-
Getting Started
-
v15
-
- Access Tokens
- Campaigns
- Credit Cards
- Users
- Credit
- Locations
- Payment Methods
- QR Codes
- Progress Adjustments
- Orders
- Rewards
- Gift Cards
-
-
v14
-
- Credit
- Access Tokens
- Campaigns
- Categories
- Credit Cards
- Interstitials
- Locations
- Loyalty
- Orders
- Payment Tokens
- Support Tickets
- Users
-
-
Show Ready Times
Order Ahead / Endpoints
Show Ready Times
This endpoint returns an array of order ready times based on the location’s open hours. ‘fulfillment_type’ is a required parameter.
Request Endpoint
GET /v15/order_ahead/locations/:id/ready_times?fulfillment_type=pickup
Authorization
No authorization is required for this request.
cURL Example
curl https://api.thelevelup.com/v15/order_ahead/locations/23456/ready_times?fulfillment_type=pickup
Example Response
HTTP/1.1 200 OK
{
"ready_times": [
"2018-05-29T18:15:00.000+00:00",
"2018-05-29T18:30:00.000+00:00",
"2018-05-29T18:45:00.000+00:00",
"2018-05-29T19:00:00.000+00:00",
"2018-05-29T19:15:00.000+00:00",
"2018-05-29T19:30:00.000+00:00",
"2018-05-29T19:45:00.000+00:00",
"2018-05-29T20:00:00.000+00:00",
"2018-05-29T20:15:00.000+00:00",
"2018-05-29T20:30:00.000+00:00",
"2018-05-29T20:45:00.000+00:00",
"2018-05-29T21:00:00.000+00:00",
"2018-05-30T11:00:00.000+00:00",
"2018-05-30T11:15:00.000+00:00",
"2018-05-30T11:30:00.000+00:00",
"2018-05-30T11:45:00.000+00:00",
"2018-05-30T12:00:00.000+00:00",
"2018-05-30T12:15:00.000+00:00",
"2018-05-30T12:30:00.000+00:00",
"2018-05-30T12:45:00.000+00:00",
"2018-05-30T13:00:00.000+00:00",
"2018-05-30T13:15:00.000+00:00",
"2018-05-30T13:30:00.000+00:00",
"2018-05-30T13:45:00.000+00:00",
"2018-05-30T14:00:00.000+00:00",
"2018-05-30T14:15:00.000+00:00",
"2018-05-30T14:30:00.000+00:00",
"2018-05-30T14:45:00.000+00:00",
"2018-05-30T15:00:00.000+00:00",
"2018-05-30T15:15:00.000+00:00",
"2018-05-30T15:30:00.000+00:00",
"2018-05-30T15:45:00.000+00:00",
"2018-05-30T16:00:00.000+00:00",
"2018-05-30T16:15:00.000+00:00",
"2018-05-30T16:30:00.000+00:00",
"2018-05-30T16:45:00.000+00:00",
"2018-05-30T17:00:00.000+00:00",
"2018-05-30T17:15:00.000+00:00",
"2018-05-30T17:30:00.000+00:00",
"2018-05-30T17:45:00.000+00:00",
"2018-05-30T18:00:00.000+00:00",
"2018-05-30T18:15:00.000+00:00",
"2018-05-30T18:30:00.000+00:00",
"2018-05-30T18:45:00.000+00:00",
"2018-05-30T19:00:00.000+00:00",
"2018-05-30T19:15:00.000+00:00",
"2018-05-30T19:30:00.000+00:00",
"2018-05-30T19:45:00.000+00:00",
"2018-05-30T20:00:00.000+00:00",
"2018-05-30T20:15:00.000+00:00",
"2018-05-30T20:30:00.000+00:00",
"2018-05-30T20:45:00.000+00:00",
"2018-05-30T21:00:00.000+00:00"
]
}
Errors
HTTP/1.1 error 404 Not Found
- No Ready Times with that Location ID exists