Mews

App · 25 actions

Book, change, confirm, check in, check out and cancel reservations in Mews, manage guest profiles, companies, room status and staff tasks, check availability, read bills and payments, and follow new and changed reservations, arrivals, departures, guests, tasks, payments and room status.

Actions

ActionWhat it does
Cancel reservationCancel a reservation, with or without the rate's cancellation fee.
Check in reservationCheck a guest in.
Check out reservationCheck a guest out on the last day of their stay.
Confirm reservationConfirm an optional reservation.
Create companyAdd a company or travel agency.
Create customerAdd a customer (guest profile).
Create reservationBook a stay for a customer: a room type and rate for the nights between two dates.
Create taskGive the property's staff a task, such as preparing a room, optionally for a department or a reservation.
Delete companyDelete a company.
Get availabilityGet each room type's availability and occupancy for each night between two dates.
Get property detailsGet the property's details: its name, time zone, language, currencies and contact details.
Get reservationGet a reservation's details: its dates, status, guests, room type, room and rate.
List billsList bills by customer, status, type or date.
List companiesList the active companies and travel agencies, by name, ID or when they were added or changed.
List customersFind customers (guest profiles) by email, name, loyalty code, ID or when they were added or changed.
List paymentsList payments by reservation, customer, bill, status, type or date.
List ratesList a service's active rates (pricing plans).
List reservationsList reservations by arrival, departure, stay, check-in, check-out, creation or update date, status, confirmation number or customer.
List room typesList a service's room types (resource categories), with their names and capacity.
List roomsList the property's rooms and other resources, with each one's housekeeping status.
List servicesList the property's services, such as accommodation, parking or breakfast.
List tasksList tasks for the property's staff, by when they were created, are due or were closed, or by reservation.
Update customerChange a customer's details.
Update reservationChange a reservation's dates, room type, room, rate, purpose, company or channel number.
Update room statusSet a room's housekeeping status: dirty, clean, inspected or out of service.

Cancel reservation

Cancel a reservation, with or without the rate's cancellation fee.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.
ReasonnotestextRequired
Why it's canceled. Mews keeps it with the reservation.
Charge cancellation feecharge_cancellation_feetrue/false
Charge the cancellation fee the rate sets. Leave empty for no fee.
Send cancellation emailsend_emailtrue/false
Whether Mews emails the guest that it's canceled. Leave empty to send it.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "ReservationIds": [
      "example"
    ]
  }
}

Check in reservation

Check a guest in. The reservation must be confirmed, due today and have an inspected room assigned.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {}
}

Check out reservation

Check a guest out on the last day of their stay.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.
Close billsclose_billstrue/false
Close the guest's bills that can be closed.
Allow an open balanceallow_open_balancetrue/false
Check out even if the guest still owes money. Give the reason in Notes.
Notesnotestext
Why the guest leaves with a balance open.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {}
}

Confirm reservation

Confirm an optional reservation.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.
Send confirmation emailsend_confirmation_emailtrue/false
Whether Mews emails the guest a confirmation. Leave empty to send it.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "ReservationIds": [
      "example"
    ]
  }
}

Create company

Add a company or travel agency.

Inputs

NamenametextRequired
The company's name.
Invoicing emailinvoicing_emailtext
The email address invoices go to.
Websitewebsite_urltext
The company's website.
Phonetelephonetext
The phone number.
Contact personcontact_persontext
The person to contact.
Other contact detailscontacttext
Other contact details.
Tax IDtax_identifiertext
The tax identification number, such as a VAT number.
Company numberidentifiertext
The fiscal or legal identifier, such as a company number.
IATA codeiatatext
The IATA code, for a travel agency.
Departmentdepartmenttext
The department, such as sales.
External IDexternal_identifiertext
Your own ID for the company, from another system.
Notesnotestext
Notes about the company.
Can be invoicedinvoiceabletrue/false
Whether the company can be invoiced. Leave empty for no.
Addressaddress_line1text
The street address.
Address line 2address_line2text
The second line of the address.
Citycitytext
The city.
Postal codepostal_codetext
The ZIP or postal code.
Countrycountry_codetext
The country.One of: AF (Afghanistan), AL (Albania), DZ (Algeria), AS (American Samoa), AD (Andorra), AO (Angola), AI (Anguilla), AQ (Antarctica), AG (Antigua & Barbuda), AR (Argentina), and 240 more.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "AddressId": "example",
    "ChainId": "example",
    "Contact": "example",
    "ContactPerson": "example",
    "CreatedUtc": "example",
    "Department": "example",
    "ExternalIdentifier": "example",
    "Iata": "example",
    "Id": "example",
    "Identifier": "example",
    "InvoicingEmail": "example",
    "IsActive": true,
    "Name": "example",
    "Notes": "example",
    "Number": 1,
    "Options": {
      "Invoiceable": true
    },
    "TaxIdentifier": "example",
    "Telephone": "example",
    "UpdatedUtc": "example",
    "WebsiteUrl": "example"
  }
}

