# Lodgix

> Run vacation rentals in Lodgix: find free properties and price stays, create and update reservations and guests, block dates, open work orders, and start workflows when a reservation comes in or changes.

App · 23 actions. Web page: https://docs.lodol.com/docs/integrations/lodgix

## Actions

### Block dates

Block a property's calendar for a range of days, such as for maintenance.

**Inputs**

- Property (`property_id`, text, required): The property. Pick one, or give its ID.
- Arrival date (`from_date`, date, required): The day the stay starts.
- Departure date (`to_date`, date, required): The day the stay ends.

**Outputs**

- `blocked` (true/false): True once the dates are blocked
- `from_date` (text): The first blocked day
- `property_id` (text): The property
- `to_date` (text): The day the block ends

**Example output**

```json
{
  "blocked": true,
  "from_date": "2027-01-10",
  "property_id": "501",
  "to_date": "2027-01-12"
}
```

### Calculate quote

Price a stay at a property: rent, fees, taxes, discounts and deposit.

**Inputs**

- Property (`property_id`, text, required): The property. Pick one, or give its ID.
- Arrival date (`from_date`, date, required): The day the stay starts.
- Departure date (`to_date`, date, required): The day the stay ends.
- Adults (`adults`, number, required): How many adults. At least 1.
- Children (`children`, number): How many children. At least 0.
- Pets (`pets`, number): How many pets. At least 0.
- Coupon code (`coupon_code`, text): A coupon code to apply.

**Outputs**

- `quote` (object): The quote

**Example output**

```json
{
  "quote": {
    "confirmation_amount": "245.00",
    "deposits": "200.00",
    "discount": "0.00",
    "fees": "100.00",
    "gross": "980.00",
    "gross_without_deposit": "780.00",
    "net": "800.00",
    "taxes": "80.00"
  }
}
```

### Create guest

Add a guest, to book a reservation for.

**Inputs**

- First name (`first_name`, text, required): First name.
- Last name (`last_name`, text, required): Last name.
- Email (`email`, text, required): Email address.
- Title (`title`, text, required): How to address the guest. One of: `MISTER` (Mr.), `MISSIS` (Mrs.), `MISS` (Ms.), `DR` (Dr.), `MRMRS` (Mr. & Mrs.).
- Company (`company`, text): Company name.
- Address (`address1`, text): Street address.
- City (`city`, text): City.
- ZIP code (`zip_code`, text): ZIP or postal code.
- State (`state`, text): State or province.
- Country (`country`, text): Country.
- Phone (`phone`, text): Phone number.
- Guest status (`status_id`, text): A guest status, such as VIP.

**Outputs**

- `guest` (object): The new guest

**Example output**

```json
{
  "guest": {
    "address": {
      "address1": "12 Lake Rd",
      "address2": "",
      "city": "Elkin",
      "country": {
        "code": "US",
        "name": "United States"
      },
      "phone": "",
      "state": {
        "code": "NC",
        "name": "North Carolina"
      },
      "zip": "28621"
    },
    "company": "",
    "email": "ann@example.com",
    "first_name": "Ann",
    "full_name": "Ann Lee",
    "id": 9001,
    "last_name": "Lee",
    "last_stay_date": "2026-07-10",
    "mobile_phone": "",
    "num_stays": 2,
    "status": {
      "description": "Returning guest",
      "id": 3,
      "is_blocklist": false,
      "is_vip": true,
      "name": "VIP"
    },
    "title": "MISS",
    "type": "Guest"
  }
}
```

### Create inquiry

Add an inquiry from a prospective guest about a property, such as one from a website form.

**Inputs**

- Property (`property_id`, text, required): The property. Pick one, or give its ID.
- First name (`first_name`, text, required): The guest's first name.
- Last name (`last_name`, text, required): The guest's last name.
- Email (`email`, text, required): The guest's email address.
- Arrival date (`from_date`, date, required): The day the stay starts.
- Departure date (`to_date`, date, required): The day the stay ends.
- Adults (`adults`, number, required): How many adults. At least 1.
- Subject (`subject`, text, required): The inquiry's subject.
- Children (`children`, number): How many children. At least 0.
- Message (`message`, text): The guest's message.
- Phone (`phone`, text): The guest's phone number.

**Outputs**

- `inquiry` (object): The new inquiry

**Example output**

```json
{
  "inquiry": {
    "adults": 2,
    "children": 0,
    "from_date": "2027-06-14",
    "id": 88,
    "to_date": "2027-06-18"
  }
}
```

### Create reservation

Book a property for a guest's stay. Create the guest first with 'Create guest' if they're new.

**Inputs**

