Offer

Retrieve the information about a specific restaurant's offer

get/api/v1/restaurants/{restaurant_id}/offers/{offer_id}

Request

  • Base URL: https://gotable.app
  • URL: https://gotable.app/api/v1/restaurants/{restaurant_id}/offers/{offer_id}
  • Auth: HTTP bearer

Path parameters

restaurant_idinteger required
offer_idinteger required

Response

With a valid API token

idinteger

The unique ID of the offer

restaurant_idinteger

The unique ID of the restaurant

created_atstring datetime

The datetime the offer was created

updated_atstring datetime

The datetime the offer was last updated

deposit_per_guestinteger nullable

The deposit amount, in cents, required per guest when making a reservation

visibleboolean

Wether or not the offer is currently visible

visible_fromstring date

The date that this offer becomes visible

available_fromstring date nullable

The first date that you can book this offer on

available_tillstring date nullable

The last date that you can book this offer on

tagsstring[]

An array of tags of the offer that are automatically given to reservations made for it

Example response

{
  "id": 45678,
  "restaurant_id": 12345,
  "created_at": "2026-09-15T06:18:20+02:00",
  "updated_at": "2026-09-15T06:18:20+02:00",
  "deposit_per_guest": 1250,
  "visible": true,
  "tags": [
    "Voetballers"
  ],
  "links": [
    {
      "url": "https://gotable.app/api/v1/restaurants/12345/offers/45678",
      "rel": "self",
      "method": "GET"
    },
    {
      "url": "https://gotable.app/api/v1/restaurants/12345",
      "rel": "restaurant",
      "method": "GET"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.