Create customer

Add a customer (guest profile).

Inputs

Last namelast_nametextRequired
The last name.
First namefirst_nametext
The first name.
Emailemailtext
The email address.
Phonephonetext
The phone number, such as +442071234567.
Titletitletext
The title.One of: Mister (Mr.), Miss (Ms.), Misses (Mrs.).
Sexsextext
The sex, as the property records it.One of: Male, Female.
Birth datebirth_datedate
The date of birth.
Nationalitynationalitytext
The nationality.One of: AF (Afghanistan), AL (Albania), DZ (Algeria), AS (American Samoa), AD (Andorra), AO (Angola), AI (Anguilla), AQ (Antarctica), AG (Antigua & Barbuda), AR (Argentina), and 240 more.
Preferred languagelanguagetext
The preferred language and culture code, such as en-GB or fr-FR.
Loyalty codeloyalty_codetext
The loyalty program code.
Notesnotestext
Internal notes about the customer.
Companycompany_idtext
The company the customer belongs to.
Classificationsclassificationslist
How the property classifies the customer, such as VIP or returning guest.One or more of: Important, VeryImportant (Very important (VIP)), Returning (Returning guest), LoyaltyProgram (Loyalty program member), Staff, FriendOrFamily (Friend or family), TopManagement (Top management), Media, Airline, Military, and 9 more.
Consents and optionsoptionslist
What the customer agreed to, such as marketing emails.One or more of: SendMarketingEmails (Marketing emails), SendMarketingPostalMail (Marketing post), SendPartnerMarketingEmails (Partner marketing emails), SendPartnerMarketingPostalMail (Partner marketing post), Invoiceable (Can be invoiced), BillAddressObjection (Objects to an address on bills), WithdrawCardConsent (Card consent withdrawn), GuestPhotoConsent (Consents to guest photo), IdPhotosConsent (Consents to ID photos).
Addressaddress_line1text
The street address.
Address line 2address_line2text
The second line of the address.
Citycitytext
The city.
Postal codepostal_codetext
The ZIP or postal code.
Countrycountry_codetext
The country.One of: AF (Afghanistan), AL (Albania), DZ (Algeria), AS (American Samoa), AD (Andorra), AO (Angola), AI (Anguilla), AQ (Antarctica), AG (Antigua & Barbuda), AR (Argentina), and 240 more.
Update an existing customer with this emailoverwrite_existingtrue/false
If a customer with this email already exists, update their profile instead of failing. Leave empty for no.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "AddressId": "example",
    "BirthDate": "example",
    "ChainId": "example",
    "Classifications": [
      "example"
    ],
    "CompanyId": "example",
    "CreatedUtc": "example",
    "Email": "example",
    "FirstName": "example",
    "Id": "example",
    "IsActive": true,
    "LastName": "example",
    "LoyaltyCode": "example",
    "NationalityCode": "example",
    "Notes": "example",
    "Number": "example",
    "Options": [
      "example"
    ],
    "Phone": "example",
    "PreferredLanguageCode": "example",
    "SecondLastName": "example",
    "Title": "example",
    "UpdatedUtc": "example"
  }
}

Create reservation

Book a stay for a customer: a room type and rate for the nights between two dates.

Inputs

