Skip to main content

Get all businesses

GET 

/api/v3/businesses

Retrieve all business

Request

Query Parameters

    page integer

    Possible values: >= 1

    Default value: 1

    Page of items to fetch

    per_page integer

    Possible values: >= 1

    Number of items per page.

    search string

    Search by business name or city

    city string

    Filter businesses by city

    group_id uuid[]

    Filter businesses by access group ID

    sort string

    Possible values: [created_at, name]

    Default value: created_at

    Field to sort businesses by

    direction string

    Possible values: [asc, desc]

    Default value: asc

    Order direction for sorting

Responses

Schema

    page integerrequired

    Possible values: >= 1

    Default value: 1

    Current page

    max_page integerrequired

    Possible values: >= 1

    Default value: 1

    Max page based on current per_page value and count

    count integerrequired

    Default value: 0

    Number of items per page.

    items

    object[]

    required

  • Array [

  • id uuidrequired

    Unique ID of the guest

    access_group_id stringnullable

    Access group id that the business belongs to

    auto_accept_booking_limit integernullable

    Max number of guest in a booking that the business can auto accept

    bio stringnullable

    Business bio

    city stringnullable

    City where the business is located

    country stringnullable

    Country where the business is located

    country_code stringnullable

    Country code of the business

    currency stringnullable

    Currency of the business

    email stringnullable

    Email of the business

    facebook_url stringnullable

    Facebook page of the business

    latitude doublenullable

    Latitude of the business

    longitude doublenullable

    Longitude of the business

    has_reservations booleannullable

    If the business has reservations enabled

    instagram_url stringnullable

    Instagram page of the business

    logo_url stringnullable

    Logo of the business

    max_reservation_size integernullable

    Max number of guests in a reservation

    min_time_before_reservation integernullable

    Min time before a reservation can be made

    name stringnullable

    Name of the business

    phone stringnullable

    Phone number of the business

    post_code stringnullable

    Post code of the business

    slug stringnullable

    Slug of the business

    state stringnullable

    Possible values: [draft, waiting_for_approval, rejected, published, hidden]

    State in which business is

    street stringnullable

    Street where the business is located

    tagline stringnullable

    Tagline of the business

    time_of_stay integernullable

    Default duration of reservation in seconds

    time_slots integernullable

    Number of time slots available for booking

    timezone stringnullable

    Timezone of the business

    floor_plan_unit_name stringnullable

    Name of the floor plan unit

    floor_plan_unit_style stringnullable

    Possible values: [Style 1, Style 2]

    Style of the floor plan uni

    website_url stringnullable

    Website of the business

    youtube_url stringnullable

    Youtube page of the business

    cover_photo_url stringnullable

    Cover photo of the business

    photo_urls string[]required

    opening_hours

    object

    nullable

    monday string[]required
    tuesday string[]required
    wednesday string[]required
    thursday string[]required
    friday string[]required
    saturday string[]required
    sunday string[]required
  • ]

Loading...