GET
/
api
/
v1
/
locations
/
{locationId}
/
status
curl --request GET \
  --url https://api.craveup.com/v1/api/v1/locations/{locationId}/status \
  --header 'X-API-Key: <api-key>'
{
  "orderTime": "<string>",
  "isWorkingHours": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

locationId
string
required

The location's unique ID.

Response

200
application/json
Location status retrieved successfully.
orderTime
string

The earliest available order time.

isWorkingHours
boolean

Indicates if the location is currently within its operating hours.