GET
/
api
/
v1
/
locations
/
{locationSlug}
curl --request GET \
  --url https://api.craveup.com/v1/api/v1/locations/{locationSlug} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "locationSlug": "<string>",
  "displayName": "<string>",
  "description": "<string>",
  "coverPhotoUrl": "<string>",
  "logoUrl": "<string>",
  "address": "<string>",
  "phoneNumber": "<string>",
  "emailAddress": "<string>",
  "isOrderingPausedByMerchant": true,
  "isOrderingAllowedBySubscription": true,
  "isOrderingAllowedByAdmin": true,
  "isScheduledOrderAllowed": true,
  "timezone": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

locationSlug
string
required

The location slug.

Response

200
application/json
Location information retrieved successfully.
id
string

The location's unique ID.

locationSlug
string

The unique URL-friendly name of the location.

displayName
string

The display name of the location.

description
string

A description of the location.

coverPhotoUrl
string

URL of the location's background image.

logoUrl
string

URL of the location's logo image.

address
string

The location's address.

phoneNumber
string

The location's phone number.

emailAddress
string

The location's email address.

isOrderingPausedByMerchant
boolean

Indicates whether orders are paused by merchant

isOrderingAllowedBySubscription
boolean

Indicates whether ordering is currently allowed due to subscription

isOrderingAllowedByAdmin
boolean

Indicates whether ordering is currently allowed by platform

isScheduledOrderAllowed
boolean

Indicates whether scheduled orders are allowed or not

timezone
string

The location's timezone (e.g., 'America/Los_Angeles').