# OwnerRez

> Manage OwnerRez bookings, guests, quotes and tags, read properties, inquiries, owners, reviews and payments, and follow new bookings, cancellations, inquiries, quotes, guests and payments.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/ownerrez

## Actions

### Add tag

Add a tag to a booking, guest, property, quote, inquiry or owner.

**Inputs**

- Record type (`entity_type`, text, required): What kind of record the tag is on. One of: `booking`, `inquiry`, `property`, `quote`, `guest`, `blocked_off_time` (Blocked-off time), `owner` (Owner stay).
- Record ID (`entity_id`, number, required): The record's ID in OwnerRez. At least 1.
- Tag (`name`, text, required): The tag to add, by name. Choose one set up in OwnerRez or type a new one.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "entity_id": 1,
    "entity_type": "example",
    "id": 1,
    "name": "example",
    "tag_definition_id": 1
  }
}
```

### Create booking

Add a guest booking, a blocked-off time or an owner stay to a property's calendar.

**Inputs**

- Property (`property_id`, number, required): The property. At least 1.
- Arrival (`arrival`, date, required): Arrival date, in the property's time zone.
- Departure (`departure`, date, required): Departure date, in the property's time zone.
- Type (`type`, text): What to add. Leave empty for a guest booking. One of: `booking`, `block` (Blocked-off time), `owner` (Owner stay). Default: `booking`.
- Guest ID (`guest_id`, number): The guest's ID in OwnerRez. Needed for a guest booking; leave empty for a blocked-off time or owner stay. At least 1.
- Title (`title`, text): A label for the booking, usually for a blocked-off time.
- Check-in time (`check_in`, time): Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time (`check_out`, time): Check-out time in the property's time zone. Leave empty for the property's own.
- Adults (`adults`, number): The number of adults. At least 0.
- Children (`children`, number): The number of children. At least 0.
- Infants (`infants`, number): The number of infants. At least 0.
- Pets (`pets`, number): The number of pets. At least 0.
- Notes (`notes`, text): Internal notes.
- Listing site (`listing_site_id`, number): The listing site (channel) it is attributed to. At least 1.
- Add default charges (`generate_charges`, true/false): Add the property's default charges to the booking. Needs at least one adult.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "booked_utc": "example",
    "canceled_utc": "example",
    "check_in": "example",
    "check_out": "example",
    "children": 1,
    "created_utc": "example",
    "currency_code": "example",
    "departure": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "notes": "example",
    "owner_id": 1,
    "pets": 1,
    "platform_reservation_number": "example",
    "property": {
      "external_name": "example",
      "id": 1,
      "internal_code": "example",
      "name": "example",
      "public_url": "example"
    },
    "property_id": 1,
    "quote_id": 1,
    "status": "example",
    "tags": [
      "example"
    ],
    "title": "example",
    "total_amount": 1,
    "total_owed": 1,
    "total_paid": 1,
    "total_refunded": 1,
    "type": "example",
    "updated_utc": "example"
  }
}
```

### Create guest

Add a guest (contact) to OwnerRez.

**Inputs**