Serviceservice_idtextRequired
The service, such as accommodation.
Customer IDcustomer_idtextRequired
The ID of the customer who owns the reservation, which List customers and Create customer return.
ArrivalarrivaldateRequired
The arrival date. Mews uses the service's check-in time at the property.
DeparturedeparturedateRequired
The departure date. Mews uses the service's check-out time at the property.
Room typeroom_category_idtextRequired
The room type (resource category).
Raterate_idtextRequired
The rate to price it with.
AdultsadultsnumberRequired
How many adults.From 1 to 50.
Childrenchildrennumber
How many children. Leave empty for none.From 0 to 50.
Roomroom_idtext
A particular room (resource) to assign. Leave empty and Mews assigns one.
Statusstatetext
Confirmed books it, optional holds the room for the guest and inquired records an inquiry. Leave empty for confirmed.One of: Confirmed, Optional (Optional (held for the guest)), Enquired (Inquired (not yet confirmed by either side)).
Companycompany_idtext
The company the booking is made on behalf of.
Booker IDbooker_idtext
The ID of the customer who made the booking for the guest, if someone else.
Channel numberchannel_numbertext
The booking's number in another system, such as a booking site.
Notesnotestext
Notes for the reservation.
Send confirmation emailsend_confirmation_emailtrue/false
Whether Mews emails the guest a confirmation. Leave empty to send it.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "AssignedResourceId": "example",
    "BookerId": "example",
    "BusinessSegmentId": "example",
    "CancelledUtc": "example",
    "ChannelNumber": "example",
    "CompanyId": "example",
    "CreatedUtc": "example",
    "EndUtc": "example",
    "GroupId": "example",
    "Id": "example",
    "Number": "example",
    "Origin": "example",
    "OwnerId": "example",
    "PersonCounts": [
      {
        "AgeCategoryId": "example",
        "Count": 1
      }
    ],
    "Purpose": "example",
    "RateId": "example",
    "RequestedCategoryId": "example",
    "ServiceId": "example",
    "StartUtc": "example",
    "State": "example",
    "TravelAgencyId": "example",
    "UpdatedUtc": "example"
  }
}

Create task

Give the property's staff a task, such as preparing a room, optionally for a department or a reservation.

Inputs

TasknametextRequired
What to do.
Deadlinedeadlinedate and timeRequired
When it's due.
Descriptiondescriptiontext
More detail.
Departmentdepartment_idtext
The department it's for, such as housekeeping.
Reservation IDreservation_idtext
The ID of the reservation it's about.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "TaskId": "example"
  }
}

Delete company

Delete a company.

Inputs

Companycompany_idtextRequired
The company.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {}
}

Get availability

Get each room type's availability and occupancy for each night between two dates.

Inputs

Serviceservice_idtextRequired
The service, such as accommodation.
First nightfirst_datedateRequired
The first night.
Last nightlast_datedateRequired
The last night, up to a year after the first.
Measuresmetricslist
What to count. Leave empty for occupied rooms, confirmed and optional reservations, and sellable and active rooms.One or more of: Occupied (Rooms occupied), ConfirmedReservations (Confirmed reservations), OptionalReservations (Optional reservations), UsableResources (Rooms that can be sold), ActiveResources (Active rooms), OutOfOrderBlocks (Rooms out of order), HouseUse (House use), BlockAvailability (Availability in blocks), AllocatedBlockAvailability (Allocated block availability), PublicAvailabilityAdjustment (Availability adjustment), OtherServiceReservationCount (Reservations of other services).

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "ResourceCategoryAvailabilities": [
      {
        "Metrics": {},
        "ResourceCategoryId": "example"
      }
    ],
    "TimeUnitStartsUtc": [
      "example"
    ]
  }
}

Get property details

Get the property's details: its name, time zone, language, currencies and contact details.

Inputs

None.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Enterprise": {
      "ChainId": "example",
      "ChainName": "example",
      "Currencies": [
        {
          "Currency": "example",
          "IsDefault": true,
          "IsEnabled": true
        }
      ],
      "DefaultLanguageCode": "example",
      "Email": "example",
      "Id": "example",
      "Name": "example",
      "Phone": "example",
      "Pricing": "example",
      "TimeZoneIdentifier": "example",
      "WebsiteUrl": "example"
    },
    "NowUtc": "example",
    "Service": {
      "Id": "example",
      "Name": "example"
    }
  }
}

Get reservation

