Skip to content
API reference menu
REST API / Site

Site

Read the booking page's shop details, payment choices, and guest settings.

API endpoint stable

Get the booking profile

View as Markdown
GET/v1/public/booking-profile

A shop website reads booking rules, payment choices and meeting places using its published host or site key; an unavailable shop returns 404.

Parameters

Header

X-Outdoor-Grid-Site-Keystring

Site key for a shop website server. Optional when the published shop host identifies the shop.

Returns

A JSON response with address, cancellation_text, currency.

Errors

404The shop has no published booking page or online booking is closed.
Request
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/booking-profile" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
Response
{
  "address": "Trail bike rental",
  "cancellation_text": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "currency": "EUR",
  "default_locale": "en",
  "email": "guest@example.com",
  "intro_text": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "locales": [
    "Trail bike rental"
  ],
  "name": "Trail bike rental",
  "payment": {
    "at_shop_without_rentals": true,
    "choices": [
      "deposit"
    ],
    "deposit_min_minor": 4500,
    "deposit_percent": 2,
    "mode": "pay_at_shop"
  },
  "phone": "+CC 000 000 0000",
  "places": [
    {
      "address": "Trail bike rental",
      "closures": [
        {
          "ends_on": "2026-07-18",
          "starts_on": "2026-07-18"
        }
      ],
      "email": "guest@example.com",
      "hours": [
        {
          "days": [
            {
              "closes": null,
              "opens": null,
              "weekday": null
            }
          ],
          "valid_from": "2026-07-18",
          "valid_until": "2026-07-18"
        }
      ],
      "id": "76a924d9-73a9-44a9-89a9-7aa92b2577a9",
      "kind": "rental",
      "name": "Trail bike rental",
      "phone": "+CC 000 000 0000",
      "return_allowed": true,
      "time_zone": "Europe/Rome"
    }
  ],
  "rental_day": {
    "closes": "18:00",
    "opens": "09:00"
  }
}
Object

The Booking profile object

The fields returned by this resource.

addressstringrequired

Main address displayed on the booking page, if supplied.

cancellation_textobjectrequired

Cancellation terms displayed before booking, if supplied.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
currencystringrequired

ISO currency code for all money amounts in this answer.

default_localestringrequired

Default language for the shop's guest pages.

emailstringrequired

Guest or shop email address.

intro_textobjectrequired

Introductory text displayed on the booking page, if supplied.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
localesstring[]required

Languages offered on the shop's guest pages.

namestringrequired

Name shown to guests.

online_bookingstring

How the site takes guests: "book" books online; "ask" takes booking requests instead (POST /v1/public/booking-requests); a booking then answers 409 online_booking_ask

bookask
paymentobjectrequired

Online payment mode and choices offered by the shop.

Show child attributes
at_shop_without_rentalsbooleanrequired

A basket without rented sizes (tour seats, extras without sizes) may also choose at_shop

choicesstring[]required

Payment choices accepted for a basket under the shop's default rules; a product can narrow them.

deposit_min_minorintegerrequired

Deposit mode only: the least deposit of a booking

deposit_percentintegerrequired

Deposit mode only: the share of the total paid online, rounded up to whole units

modestringrequired

The shop's online mode

pay_at_shopdeposit
phonestringrequired

Guest or shop telephone number.

placesobject[]required

The shop first, then meeting and pick-up points, at most 20

Show child attributes
addressstringrequired

Address of this place; null when the shop has not supplied it.

closuresobject[]required

Closures that have not ended, at most 30

Show child attributes
ends_onstring · daterequired

Last local day the place is closed.

starts_onstring · daterequired

First local day the place is closed.

emailstringrequired

Guest or shop email address.

hoursobject[]required

Hours sets still in force or still to come, at most 10

Show child attributes
daysobject[]required

A weekday that is not listed is closed

Show child attributes
closesstringrequired

Local closing time.

opensstringrequired

Local opening time.

weekdayintegerrequired

ISO weekday: 1 is Monday, 7 is Sunday. A weekday may appear twice (a lunch break)

valid_fromstring · daterequired

Null: since always

valid_untilstring · daterequired

Null: until further notice

idstring · uuidrequired

Identifier of this shop place or meeting point.

kindstringrequired

Place type: rental, retail, rental_retail, workshop, depot, meeting_point, pickup, office or partner_desk.

rentalretailrental_retailworkshopdepotmeeting_pointpickupofficepartner_desk
namestringrequired

Name shown to guests.

phonestringrequired

Guest or shop telephone number.

return_allowedbooleanrequired

Whether guests may return rentals at this place.

time_zonestringrequired

IANA time zone used for this place's opening hours.

rental_dayobjectrequired

Rentals are picked up from opens on the first day and brought back by closes on the last

Show child attributes
closesstring · timerequired
opensstring · timerequired
rental_periodsobject

Half-day and custom-hour options guests may book.

Show child attributes
half_dayobjectrequired

Morning and afternoon periods offered for rentals; null when unavailable.

Show child attributes
product_idsstring · uuid[]required

Products of the rental catalog with a half-day price online

slotsobject[]required

The shop's morning and afternoon start and end times, in local time.

Show child attributes
endsstringrequired

Local end time.

kindstringrequired

Named half day: morning or afternoon.

morningafternoon
startsstringrequired

Local start time.

hourlyobjectrequired

Rules for choosing custom rental hours; null when unavailable.

Show child attributes
closesstringrequired

and ends at or before this

min_minutesintegerrequired

The shortest chosen time

opensstringrequired

A chosen time starts at or after this

product_idsstring · uuid[]required

Products of the rental catalog with an hourly price online

step_minutesintegerrequired

Times fall on these steps

time_zonestringrequired

The shop's time zone: local days of every public read are in it

Response
{
  "address": "Trail bike rental",
  "cancellation_text": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "currency": "EUR",
  "default_locale": "en",
  "email": "guest@example.com",
  "intro_text": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "locales": [
    "Trail bike rental"
  ],
  "name": "Trail bike rental",
  "payment": {
    "at_shop_without_rentals": true,
    "choices": [
      "deposit"
    ],
    "deposit_min_minor": 4500,
    "deposit_percent": 2,
    "mode": "pay_at_shop"
  },
  "phone": "+CC 000 000 0000",
  "places": [
    {
      "address": "Trail bike rental",
      "closures": [
        {
          "ends_on": "2026-07-18",
          "starts_on": "2026-07-18"
        }
      ],
      "email": "guest@example.com",
      "hours": [
        {
          "days": [
            {
              "closes": null,
              "opens": null,
              "weekday": null
            }
          ],
          "valid_from": "2026-07-18",
          "valid_until": "2026-07-18"
        }
      ],
      "id": "c03c8b09-bd3c-4e3c-833c-c43c9155c13c",
      "kind": "rental",
      "name": "Trail bike rental",
      "phone": "+CC 000 000 0000",
      "return_allowed": true,
      "time_zone": "Europe/Rome"
    }
  ],
  "rental_day": {
    "closes": "18:00",
    "opens": "09:00"
  }
}