# Site



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



## Get the booking profile

`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

- `X-Outdoor-Grid-Site-Key` (string): Site key for a shop website server. Optional when the published shop host identifies the shop.

### Body parameters

None.

### Returns

A JSON response with address, cancellation_text, currency.

### Errors

- 404: The shop has no published booking page or online booking is closed.

### Request

```bash
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/booking-profile" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
```

```javascript
const url = "https://api.outdoorgrid.ai" +
  "/v1/public/booking-profile";
const response = await fetch(url, {
  method: "GET",
  headers: {
    "X-Outdoor-Grid-Site-Key": process.env.SITE_KEY,
  },
});
const data = await response.json();
```

```python
import os
import requests

url = (
    "https://api.outdoorgrid.ai"
    "/v1/public/booking-profile"
)
response = requests.get(
    url,
    headers={
        "X-Outdoor-Grid-Site-Key": os.environ["SITE_KEY"],
    },
    timeout=10,
)
response.raise_for_status()
print(response.json())
```

### Response

```json
{
  "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"
  }
}
```

## The Booking profile object



- `address` (string, required): Main address displayed on the booking page, if supplied.
- `cancellation_text` (object, required): Cancellation terms displayed before booking, if supplied.
  - `de` (string, required): 
  - `en` (string, required): 
  - `fr` (string, required): 
  - `it` (string, required): 
- `currency` (string, required): ISO currency code for all money amounts in this answer.
- `default_locale` (string, required): Default language for the shop's guest pages.
- `email` (string, required): Guest or shop email address.
- `intro_text` (object, required): Introductory text displayed on the booking page, if supplied.
  - `de` (string, required): 
  - `en` (string, required): 
  - `fr` (string, required): 
  - `it` (string, required): 
- `locales` (string[], required): Languages offered on the shop's guest pages.
- `name` (string, required): Name shown to guests.
- `online_booking` (string): 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 Values: `book`, `ask`.
- `payment` (object, required): Online payment mode and choices offered by the shop.
  - `at_shop_without_rentals` (boolean, required): A basket without rented sizes (tour seats, extras without sizes) may also choose at_shop
  - `choices` (string[], required): Payment choices accepted for a basket under the shop's default rules; a product can narrow them.
  - `deposit_min_minor` (integer, required): Deposit mode only: the least deposit of a booking
  - `deposit_percent` (integer, required): Deposit mode only: the share of the total paid online, rounded up to whole units
  - `mode` (string, required): The shop's online mode Values: `pay_at_shop`, `deposit`.
- `phone` (string, required): Guest or shop telephone number.
- `places` (object[], required): The shop first, then meeting and pick-up points, at most 20
  - `address` (string, required): Address of this place; null when the shop has not supplied it.
  - `closures` (object[], required): Closures that have not ended, at most 30
    - `ends_on` (string · date, required): Last local day the place is closed.
    - `starts_on` (string · date, required): First local day the place is closed.
  - `email` (string, required): Guest or shop email address.
  - `hours` (object[], required): Hours sets still in force or still to come, at most 10
    - `days` (object[], required): A weekday that is not listed is closed
      - `closes` (string, required): Local closing time.
      - `opens` (string, required): Local opening time.
      - `weekday` (integer, required): ISO weekday: 1 is Monday, 7 is Sunday. A weekday may appear twice (a lunch break)
    - `valid_from` (string · date, required): Null: since always
    - `valid_until` (string · date, required): Null: until further notice
  - `id` (string · uuid, required): Identifier of this shop place or meeting point.
  - `kind` (string, required): Place type: rental, retail, rental_retail, workshop, depot, meeting_point, pickup, office or partner_desk. Values: `rental`, `retail`, `rental_retail`, `workshop`, `depot`, `meeting_point`, `pickup`, `office`, `partner_desk`.
  - `name` (string, required): Name shown to guests.
  - `phone` (string, required): Guest or shop telephone number.
  - `return_allowed` (boolean, required): Whether guests may return rentals at this place.
  - `time_zone` (string, required): IANA time zone used for this place's opening hours.
- `rental_day` (object, required): Rentals are picked up from opens on the first day and brought back by closes on the last
  - `closes` (string · time, required): 
  - `opens` (string · time, required): 
- `rental_periods` (object): Half-day and custom-hour options guests may book.
  - `half_day` (object, required): Morning and afternoon periods offered for rentals; null when unavailable.
    - `product_ids` (string · uuid[], required): Products of the rental catalog with a half-day price online
    - `slots` (object[], required): The shop's morning and afternoon start and end times, in local time.
      - `ends` (string, required): Local end time.
      - `kind` (string, required): Named half day: morning or afternoon. Values: `morning`, `afternoon`.
      - `starts` (string, required): Local start time.
  - `hourly` (object, required): Rules for choosing custom rental hours; null when unavailable.
    - `closes` (string, required): and ends at or before this
    - `min_minutes` (integer, required): The shortest chosen time
    - `opens` (string, required): A chosen time starts at or after this
    - `product_ids` (string · uuid[], required): Products of the rental catalog with an hourly price online
    - `step_minutes` (integer, required): Times fall on these steps
- `time_zone` (string, required): The shop's time zone: local days of every public read are in it



```json

{
  "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"
  }
}

```