Skip to main content

Update guest by id within a business

PUT 

/api/v2/businesses/:business_id/guests/:guest_id

Update a guest by their id within a specific business

Request

Path Parameters

    business_id stringrequired
    guest_id stringrequired

Body

required

    email email

    Email of the guest

    first_name string

    First name of the guest

    last_name string

    Last name of the guest

    birthday datenullable

    Birthday of the guest

    phone stringnullable

    Possible values: >= 6 characters and <= 15 characters, Value must match regular expression ^[0-9]*$

    Phone number of the guest

    phone_country_code stringnullable

    Possible values: >= 2 characters and <= 2 characters, Value must match regular expression ^[A-Z]{2}$

    Country code of the phone number

    phone_country_prefix stringnullable

    Possible values: non-empty and <= 4 characters, Value must match regular expression ^[0-9]+$

    Country prefix of the phone number

    tags string[]
    general_note stringnullable

    General note about the guest

    visit_note stringnullable

    Note about the guest's visit

Responses

Schema

    id uuidrequired

    Unique ID of the guest

    email emailrequired

    Email of the guest

    first_name stringrequired

    First name of the guest

    last_name stringrequired

    Last name of the guest

    birthday datenullable

    Birthday of the guest

    phone stringnullable

    Possible values: >= 6 characters and <= 15 characters, Value must match regular expression ^[0-9]*$

    Phone number of the guest

    phone_country_code stringnullable

    Possible values: >= 2 characters and <= 2 characters, Value must match regular expression ^[A-Z]{2}$

    Country code of the phone number

    phone_country_prefix stringnullable

    Possible values: non-empty and <= 4 characters, Value must match regular expression ^[0-9]+$

    Country prefix of the phone number

    tags string[]required
    general_note stringnullable

    General note about the guest

    visit_note stringnullable

    Note about the guest's visit

Loading...