- First name (`first_name`, text): The guest's first name.
- Last name (`last_name`, text): The guest's last name.
- Email (`email`, text): The guest's email address. It becomes their default email address.
- Phone (`phone`, text): The guest's phone number. It becomes their default phone number.
- Notes (`notes`, text): Notes about the guest.
- Preferred language (`preferred_language`, text): The guest's preferred language as a language tag, such as es or es-MX.
- Banned (`is_banned`, true/false): Mark the guest as banned from booking.
- Opted out of marketing email (`opt_out_marketing_email`, true/false): The guest has opted out of marketing email.
- Opted out of marketing texts (`opt_out_marketing_sms`, true/false): The guest has opted out of marketing text messages.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "addresses": [
      {
        "city": "example",
        "country": "example",
        "id": 1,
        "is_default": true,
        "postal_code": "example",
        "province": "example",
        "state": "example",
        "street1": "example",
        "street2": "example",
        "type": "example"
      }
    ],
    "email_addresses": [
      {
        "address": "example",
        "id": 1,
        "is_default": true,
        "type": "example"
      }
    ],
    "first_name": "example",
    "id": 1,
    "is_banned": true,
    "last_name": "example",
    "notes": "example",
    "opt_out_marketing_email": true,
    "opt_out_marketing_sms": true,
    "opt_out_transactional_sms": true,
    "phones": [
      {
        "extension": "example",
        "id": 1,
        "is_default": true,
        "number": "example",
        "type": "example"
      }
    ],
    "preferred_language": "example",
    "tags": [
      "example"
    ]
  }
}
```

### Create quote

Quote a guest for a stay at a property, with the property's charges worked out.

**Inputs**

- Property (`property_id`, number, required): The property. At least 1.
- Guest ID (`guest_id`, number, required): The guest's ID in OwnerRez. Create the guest first with Create guest if they are new. At least 1.
- Arrival (`arrival`, date, required): Arrival date, in the property's time zone.
- Departure (`departure`, date, required): Departure date, in the property's time zone.
- Check-in time (`check_in`, time): Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time (`check_out`, time): Check-out time in the property's time zone. Leave empty for the property's own.
- Adults (`adults`, number): The number of adults. At least 0.
- Children (`children`, number): The number of children. At least 0.
- Infants (`infants`, number): The number of infants. At least 0.
- Pets (`pets`, number): The number of pets. At least 0.
- Notes (`notes`, text): Notes about the quote.
- Listing site (`listing_site_id`, number): The listing site (channel) it is attributed to. At least 1.
- Discount code (`discount_code`, text): A discount code to apply.
- Expires (`expires`, date and time): When the quote expires. Leave empty for the property's default.
- Hold dates (`hold_dates`, true/false): Hold the dates on the calendar while the quote is open.
- Email the guest (`send_email`, true/false): Send OwnerRez's quote email to the guest.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "check_in": "example",
    "check_out": "example",
    "children": 1,
    "created_utc": "example",
    "departure": "example",
    "expires_utc": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "hold_dates": true,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "notes": "example",
    "payment_form": "example",
    "pets": 1,
    "property_id": 1,
    "quoted_utc": "example",
    "tags": [
      "example"
    ],
    "updated_utc": "example"
  }
}
```

### Delete guest

Delete a guest from OwnerRez.

**Inputs**

- Guest ID (`guest_id`, number, required): The guest's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete quote

Delete a quote.

**Inputs**

- Quote ID (`quote_id`, number, required): The quote's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Get booking

Get a booking: its property, guest, dates, party size, status and totals.

**Inputs**

- Booking ID (`booking_id`, number, required): The booking's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "booked_utc": "example",
    "canceled_utc": "example",
    "check_in": "example",
    "check_out": "example",
    "children": 1,
    "created_utc": "example",
    "currency_code": "example",
    "departure": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "notes": "example",
    "owner_id": 1,
    "pets": 1,
    "platform_reservation_number": "example",
    "property": {
      "external_name": "example",
      "id": 1,
      "internal_code": "example",
      "name": "example",
      "public_url": "example"
    },
    "property_id": 1,
    "quote_id": 1,
    "status": "example",
    "tags": [
      "example"
    ],
    "title": "example",
    "total_amount": 1,
    "total_owed": 1,
    "total_paid": 1,
    "total_refunded": 1,
    "type": "example",
    "updated_utc": "example"
  }
}
```

### Get current user

Get the OwnerRez user that's connected: name, email, company and time zone.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "company_name": "example",
    "email_address": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "time_zone": "example"
  }
}
```

### Get guest

Get a guest with their email addresses, phone numbers, addresses and notes.

**Inputs**