Get a reservation's details: its dates, status, guests, room type, room and rate.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "AccountId": "example",
    "AccountType": "example",
    "ActualEndUtc": "example",
    "ActualStartUtc": "example",
    "AssignedResourceId": "example",
    "BookerId": "example",
    "BusinessSegmentId": "example",
    "CancellationReason": "example",
    "CancelledUtc": "example",
    "ChannelNumber": "example",
    "CreatedUtc": "example",
    "GroupId": "example",
    "Id": "example",
    "Number": "example",
    "Origin": "example",
    "PartnerCompanyId": "example",
    "PersonCounts": [
      {
        "AgeCategoryId": "example",
        "Count": 1
      }
    ],
    "Purpose": "example",
    "RateId": "example",
    "RequestedResourceCategoryId": "example",
    "ScheduledEndUtc": "example",
    "ScheduledStartUtc": "example",
    "ServiceId": "example",
    "State": "example",
    "TravelAgencyId": "example",
    "UpdatedUtc": "example"
  }
}

List bills

List bills by customer, status, type or date. With no filter, lists those changed in the last 90 days.

Inputs

Datedate_filtertext
Which date of the bill the range applies to. Leave empty for updated.One of: UpdatedUtc (Updated), CreatedUtc (Created), IssuedUtc (Issued), PaidUtc (Paid), DueUtc (Due).
Fromdate_fromdate and time
The start of the range.
Todate_todate and time
The end of the range. It can cover up to 90 days.
Customer IDscustomer_idslist
Only bills of these customers (their IDs).
Bill IDsbill_idslist
Only these bills (their IDs).
Statusstatetext
Only open or only closed bills.One of: Open, Closed.
Typetypetext
Only receipts or only invoices.One of: Receipt, Invoice.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Bills": [
      {
        "AccountId": "example",
        "AccountType": "example",
        "CompanyId": "example",
        "CorrectionState": "example",
        "CreatedUtc": "example",
        "CustomerId": "example",
        "DueUtc": "example",
        "EnterpriseId": "example",
        "Id": "example",
        "IssuedUtc": "example",
        "Name": "example",
        "Notes": "example",
        "Number": "example",
        "PaidUtc": "example",
        "State": "example",
        "Type": "example",
        "UpdatedUtc": "example"
      }
    ],
    "Cursor": "example"
  }
}

List companies

List the active companies and travel agencies, by name, ID or when they were added or changed.

Inputs

Namesnameslist
Only companies with these exact names.
Company IDscompany_idslist
Only these companies (their IDs).
Added fromcreated_fromdate and time
Only companies added on or after this time.
Added tocreated_todate and time
Only companies added before this time. The range can cover up to 90 days.
Changed fromupdated_fromdate and time
Only companies changed on or after this time.
Changed toupdated_todate and time
Only companies changed before this time. The range can cover up to 90 days.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Companies": [
      {
        "AddressId": "example",
        "ChainId": "example",
        "Contact": "example",
        "ContactPerson": "example",
        "CreatedUtc": "example",
        "Department": "example",
        "ExternalIdentifier": "example",
        "Iata": "example",
        "Id": "example",
        "Identifier": "example",
        "InvoicingEmail": "example",
        "IsActive": true,
        "Name": "example",
        "Notes": "example",
        "Number": 1,
        "Options": {
          "Invoiceable": true
        },
        "TaxIdentifier": "example",
        "Telephone": "example",
        "UpdatedUtc": "example",
        "WebsiteUrl": "example"
      }
    ],
    "Cursor": "example"
  }
}

List customers

Find customers (guest profiles) by email, name, loyalty code, ID or when they were added or changed. With no filter, lists those changed in the last 90 days.

Inputs

