v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
Bookings

ListLocationBookingProfiles

Lists location booking profiles of a seller.

get/v2/bookings/location-booking-profiles

Query parameters

limitinteger

The maximum number of results to return in a paged response.

cursorstring

The pagination cursor from the preceding response to return the next page of the results. Do not set this when retrieving the first page of the results.

Response

Success

cursorstring

The pagination cursor to be used in the subsequent request to get the next page of the results. Stop retrieving the next page of the results when the cursor is not set.

Example response

{
  "errors": [],
  "location_booking_profiles": [
    {
      "booking_site_url": "https://squareup.com/book/LY6WNBPVM6VGV/testbusiness",
      "location_id": "LY6WNBPVM6VGV",
      "online_booking_enabled": true
    },
    {
      "location_id": "PYTRNBPVMJUPV",
      "online_booking_enabled": false
    }
  ]
}