- Guest ID (`guest_id`, number, required): The guest's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "addresses": [
      {
        "city": "example",
        "country": "example",
        "id": 1,
        "is_default": true,
        "postal_code": "example",
        "province": "example",
        "state": "example",
        "street1": "example",
        "street2": "example",
        "type": "example"
      }
    ],
    "email_addresses": [
      {
        "address": "example",
        "id": 1,
        "is_default": true,
        "type": "example"
      }
    ],
    "first_name": "example",
    "id": 1,
    "is_banned": true,
    "last_name": "example",
    "notes": "example",
    "opt_out_marketing_email": true,
    "opt_out_marketing_sms": true,
    "opt_out_transactional_sms": true,
    "phones": [
      {
        "extension": "example",
        "id": 1,
        "is_default": true,
        "number": "example",
        "type": "example"
      }
    ],
    "preferred_language": "example",
    "tags": [
      "example"
    ]
  }
}
```

### Get inquiry

Get an inquiry: its property, guest, requested dates, party size and comments.

**Inputs**

- Inquiry ID (`inquiry_id`, number, required): The inquiry's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "children": 1,
    "comments": "example",
    "created_utc": "example",
    "departure": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "guests": 1,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "pets": 1,
    "property_id": 1,
    "received_utc": "example",
    "tags": [
      "example"
    ],
    "type": "example",
    "updated_utc": "example"
  }
}
```

### Get property

Get a property's details: address, rooms, guest limits and check-in and check-out times.

**Inputs**

- Property (`property_id`, number, required): The property. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "active": true,
    "address": {
      "city": "example",
      "country": "example",
      "id": 1,
      "is_default": true,
      "postal_code": "example",
      "province": "example",
      "state": "example",
      "street1": "example",
      "street2": "example",
      "type": "example"
    },
    "bathrooms": 1,
    "bedrooms": 1,
    "check_in": "example",
    "check_out": "example",
    "created_utc": "example",
    "currency_code": "example",
    "external_name": "example",
    "id": 1,
    "internal_code": "example",
    "max_adults": 1,
    "max_children": 1,
    "max_guests": 1,
    "max_pets": 1,
    "name": "example",
    "owner_id": 1,
    "property_type": "example",
    "public_url": "example",
    "tags": [
      "example"
    ],
    "thumbnail_url": "example",
    "time_zone": "example",
    "updated_utc": "example"
  }
}
```

### Get quote

Get a quote: its property, guest, dates, party size and expiry.

**Inputs**

- Quote ID (`quote_id`, number, required): The quote's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "check_in": "example",
    "check_out": "example",
    "children": 1,
    "created_utc": "example",
    "departure": "example",
    "expires_utc": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "hold_dates": true,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "notes": "example",
    "payment_form": "example",
    "pets": 1,
    "property_id": 1,
    "quoted_utc": "example",
    "tags": [
      "example"
    ],
    "updated_utc": "example"
  }
}
```

### List bookings

List bookings for some properties or changed since a time, optionally by stay dates and status.

**Inputs**

- Properties (`property_ids`, list): Only these properties. Leave empty for every property.
- Changed since (`since`, date and time): Only records created or changed at or after this time.
- Departs on or after (`departs_from`, date): Only bookings that depart on or after this date.
- Arrives on or before (`arrives_until`, date): Only bookings that arrive on or before this date.
- Status (`status`, text): Only bookings with this status. One of: `active`, `pending`, `canceled`.
- Include guest (`include_guest`, true/false): Also return each booking's guest name.
- Include charges (`include_charges`, true/false): Also return each booking's charges.
- Include tags (`include_tags`, true/false): Also return each booking's tags.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "adults": 1,
        "arrival": "example",
        "booked_utc": "example",
        "canceled_utc": "example",
        "check_in": "example",
        "check_out": "example",
        "children": 1,
        "created_utc": "example",
        "currency_code": "example",
        "departure": "example",
        "guest": {
          "first_name": "example",
          "id": 1,
          "last_name": "example"
        },
        "guest_id": 1,
        "id": 1,
        "infants": 1,
        "listing_site": "example",
        "notes": "example",
        "owner_id": 1,
        "pets": 1,
        "platform_reservation_number": "example",
        "property": {
          "external_name": "example",
          "id": 1,
          "internal_code": "example",
          "name": "example",
          "public_url": "example"
        },
        "property_id": 1,
        "quote_id": 1,
        "status": "example",
        "tags": [
          "example"
        ],
        "title": "example",
        "total_amount": 1,
        "total_owed": 1,
        "total_paid": 1,
        "total_refunded": 1,
        "type": "example",
        "updated_utc": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List guests