- Property (`property_id`, text, required): The property. Pick one, or give its ID.
- Guest (`guest_id`, text, required): The guest. Pick one, or give its ID.
- Arrival date (`from_date`, date, required): The day the stay starts.
- Departure date (`to_date`, date, required): The day the stay ends.
- Adults (`adults`, number, required): How many adults. At least 1.
- Children (`children`, number): How many children. At least 0.
- Pets (`pets`, number): How many pets. At least 0.
- Stay type (`stay_type`, text): A guest's stay, or the owner's own. One of: `GUEST` (Guest stay (default)), `OWNER` (Owner stay).
- Referrer (`referrer`, text): Where the booking came from.
- Coupon code (`coupon_code`, text): A coupon code to apply.

**Outputs**

- `reservation` (object): The new reservation

**Example output**

```json
{
  "reservation": {
    "cancelled": "",
    "check_in": "16:00",
    "check_out": "10:00",
    "children": 0,
    "created": "2026-11-30T10:00:00",
    "from_date": "2027-06-14",
    "guest": {
      "email": "ann@example.com",
      "full_name": "Ann Lee",
      "id": 9001
    },
    "guest_id": 9001,
    "guests": 2,
    "id": 7001,
    "nights": "4",
    "notes": "",
    "paid": "0.00",
    "pets": 0,
    "properties": [
      {
        "id": 501,
        "name": "Lakeside Cabin"
      }
    ],
    "referrer": "Website",
    "state": "NOTPAID",
    "stay_type": "GUEST",
    "to_date": "2027-06-18",
    "total": "980.00"
  }
}
```

### Create work order

Open a maintenance work order, such as a repair at a property.

**Inputs**

- Description (`description`, text, required): What needs doing.
- Property (`property_id`, text): The property the work is at.
- Notes (`notes`, text): Notes on the work.
- Status (`status`, text): The work order's status.
- Priority (`priority`, text): How urgent it is.
- Job type (`job_type_id`, text): The kind of job.
- Team member ID (`team_member_id`, text): The team member doing the work.
- Start date (`start_date`, date): When the work starts.
- Start time (`start_time`, time): What time the work starts.
- Amount (`amount`, number): What the work costs. At least 0.
- Paid by (`who_will_pay`, text): Who pays for the work. One of: `OWNER` (The owner), `SUBSCRIBER` (The property manager).

**Outputs**

- `work_order` (object): The new work order

**Example output**

```json
{
  "work_order": {
    "amount": "40.00",
    "completed_date": "",
    "date_reported": "2026-11-30",
    "description": "Replace porch light",
    "id": 44,
    "job_type_id": "2",
    "notes": "",
    "number": 12,
    "priority": "high",
    "rental_property_id": "501",
    "start_date": "2026-12-02",
    "start_time": "09:00",
    "status": "open",
    "team_member_id": "",
    "who_will_pay": "OWNER"
  }
}
```

### Delete guest

Delete a guest who has no reservations.

**Inputs**

- Guest (`guest_id`, text, required): The guest. Pick one, or give its ID.

**Outputs**

- `deleted` (true/false): True once it is gone
- `guest_id` (text): The guest deleted

**Example output**

```json
{
  "deleted": true,
  "guest_id": "9001"
}
```

### Delete reservation

Delete a reservation, freeing its dates.

**Inputs**

- Reservation ID (`reservation_id`, text, required): The reservation's ID, from 'List reservations' or an earlier step.

**Outputs**

- `deleted` (true/false): True once it is gone
- `reservation_id` (text): The reservation deleted

**Example output**

```json
{
  "deleted": true,
  "reservation_id": "7001"
}
```

### Delete work order

Delete a work order.

**Inputs**

- Work order ID (`work_order_id`, text, required): The work order's ID, from 'List work orders' or an earlier step.

**Outputs**

- `deleted` (true/false): True once it is gone
- `work_order_id` (text): The work order deleted

**Example output**

```json
{
  "deleted": true,
  "work_order_id": "44"
}
```

### Find available properties

Find which properties are free for a stay, optionally big enough for a number of guests.

**Inputs**

- Arrival date (`from_date`, date, required): The day the stay starts.
- Departure date (`to_date`, date, required): The day the stay ends.
- Guests (`guests`, number): How many guests must fit. At least 1.

**Outputs**

- `count` (number): How many are free
- `property_ids` (list): The IDs of the free properties

**Example output**

```json
{
  "count": 2,
  "property_ids": [
    501,
    502
  ]
}
```

### Get account

Get the Lodgix account the API key belongs to.

**Inputs**: None.

**Outputs**

- `account` (object): The account