Emailsemailslist
Only customers with these email addresses.
Last nameslast_nameslist
Only customers with these last names.
First namesfirst_nameslist
Only customers with these first names.
Loyalty codesloyalty_codeslist
Only customers with these loyalty codes.
Customer IDscustomer_idslist
Only these customers (their IDs).
Added fromcreated_fromdate and time
Only customers added on or after this time.
Added tocreated_todate and time
Only customers added before this time. The range can cover up to 90 days.
Changed fromupdated_fromdate and time
Only customers changed on or after this time.
Changed toupdated_todate and time
Only customers changed before this time. The range can cover up to 90 days.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Customers": [
      {
        "AddressId": "example",
        "BirthDate": "example",
        "ChainId": "example",
        "Classifications": [
          "example"
        ],
        "CompanyId": "example",
        "CreatedUtc": "example",
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsActive": true,
        "LastName": "example",
        "LoyaltyCode": "example",
        "NationalityCode": "example",
        "Notes": "example",
        "Number": "example",
        "Options": [
          "example"
        ],
        "Phone": "example",
        "PreferredLanguageCode": "example",
        "SecondLastName": "example",
        "Title": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List payments

List payments by reservation, customer, bill, status, type or date. With no filter, lists those changed in the last 90 days.

Inputs

Datedate_filtertext
Which date of the payment the range applies to. Leave empty for updated.One of: UpdatedUtc (Updated), CreatedUtc (Created), ChargedUtc (Charged), ClosedUtc (Closed).
Fromdate_fromdate and time
The start of the range.
Todate_todate and time
The end of the range. It can cover up to 90 days.
Reservation IDsreservation_idslist
Only payments for these reservations (their IDs).
Customer IDscustomer_idslist
Only payments of these customers (their IDs).
Bill IDsbill_idslist
Only payments on these bills (their IDs).
Statusesstateslist
Only payments with these statuses.One or more of: Charged, Pending, Verifying, Canceled, Failed.
Kindtypetext
Only payments of this kind.One of: CreditCardPayment (Card), CashPayment (Cash), InvoicePayment (Invoice), ExternalPayment (External), AlternativePayment (Alternative (such as a wallet)), TaxDeductedPayment (Tax deducted), GhostPayment (Ghost), Payment (Other).
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Payments": [
      {
        "AccountId": "example",
        "AccountType": "example",
        "AccountingState": "example",
        "Amount": {
          "Currency": "example",
          "GrossValue": 1,
          "NetValue": 1
        },
        "BillId": "example",
        "ChargedUtc": "example",
        "ClosedUtc": "example",
        "CreatedUtc": "example",
        "EnterpriseId": "example",
        "Id": "example",
        "Identifier": "example",
        "Kind": "example",
        "Notes": "example",
        "OriginalAmount": {
          "Currency": "example",
          "GrossValue": 1,
          "NetValue": 1
        },
        "ReservationId": "example",
        "State": "example",
        "Type": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List rates

List a service's active rates (pricing plans).

Inputs

Serviceservice_idtextRequired
The service, such as accommodation.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Rates": [
      {
        "BaseRateId": "example",
        "ExternalIdentifier": "example",
        "GroupId": "example",
        "Id": "example",
        "IsActive": true,
        "IsBaseRate": true,
        "IsEnabled": true,
        "IsPublic": true,
        "Name": "example",
        "ServiceId": "example",
        "ShortName": "example",
        "Type": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List reservations

List reservations by arrival, departure, stay, check-in, check-out, creation or update date, status, confirmation number or customer.

Inputs

Datedate_filtertext
Which date of the reservation the range applies to. Leave empty for arrival.One of: ScheduledStartUtc (Arrival), ScheduledEndUtc (Departure), CollidingUtc (Staying (any night in the range)), ActualStartUtc (Checked in), ActualEndUtc (Checked out), CreatedUtc (Created), UpdatedUtc (Updated).
Fromdate_fromdate and time
The start of the range.
Todate_todate and time
The end of the range. It can cover up to 90 days.
Statusesstateslist
Only reservations with these statuses.One or more of: Inquired (Inquired (not yet confirmed by either side)), Confirmed, Started (Checked in), Processed (Checked out), Canceled, Optional (Optional (held for the guest)), Requested (Requested (waitlist)).
Confirmation numbersnumberslist
Only these confirmation numbers.
Customer IDscustomer_idslist
Only reservations of these customers (their IDs).
Servicesservice_idslist
Only reservations of these services. Leave empty for every bookable service.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Reservations": [
      {
        "AccountId": "example",
        "AccountType": "example",
        "ActualEndUtc": "example",
        "ActualStartUtc": "example",
        "AssignedResourceId": "example",
        "BookerId": "example",
        "BusinessSegmentId": "example",
        "CancellationReason": "example",
        "CancelledUtc": "example",
        "ChannelNumber": "example",
        "CreatedUtc": "example",
        "GroupId": "example",
        "Id": "example",
        "Number": "example",
        "Origin": "example",
        "PartnerCompanyId": "example",
        "PersonCounts": [
          {
            "AgeCategoryId": "example",
            "Count": 1
          }
        ],
        "Purpose": "example",
        "RateId": "example",
        "RequestedResourceCategoryId": "example",
        "ScheduledEndUtc": "example",
        "ScheduledStartUtc": "example",
        "ServiceId": "example",
        "State": "example",
        "TravelAgencyId": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List room types

List a service's room types (resource categories), with their names and capacity.

Inputs

Serviceservice_idtextRequired
The service, such as accommodation.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "ResourceCategories": [
      {
        "Capacity": 1,
        "Classification": "example",
        "EnterpriseId": "example",
        "ExternalIdentifier": "example",
        "ExtraCapacity": 1,
        "Id": "example",
        "IsActive": true,
        "Names": {},
        "Ordering": 1,
        "ServiceId": "example",
        "ShortNames": {},
        "Type": "example"
      }
    ]
  }
}

List rooms

List the property's rooms and other resources, with each one's housekeeping status.

Inputs

Room namesnameslist
Only rooms with these names, such as 101.
Include inactive roomsinclude_inactivetrue/false
Include rooms that are no longer in use.
Updated fromupdated_fromdate and time
Only rooms changed on or after this time.
Updated toupdated_todate and time
Only rooms changed before this time. The range can cover up to 90 days.
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Resources": [
      {
        "CreatedUtc": "example",
        "Data": {
          "Discriminator": "example",
          "Value": {}
        },
        "EnterpriseId": "example",
        "Id": "example",
        "IsActive": true,
        "Name": "example",
        "ParentResourceId": "example",
        "State": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List services

List the property's services, such as accommodation, parking or breakfast.

Inputs

Typeservice_typetext
Only bookable services (stays and other reservations) or only additional ones (sold with a stay). Leave empty for both.One of: Bookable (Bookable (stays and other reservations)), Additional (Additional (sold with a stay)).
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Services": [
      {
        "CreatedUtc": "example",
        "Data": {
          "Discriminator": "example",
          "Value": {}
        },
        "EnterpriseId": "example",
        "Id": "example",
        "IsActive": true,
        "Name": "example",
        "Ordering": 1,
        "Type": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

List tasks

List tasks for the property's staff, by when they were created, are due or were closed, or by reservation. With no filter, lists those created in the last 90 days.

Inputs

Created fromcreated_fromdate and time
Only tasks created on or after this time.
Created tocreated_todate and time
Only tasks created before this time. The range can cover up to 90 days.
Due fromdeadline_fromdate and time
Only tasks due on or after this time.
Due todeadline_todate and time
Only tasks due before this time. The range can cover up to 90 days.
Closed fromclosed_fromdate and time
Only tasks closed on or after this time.
Closed toclosed_todate and time
Only tasks closed before this time. The range can cover up to 90 days.
Reservation IDsreservation_idslist
Only tasks for these reservations (their IDs).
Task IDstask_idslist
Only these tasks (their IDs).
How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next pagecursortext
The Cursor the last page returned, to read the next page.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Cursor": "example",
    "Tasks": [
      {
        "ClosedUtc": "example",
        "CreatedUtc": "example",
        "DeadlineUtc": "example",
        "DepartmentId": "example",
        "Description": "example",
        "EnterpriseId": "example",
        "Id": "example",
        "Name": "example",
        "ServiceOrderId": "example",
        "State": "example"
      }
    ]
  }
}

Update customer

Change a customer's details. Fields left empty stay as they are.

Inputs

Customer IDcustomer_idtextRequired
The customer's ID, which List customers and Create customer return.
Last namelast_nametext
The last name.
First namefirst_nametext
The first name.
Emailemailtext
The email address.
Phonephonetext
The phone number, such as +442071234567.
Titletitletext
The title.One of: Mister (Mr.), Miss (Ms.), Misses (Mrs.).
Sexsextext
The sex, as the property records it.One of: Male, Female.
Birth datebirth_datedate
The date of birth.
Nationalitynationalitytext
The nationality.One of: AF (Afghanistan), AL (Albania), DZ (Algeria), AS (American Samoa), AD (Andorra), AO (Angola), AI (Anguilla), AQ (Antarctica), AG (Antigua & Barbuda), AR (Argentina), and 240 more.
Preferred languagelanguagetext
The preferred language and culture code, such as en-GB or fr-FR.
Loyalty codeloyalty_codetext
The loyalty program code.
Notesnotestext
Internal notes about the customer.
Companycompany_idtext
The company the customer belongs to.
Classificationsclassificationslist
How the property classifies the customer, such as VIP or returning guest.One or more of: Important, VeryImportant (Very important (VIP)), Returning (Returning guest), LoyaltyProgram (Loyalty program member), Staff, FriendOrFamily (Friend or family), TopManagement (Top management), Media, Airline, Military, and 9 more.
Consents and optionsoptionslist
What the customer agreed to, such as marketing emails.One or more of: SendMarketingEmails (Marketing emails), SendMarketingPostalMail (Marketing post), SendPartnerMarketingEmails (Partner marketing emails), SendPartnerMarketingPostalMail (Partner marketing post), Invoiceable (Can be invoiced), BillAddressObjection (Objects to an address on bills), WithdrawCardConsent (Card consent withdrawn), GuestPhotoConsent (Consents to guest photo), IdPhotosConsent (Consents to ID photos).
Addressaddress_line1text
The street address.
Address line 2address_line2text
The second line of the address.
Citycitytext
The city.
Postal codepostal_codetext
The ZIP or postal code.
Countrycountry_codetext
The country.One of: AF (Afghanistan), AL (Albania), DZ (Algeria), AS (American Samoa), AD (Andorra), AO (Angola), AI (Anguilla), AQ (Antarctica), AG (Antigua & Barbuda), AR (Argentina), and 240 more.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "AddressId": "example",
    "BirthDate": "example",
    "ChainId": "example",
    "Classifications": [
      "example"
    ],
    "CompanyId": "example",
    "CreatedUtc": "example",
    "Email": "example",
    "FirstName": "example",
    "Id": "example",
    "IsActive": true,
    "LastName": "example",
    "LoyaltyCode": "example",
    "NationalityCode": "example",
    "Notes": "example",
    "Number": "example",
    "Options": [
      "example"
    ],
    "Phone": "example",
    "PreferredLanguageCode": "example",
    "SecondLastName": "example",
    "Title": "example",
    "UpdatedUtc": "example"
  }
}