Search guests by name, email or phone, or list those created since a time or staying between dates.

**Inputs**

- Search (`search`, text): Words to search for in a guest's name, email address or phone number.
- Created since (`created_since`, date and time): Only guests created at or after this time.
- Departs on or after (`departs_from`, date): Only guests whose stay departs on or after this date.
- Arrives on or before (`arrives_until`, date): Only guests whose stay arrives on or before this date.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "addresses": [
          {
            "city": "example",
            "country": "example",
            "id": 1,
            "is_default": true,
            "postal_code": "example",
            "province": "example",
            "state": "example",
            "street1": "example",
            "street2": "example",
            "type": "example"
          }
        ],
        "email_addresses": [
          {
            "address": "example",
            "id": 1,
            "is_default": true,
            "type": "example"
          }
        ],
        "first_name": "example",
        "id": 1,
        "is_banned": true,
        "last_name": "example",
        "notes": "example",
        "opt_out_marketing_email": true,
        "opt_out_marketing_sms": true,
        "opt_out_transactional_sms": true,
        "phones": [
          {
            "extension": "example",
            "id": 1,
            "is_default": true,
            "number": "example",
            "type": "example"
          }
        ],
        "preferred_language": "example",
        "tags": [
          "example"
        ]
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List inquiries

List guest inquiries, optionally for some properties or changed since a time.

**Inputs**

- Properties (`property_ids`, list): Only these properties. Leave empty for every property.
- Changed since (`since`, date and time): Only records created or changed at or after this time.
- Include guest (`include_guest`, true/false): Also return each inquiry's guest name.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "adults": 1,
        "arrival": "example",
        "children": 1,
        "comments": "example",
        "created_utc": "example",
        "departure": "example",
        "guest": {
          "first_name": "example",
          "id": 1,
          "last_name": "example"
        },
        "guest_id": 1,
        "guests": 1,
        "id": 1,
        "infants": 1,
        "listing_site": "example",
        "pets": 1,
        "property_id": 1,
        "received_utc": "example",
        "tags": [
          "example"
        ],
        "type": "example",
        "updated_utc": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List owners

List the property owners in the account.

**Inputs**

- Active (`active`, true/false): Only active owners (true) or only inactive ones (false). Leave empty for both.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "active": true,
        "address": {
          "city": "example",
          "country": "example",
          "id": 1,
          "is_default": true,
          "postal_code": "example",
          "province": "example",
          "state": "example",
          "street1": "example",
          "street2": "example",
          "type": "example"
        },
        "email_address": "example",
        "id": 1,
        "name": "example",
        "notes": "example",
        "phone": {
          "extension": "example",
          "id": 1,
          "is_default": true,
          "number": "example",
          "type": "example"
        },
        "tags": [
          "example"
        ]
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List payments

List payments received, optionally for one booking or changed since a time.

**Inputs**

- Booking ID (`booking_id`, number): Only payments on this booking. At least 1.
- Changed since (`since`, date and time): Only records created or changed at or after this time.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "amount": 1,
        "booking_id": 1,
        "collected_utc": "example",
        "description": "example",
        "id": 1,
        "is_deposited": true,
        "total_fees": 1,
        "type": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List properties

List the account's properties with their address, size and check-in rules.

**Inputs**

- Active (`active`, true/false): Only active properties (true) or only inactive ones (false). Leave empty for both.
- Available from (`available_from`, date): With Available until, only properties free for that whole stay.
- Available until (`available_until`, date): With Available from, only properties free for that whole stay.
- Include tags (`include_tags`, true/false): Also return each property's tags.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "active": true,
        "address": {
          "city": "example",
          "country": "example",
          "id": 1,
          "is_default": true,
          "postal_code": "example",
          "province": "example",
          "state": "example",
          "street1": "example",
          "street2": "example",
          "type": "example"
        },
        "bathrooms": 1,
        "bedrooms": 1,
        "check_in": "example",
        "check_out": "example",
        "created_utc": "example",
        "currency_code": "example",
        "external_name": "example",
        "id": 1,
        "internal_code": "example",
        "max_adults": 1,
        "max_children": 1,
        "max_guests": 1,
        "max_pets": 1,
        "name": "example",
        "owner_id": 1,
        "property_type": "example",
        "public_url": "example",
        "tags": [
          "example"
        ],
        "thumbnail_url": "example",
        "time_zone": "example",
        "updated_utc": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List quotes