**Example output**

```json
{
  "account": {
    "address": {
      "address1": "12 Lake Rd",
      "address2": "",
      "city": "Elkin",
      "country": {
        "code": "US",
        "name": "United States"
      },
      "phone": "",
      "state": {
        "code": "NC",
        "name": "North Carolina"
      },
      "zip": "28621"
    },
    "email": "sam@example.com",
    "first_name": "Sam",
    "id": 11,
    "last_name": "Host"
  }
}
```

### Get guest

Get one guest with their address, status and number of stays.

**Inputs**

- Guest (`guest_id`, text, required): The guest. Pick one, or give its ID.

**Outputs**

- `guest` (object): The guest

**Example output**

```json
{
  "guest": {
    "address": {
      "address1": "12 Lake Rd",
      "address2": "",
      "city": "Elkin",
      "country": {
        "code": "US",
        "name": "United States"
      },
      "phone": "",
      "state": {
        "code": "NC",
        "name": "North Carolina"
      },
      "zip": "28621"
    },
    "company": "",
    "email": "ann@example.com",
    "first_name": "Ann",
    "full_name": "Ann Lee",
    "id": 9001,
    "last_name": "Lee",
    "last_stay_date": "2026-07-10",
    "mobile_phone": "",
    "num_stays": 2,
    "status": {
      "description": "Returning guest",
      "id": 3,
      "is_blocklist": false,
      "is_vip": true,
      "name": "VIP"
    },
    "title": "MISS",
    "type": "Guest"
  }
}
```

### Get property

Get one property with its size, check-in times, rates settings and policies.

**Inputs**

- Property (`property_id`, text, required): The property. Pick one, or give its ID.

**Outputs**

- `property` (object): The property

**Example output**

```json
{
  "property": {
    "address": {
      "city": "Elkin"
    },
    "bathrooms": "2",
    "bedrooms": 3,
    "check_in": "16:00",
    "check_out": "10:00",
    "created": "2026-01-05T10:00:00",
    "currency_code": "USD",
    "disabled": false,
    "id": 501,
    "max_guests": 6,
    "modified": "2026-11-20T10:00:00",
    "name": "Lakeside Cabin",
    "property_type": "CABIN",
    "url": "https://www.example.com/lakeside-cabin"
  }
}
```

### Get reservation

Get one reservation with its guest, dates, state and totals.

**Inputs**

- Reservation ID (`reservation_id`, text, required): The reservation's ID, from 'List reservations' or an earlier step.

**Outputs**

- `reservation` (object): The reservation

**Example output**

```json
{
  "reservation": {
    "cancelled": "",
    "check_in": "16:00",
    "check_out": "10:00",
    "children": 0,
    "created": "2026-11-30T10:00:00",
    "from_date": "2027-06-14",
    "guest": {
      "email": "ann@example.com",
      "full_name": "Ann Lee",
      "id": 9001
    },
    "guest_id": 9001,
    "guests": 2,
    "id": 7001,
    "nights": "4",
    "notes": "",
    "paid": "0.00",
    "pets": 0,
    "properties": [
      {
        "id": 501,
        "name": "Lakeside Cabin"
      }
    ],
    "referrer": "Website",
    "state": "NOTPAID",
    "stay_type": "GUEST",
    "to_date": "2027-06-18",
    "total": "980.00"
  }
}
```

### Get work order

Get one maintenance work order.

**Inputs**

- Work order ID (`work_order_id`, text, required): The work order's ID, from 'List work orders' or an earlier step.

**Outputs**

- `work_order` (object): The work order

**Example output**

```json
{
  "work_order": {
    "amount": "40.00",
    "completed_date": "",
    "date_reported": "2026-11-30",
    "description": "Replace porch light",
    "id": 44,
    "job_type_id": "2",
    "notes": "",
    "number": 12,
    "priority": "high",
    "rental_property_id": "501",
    "start_date": "2026-12-02",
    "start_time": "09:00",
    "status": "open",
    "team_member_id": "",
    "who_will_pay": "OWNER"
  }
}
```

### List guest statuses

List the guest statuses the account uses, such as VIP or blocklisted.

**Inputs**: None.

**Outputs**