Update reservation

Change a reservation's dates, room type, room, rate, purpose, company or channel number. Fields left empty stay as they are.

Inputs

Reservation IDreservation_idtextRequired
The reservation's ID, which List reservations and Create reservation return.
Arrivalarrivaldate
The arrival date. Mews uses the service's check-in time at the property.
Departuredeparturedate
The departure date. Mews uses the service's check-out time at the property.
Room typeroom_category_idtext
The room type (resource category).
Roomroom_idtext
A particular room (resource) to assign. Leave empty and Mews assigns one.
Raterate_idtext
The rate to price it with.
Purposepurposetext
Why the guest is staying.One of: Leisure, Business, Student.
Companycompany_idtext
The company the booking is made on behalf of.
Channel numberchannel_numbertext
The booking's number in another system.
Repricerepricetrue/false
Whether to reprice the stay at the current price for its dates, rate and room type. Leave empty to reprice.
Reasonreasontext
Why it changed. Mews needs one when the price changes.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {
    "Reservations": [
      {
        "AssignedResourceId": "example",
        "BookerId": "example",
        "BusinessSegmentId": "example",
        "CancelledUtc": "example",
        "ChannelNumber": "example",
        "CompanyId": "example",
        "CreatedUtc": "example",
        "EndUtc": "example",
        "GroupId": "example",
        "Id": "example",
        "Number": "example",
        "Origin": "example",
        "OwnerId": "example",
        "PersonCounts": [
          {
            "AgeCategoryId": "example",
            "Count": 1
          }
        ],
        "Purpose": "example",
        "RateId": "example",
        "RequestedCategoryId": "example",
        "ServiceId": "example",
        "StartUtc": "example",
        "State": "example",
        "TravelAgencyId": "example",
        "UpdatedUtc": "example"
      }
    ]
  }
}

Update room status

Set a room's housekeeping status: dirty, clean, inspected or out of service.

Inputs

Roomroom_idtextRequired
The room.
StatusstatetextRequired
The new status.One of: Dirty, Clean, Inspected, OutOfService (Out of service).
Reasonreasontext
Why, such as a broken shower.

Outputs

dataobject
The response from Mews.
Example output
{
  "data": {}
}

On this page