List quotes, optionally for some properties or changed since a time.

**Inputs**

- Properties (`property_ids`, list): Only these properties. Leave empty for every property.
- Changed since (`since`, date and time): Only records created or changed at or after this time.
- Include guest (`include_guest`, true/false): Also return each quote's guest name.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "adults": 1,
        "arrival": "example",
        "check_in": "example",
        "check_out": "example",
        "children": 1,
        "created_utc": "example",
        "departure": "example",
        "expires_utc": "example",
        "guest": {
          "first_name": "example",
          "id": 1,
          "last_name": "example"
        },
        "guest_id": 1,
        "hold_dates": true,
        "id": 1,
        "infants": 1,
        "listing_site": "example",
        "notes": "example",
        "payment_form": "example",
        "pets": 1,
        "property_id": 1,
        "quoted_utc": "example",
        "tags": [
          "example"
        ],
        "updated_utc": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List reviews

List guest reviews of the account's properties. Needs OwnerRez's Integrated Websites premium.

**Inputs**

- Properties (`property_ids`, list): Only these properties. Leave empty for every property.
- Changed since (`since`, date and time): Only records created or changed at or after this time.
- Visible (`visible`, true/false): Only visible reviews (true) or only hidden ones (false). Leave empty for both.
- Include guest (`include_guest`, true/false): Also return each review's guest name.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "body": "example",
        "booking_id": 1,
        "created_utc": "example",
        "date": "example",
        "display_name": "example",
        "guest": {
          "first_name": "example",
          "id": 1,
          "last_name": "example"
        },
        "guest_id": 1,
        "id": 1,
        "listing_site": "example",
        "property": {
          "external_name": "example",
          "id": 1,
          "internal_code": "example",
          "name": "example",
          "public_url": "example"
        },
        "property_id": 1,
        "response": "example",
        "reviewer": "example",
        "stars": 1,
        "title": "example",
        "updated_utc": "example",
        "visible": true
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List tag definitions

List the tags set up in the account, which can be added to records.

**Inputs**

- Active (`active`, true/false): Only active tags (true) or only inactive ones (false). Leave empty for both.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "color": "example",
        "description": "example",
        "id": 1,
        "name": "example",
        "title": "example"
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### List tags on record

List the tags on a booking, guest, property, quote, inquiry or owner.

**Inputs**

- Record type (`entity_type`, text, required): What kind of record the tag is on. One of: `booking`, `inquiry`, `property`, `quote`, `guest`, `blocked_off_time` (Blocked-off time), `owner` (Owner stay).
- Record ID (`entity_id`, number, required): The record's ID in OwnerRez. At least 1.
- Records to return (`limit`, number): How many records to return, up to 100. Leave empty for 100. From 1 to 100.
- Next cursor (`cursor`, text): The Next cursor from the last page, to read the page after it. Leave empty for the first page.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "entity_id": 1,
        "entity_type": "example",
        "id": 1,
        "name": "example",
        "tag_definition_id": 1
      }
    ],
    "next_cursor": "example",
    "next_page_url": "example"
  }
}
```

### Remove tag

Remove a tag from a record, by the tag's ID or by its name.

**Inputs**

- Tag ID (`tag_id`, number): The tag's ID, which Add tag and List tags on record return. Leave empty to remove by name. At least 1.
- Tag name (`name`, text): The tag's name, to remove it by name with the record type and ID.
- Record type (`entity_type`, text): What kind of record the tag is on. One of: `booking`, `inquiry`, `property`, `quote`, `guest`, `blocked_off_time` (Blocked-off time), `owner` (Owner stay).
- Record ID (`entity_id`, number): The record's ID in OwnerRez. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "name": "example",
    "removed": true,
    "tag_id": 1
  }
}
```