- `count` (number): How many there are in all
- `has_more` (true/false): True when there is another page
- `statuses` (list): The guest statuses

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "statuses": [
    {
      "description": "Returning guest",
      "id": 3,
      "is_blocklist": false,
      "is_vip": true,
      "name": "VIP"
    }
  ]
}
```

### List guests

List the account's guests, or find them by email or name.

**Inputs**

- Email (`email`, text): Only the guest with this email address.
- Full name (`full_name`, text): Only guests with this full name.
- How many (`limit`, number): How many to return, up to 50. Defaults to 20. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many there are in all
- `guests` (list): The guests
- `has_more` (true/false): True when there is another page

**Example output**

```json
{
  "count": 1,
  "guests": [
    {
      "address": {
        "address1": "12 Lake Rd",
        "address2": "",
        "city": "Elkin",
        "country": {
          "code": "US",
          "name": "United States"
        },
        "phone": "",
        "state": {
          "code": "NC",
          "name": "North Carolina"
        },
        "zip": "28621"
      },
      "company": "",
      "email": "ann@example.com",
      "first_name": "Ann",
      "full_name": "Ann Lee",
      "id": 9001,
      "last_name": "Lee",
      "last_stay_date": "2026-07-10",
      "mobile_phone": "",
      "num_stays": 2,
      "status": {
        "description": "Returning guest",
        "id": 3,
        "is_blocklist": false,
        "is_vip": true,
        "name": "VIP"
      },
      "title": "MISS",
      "type": "Guest"
    }
  ],
  "has_more": false
}
```

### List properties

List the account's rental properties.

**Inputs**

- Include disabled (`include_disabled`, true/false): Also list disabled properties.
- How many (`limit`, number): How many to return, up to 50. Defaults to 20. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many there are in all
- `has_more` (true/false): True when there is another page
- `properties` (list): The properties

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "properties": [
    {
      "address": {
        "city": "Elkin"
      },
      "bathrooms": "2",
      "bedrooms": 3,
      "check_in": "16:00",
      "check_out": "10:00",
      "created": "2026-01-05T10:00:00",
      "currency_code": "USD",
      "disabled": false,
      "id": 501,
      "max_guests": 6,
      "modified": "2026-11-20T10:00:00",
      "name": "Lakeside Cabin",
      "property_type": "CABIN",
      "url": "https://www.example.com/lakeside-cabin"
    }
  ]
}
```

### List reservations

List reservations, with filters for dates, properties, guest, state and when they were made or changed.

**Inputs**

- Starting on or after (`from_date`, date): Only stays starting on or after this day.
- Ending on or before (`to_date`, date): Only stays ending on or before this day.
- Properties (`property_ids`, list): Only reservations at these properties.
- Guest (`guest_id`, text): Only this guest's reservations.
- States (`states`, list): Only reservations in these states. One or more of: `PAID`, `PAIDDEPOSIT` (Deposit paid), `PAIDOTHER` (Paid other), `NOTPAID` (Not paid), `BLOCKED`, `CANCELLED`.
- Made since (`created_after`, date and time): Only reservations made at or after this time.
- Changed since (`modified_after`, date and time): Only reservations changed at or after this time.
- Order (`ordering`, text): How to order them. One of: `-created` (Newest first), `created` (Oldest first), `from_date` (Arrival, soonest first), `-from_date` (Arrival, latest first), `-modified` (Most recently changed first).
- How many (`limit`, number): How many to return, up to 50. Defaults to 20. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many there are in all
- `has_more` (true/false): True when there is another page
- `reservations` (list): The reservations

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "reservations": [
    {
      "cancelled": "",
      "check_in": "16:00",
      "check_out": "10:00",
      "children": 0,
      "created": "2026-11-30T10:00:00",
      "from_date": "2027-06-14",
      "guest": {
        "email": "ann@example.com",
        "full_name": "Ann Lee",
        "id": 9001
      },
      "guest_id": 9001,
      "guests": 2,
      "id": 7001,
      "nights": "4",
      "notes": "",
      "paid": "0.00",
      "pets": 0,
      "properties": [
        {
          "id": 501,
          "name": "Lakeside Cabin"
        }
      ],
      "referrer": "Website",
      "state": "NOTPAID",
      "stay_type": "GUEST",
      "to_date": "2027-06-18",
      "total": "980.00"
    }
  ]
}
```

### List work orders

List maintenance work orders.

**Inputs**

- How many (`limit`, number): How many to return, up to 50. Defaults to 20. From 1 to 50.
- Skip (`offset`, number): How many to skip first, to read the next page. At least 0.

**Outputs**

- `count` (number): How many there are in all
- `has_more` (true/false): True when there is another page
- `work_orders` (list): The work orders

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "work_orders": [
    {
      "amount": "40.00",
      "completed_date": "",
      "date_reported": "2026-11-30",
      "description": "Replace porch light",
      "id": 44,
      "job_type_id": "2",
      "notes": "",
      "number": 12,
      "priority": "high",
      "rental_property_id": "501",
      "start_date": "2026-12-02",
      "start_time": "09:00",
      "status": "open",
      "team_member_id": "",
      "who_will_pay": "OWNER"
    }
  ]
}
```

