Developer docs

Business info

Read a venue's legal name, postal address and contact details — what an imprint, a map link or a confirmation e-mail needs.

Legal name, postal address and contact details — what an imprint, a map link or a confirmation e-mail needs. It follows the same key rules as the rest of /api/venues/** (Keys and headers) and answers 404 with a problem body when no venue has that slug.

Endpoints

GET /api/venues/{venueSlug}/business-info

Response 200 OK

Field Type Meaning
slug string The venue
legalName string The operating company as it appears on receipts
addressLine1, addressLine2, city, postalCode, country string (addressLine2 nullable) Postal address
phone, email, website string (website nullable) Contact details the venue publishes
timezone string Same IANA zone as on the profile
{
  "slug": "demo-sportsbar",
  "legalName": "Neon Tap Hospitality GmbH",
  "addressLine1": "Boxhagener Straße 42",
  "addressLine2": null,
  "city": "Berlin",
  "postalCode": "10245",
  "country": "Germany",
  "phone": "+49 30 5555 0142",
  "email": "hey@theneontap.example",
  "website": "https://theneontap.example",
  "timezone": "Europe/Berlin"
}

Errors — 404 no venue with that slug.

curl

curl "https://api.bookdineplay.com/api/venues/your-venue/business-info" \
  -H "X-BookDinePlay-Key: bdp_pk_your_publishable_key" \
  -H "Origin: https://www.your-venue.example"

JavaScript

const info = await (await fetch('https://api.bookdineplay.com/api/venues/your-venue/business-info', {
  headers: { 'X-BookDinePlay-Key': 'bdp_pk_your_publishable_key' }
})).json();
console.log(`${info.legalName}, ${info.addressLine1}, ${info.postalCode} ${info.city}`);

C#

var info = await client.GetBusinessInfoAsync("your-venue", cancellationToken);

Next steps

  • Venue — the other five reads for this venue.
  • Messaging — offer this phone number or e-mail when guest messaging is not on the venue's plan.
  • .NET SDK — the same read as a typed method.