### Update booking

Change a booking's dates, times, party size, title or notes. Only the fields filled in change.

**Inputs**

- Booking ID (`booking_id`, number, required): The booking's ID in OwnerRez. At least 1.
- Arrival (`arrival`, date): New arrival date, in the property's time zone.
- Departure (`departure`, date): New departure date, in the property's time zone.
- Title (`title`, text): A new label for the booking.
- Check-in time (`check_in`, time): Check-in time in the property's time zone. Leave empty for the property's own.
- Check-out time (`check_out`, time): Check-out time in the property's time zone. Leave empty for the property's own.
- Adults (`adults`, number): The number of adults. At least 0.
- Children (`children`, number): The number of children. At least 0.
- Infants (`infants`, number): The number of infants. At least 0.
- Pets (`pets`, number): The number of pets. At least 0.
- Notes (`notes`, text): Internal notes.
- Listing site (`listing_site_id`, number): The listing site (channel) it is attributed to. At least 1.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "adults": 1,
    "arrival": "example",
    "booked_utc": "example",
    "canceled_utc": "example",
    "check_in": "example",
    "check_out": "example",
    "children": 1,
    "created_utc": "example",
    "currency_code": "example",
    "departure": "example",
    "guest": {
      "first_name": "example",
      "id": 1,
      "last_name": "example"
    },
    "guest_id": 1,
    "id": 1,
    "infants": 1,
    "listing_site": "example",
    "notes": "example",
    "owner_id": 1,
    "pets": 1,
    "platform_reservation_number": "example",
    "property": {
      "external_name": "example",
      "id": 1,
      "internal_code": "example",
      "name": "example",
      "public_url": "example"
    },
    "property_id": 1,
    "quote_id": 1,
    "status": "example",
    "tags": [
      "example"
    ],
    "title": "example",
    "total_amount": 1,
    "total_owed": 1,
    "total_paid": 1,
    "total_refunded": 1,
    "type": "example",
    "updated_utc": "example"
  }
}
```

### Update guest

Change a guest's details. Only the fields filled in change; an email or phone given replaces the guest's list of them.

**Inputs**

- Guest ID (`guest_id`, number, required): The guest's ID in OwnerRez. At least 1.
- First name (`first_name`, text): The guest's first name.
- Last name (`last_name`, text): The guest's last name.
- Email (`email`, text): The guest's email address. It becomes their default email address.
- Phone (`phone`, text): The guest's phone number. It becomes their default phone number.
- Notes (`notes`, text): Notes about the guest.
- Preferred language (`preferred_language`, text): The guest's preferred language as a language tag, such as es or es-MX.
- Banned (`is_banned`, true/false): Mark the guest as banned from booking.
- Opted out of marketing email (`opt_out_marketing_email`, true/false): The guest has opted out of marketing email.
- Opted out of marketing texts (`opt_out_marketing_sms`, true/false): The guest has opted out of marketing text messages.

**Outputs**

- `data` (object): The response from OwnerRez.

**Example output**

```json
{
  "data": {
    "addresses": [
      {
        "city": "example",
        "country": "example",
        "id": 1,
        "is_default": true,
        "postal_code": "example",
        "province": "example",
        "state": "example",
        "street1": "example",
        "street2": "example",
        "type": "example"
      }
    ],
    "email_addresses": [
      {
        "address": "example",
        "id": 1,
        "is_default": true,
        "type": "example"
      }
    ],
    "first_name": "example",
    "id": 1,
    "is_banned": true,
    "last_name": "example",
    "notes": "example",
    "opt_out_marketing_email": true,
    "opt_out_marketing_sms": true,
    "opt_out_transactional_sms": true,
    "phones": [
      {
        "extension": "example",
        "id": 1,
        "is_default": true,
        "number": "example",
        "type": "example"
      }
    ],
    "preferred_language": "example",
    "tags": [
      "example"
    ]
  }
}
```
