Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.21 KB

list-location-booking-profiles-response.md

File metadata and controls

36 lines (28 loc) · 1.21 KB

List Location Booking Profiles Response

Structure

ListLocationBookingProfilesResponse

Fields

Name Type Tags Description Getter
LocationBookingProfiles List<LocationBookingProfile> Optional The list of a seller's location booking profiles. List getLocationBookingProfiles()
Cursor String Optional 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. String getCursor()
Errors List<Error> Optional Errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "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,
      "booking_site_url": "booking_site_url2"
    }
  ],
  "cursor": "cursor8"
}