### Update guest

Change a guest's name, email, address or status. Only the fields given change.

**Inputs**

- Guest (`guest_id`, text, required): The guest. Pick one, or give its ID.
- First name (`first_name`, text): A new first name.
- Last name (`last_name`, text): A new last name.
- Email (`email`, text): A new email address.
- Title (`title`, text): How to address the guest. One of: `MISTER` (Mr.), `MISSIS` (Mrs.), `MISS` (Ms.), `DR` (Dr.), `MRMRS` (Mr. & Mrs.).
- Company (`company`, text): Company name.
- Address (`address1`, text): Street address.
- City (`city`, text): City.
- ZIP code (`zip_code`, text): ZIP or postal code.
- State (`state`, text): State or province.
- Country (`country`, text): Country.
- Phone (`phone`, text): Phone number.
- Guest status (`status_id`, text): A guest status, such as VIP.

**Outputs**

- `guest` (object): The guest

**Example output**

```json
{
  "guest": {
    "address": {
      "address1": "12 Lake Rd",
      "address2": "",
      "city": "Elkin",
      "country": {
        "code": "US",
        "name": "United States"
      },
      "phone": "",
      "state": {
        "code": "NC",
        "name": "North Carolina"
      },
      "zip": "28621"
    },
    "company": "Lee & Co",
    "email": "ann@example.com",
    "first_name": "Ann",
    "full_name": "Ann Lee",
    "id": 9001,
    "last_name": "Lee",
    "last_stay_date": "2026-07-10",
    "mobile_phone": "",
    "num_stays": 2,
    "status": {
      "description": "Returning guest",
      "id": 3,
      "is_blocklist": false,
      "is_vip": true,
      "name": "VIP"
    },
    "title": "MISS",
    "type": "Guest"
  }
}
```

### Update reservation

Change a reservation's dates, notes or referrer. Only the fields given change.

**Inputs**

- Reservation ID (`reservation_id`, text, required): The reservation's ID, from 'List reservations' or an earlier step.
- Arrival date (`from_date`, date): A new arrival day.
- Departure date (`to_date`, date): A new departure day.
- Notes (`notes`, text): Notes on the reservation.
- Referrer (`referrer`, text): Where the booking came from.

**Outputs**

- `reservation` (object): The reservation

**Example output**

```json
{
  "reservation": {
    "cancelled": "",
    "check_in": "16:00",
    "check_out": "10:00",
    "children": 0,
    "created": "2026-11-30T10:00:00",
    "from_date": "2027-06-14",
    "guest": {
      "email": "ann@example.com",
      "full_name": "Ann Lee",
      "id": 9001
    },
    "guest_id": 9001,
    "guests": 2,
    "id": 7001,
    "nights": "4",
    "notes": "Early check-in asked",
    "paid": "0.00",
    "pets": 0,
    "properties": [
      {
        "id": 501,
        "name": "Lakeside Cabin"
      }
    ],
    "referrer": "Website",
    "state": "NOTPAID",
    "stay_type": "GUEST",
    "to_date": "2027-06-18",
    "total": "980.00"
  }
}
```

### Update work order

Change a work order's status, priority, notes or schedule. Only the fields given change.

**Inputs**

- Work order ID (`work_order_id`, text, required): The work order's ID, from 'List work orders' or an earlier step.
- Description (`description`, text): A new description.
- Property (`property_id`, text): The property the work is at.
- Notes (`notes`, text): Notes on the work.
- Status (`status`, text): The work order's status.
- Priority (`priority`, text): How urgent it is.
- Job type (`job_type_id`, text): The kind of job.
- Team member ID (`team_member_id`, text): The team member doing the work.
- Start date (`start_date`, date): When the work starts.
- Start time (`start_time`, time): What time the work starts.
- Amount (`amount`, number): What the work costs. At least 0.
- Paid by (`who_will_pay`, text): Who pays for the work. One of: `OWNER` (The owner), `SUBSCRIBER` (The property manager).

**Outputs**

- `work_order` (object): The work order

**Example output**

```json
{
  "work_order": {
    "amount": "40.00",
    "completed_date": "",
    "date_reported": "2026-11-30",
    "description": "Replace porch light",
    "id": 44,
    "job_type_id": "2",
    "notes": "",
    "number": 12,
    "priority": "high",
    "rental_property_id": "501",
    "start_date": "2026-12-02",
    "start_time": "09:00",
    "status": "done",
    "team_member_id": "",
    "who_will_pay": "OWNER"
  }
}
```
