What is it?
With the Manage Rate Plan API, hoteliers can create, edit, and delete rate or group headers for a specified hotel and code.
Note: For creating, editing, or deleting, be sure to choose the correct rate plan type, because rates or groups have their own sets of elements containing information associated to them. For example, Sales Manager or Group Header are not available for default rate type.
Before You Begin
- You must authenticate before you can use this API. For full instructions, see Get a Token for REST APIs.
- At any time, you can go to this API's Reference Documentation tab, where you can make test calls with the following endpoints.
Use Get Rates with this API
To fully manage rates and group rates, use the Get Rates endpoint in conjunction with this API's endpoints:
- Use [GET] /hotel/rates to retrieve rate and group information, as detailed here.
- Use [POST] /admin/product/ratePlans/ to create or update rates or groups.
- Use [DELETE] /admin/product/ratePlans/ to delete rates or groups.
How to use
This section covers the endpoints for this API and examples of how to use them.
POST a rate or group rate #
This endpoint enables you to create or update a rate or a group rate.
[POST] /v1/api/admin/product/ratePlansThe following table provides a quick overview of which POST body elements are supported for the Default Rate type and which are supported for the Group type:
| Element | Default (Rate) | Group |
|---|---|---|
| Attributes | Yes | Yes |
| Header | Yes | Yes |
| BookingPolicy | Yes | Yes |
| CancelPolicy | Yes | Yes |
| CommissionPolicy | Yes | Yes |
| Translations | Yes | Yes |
| MarketSegment | Yes | Yes |
| MarketSource | Yes | Yes |
| RoutingList | Yes | Yes |
| GroupStatus | No | Yes |
| GroupHeader | No | Yes |
| GroupPaymentMethod | No | Yes |
| IndividualPaymentMethod | No | Yes |
| SalesManager | No | Yes |
Post Body Parameters
The following table describes the parameters to include in your post request. To make the response structure easier to follow, this table prefixes every element with the object and array structure that contains it, like this: ArrayOne.ArrayTwo.ArrayThree.Element:
| Element | Description | Type |
|---|---|---|
| Attributes | The Attributes section includes attribute configurations for a particular rate or group, such as the following: • Accrual • Bar Applies • Breakfast Included • Exclude from the Availability, Rates, and Inventory Push, etc. • Last Room Available • Negotiated • Redeemable • Restricted Pricing Updates • Suppress rate • Redeemable • Tax Inclusive | object |
| Attributes.accrual | If this is true, the rate is eligible for the accrual of loyalty points. If this is false, the rate is not eligible for the accrual of loyalty points. | boolean |
| Attributes.allowSingleUseCreditCards | If this is true, the rate allows purchases via a single use credit card. If this is false, the rate does not allow purchases via a single use credit card. | boolean |
| Attributes.bestOnlyRatesExcluded | If this is true, the rate is excluded from best-only product shopping results. If this is false, the rate is not excluded from best-only product shopping results. | boolean |
| Attributes.barApplies | If this is true, the rate applies to best available rate (BAR). If this is false, the rate does not apply to best available rate (BAR). | boolean |
| Attributes.breakfastIncluded | If this is true, breakfast is included in the rate. If this is false, breakfast is included in the rate. | boolean |
| Attributes.commissionable | If this is true, the commissionable policy applies. If this is false, the commissionable policy does not apply. This will be set to active (true) when rate commission policy code is specified. | boolean |
| Attributes.controlledLocallyOnly | If this is true, the rate can be managed only in Aven Hospitality's SynXis Central Reservation System (CRS). If this is false, the rate can be managed outside CRS. | boolean |
| Attributes.credentialRequired | If this is true, a credential is required for this rate. If this is false, a credential is not required for this rate. | boolean |
| Attributes.excludeFromAvailRatesPush | If this is true, the rate is excluded from the Availability, Rates, and Inventory Push to OTAs and partners. If this is false, the rate is not excluded from the Availability, Rates, and Inventory Push to OTAs and partners. | boolean |
| Attributes.isMandatory | If this is true, the hotel is required to offer this rate. If this is false, the hotel is not required to offer this rate. When a rate is set to mandatory at chain or brand level, the value is pushed down to hotel level. | boolean |
| Attributes.isNegotiated | If this is true, the rate is a corporate negotiated rate. If this is false, the rate is not a corporate negotiated rate. | boolean |
| Attributes.lastRoomAvailable | If this is true, the rate plan will remain open as long as room inventory is still available at the property. If this is false, the rate plan is not required to remain open as long as room inventory is still available at the property. | boolean |
| Attributes.managedBookingPolicy | If this is true, booking or guarantee policy is managed in CRS. If this is false, booking or guarantee policy is not managed in CRS. | boolean |
| Attributes.managedCancelPolicy | If this is true, cancellation policy is managed in CRS. If this is false, cancellation policy is not managed in CRS. | boolean |
| Attributes.managedRateSeason | If this is true, seasonal rates are managed in CRS. If this is false, seasonal rates are not managed in CRS. | boolean |
| Attributes.mapAsNegotiatedRateGDSIDS | If this is true, the rate should be considered confidential in the GDS/IDS. If this is false, the rate does not need to be considered confidential in the GDS/IDS. The suggested use for this is for Channel Connect Public rates that you want to sell as a Negotiated Rate in the GDS/IDS. | boolean |
| Attributes.redeemable | (Deprecated) If this is true, the rate is eligible for loyalty point redemption. | boolean |
| Attributes.restrictPricingUpdate | If this is true, only users with specific access can edit the rate. If this is false, no specific user access is required to edit the rate. | boolean |
| Attributes.secondaryRateNotAllowed | If this is true, the rate is only available as primary in multiple rate reservations. If this is false, the rate can be primary or secondary in multiple rate reservations. | boolean |
| Attributes.suppressed | If this is true, the rate does not display price values during availability checks in the Aven Hospitality Booking Engine, Aven Hospitality Voice Agent, or guest emails. If this is false, the rate does display price values during availability checks in the Booking Engine, Voice Agent, or guest emails. | boolean |
| Attributes.taxInclusiveByDefault | If this is true, taxes are included in the rate for all room types. If this is false, taxes are not included in the rate for all room types. | boolean |
| Attributes.useProductAllocation | If this is true, the rate uses product allocation or the merchant flag is on. If this is false, the rate does not use product allocation or the merchant flag is off. | boolean |
| Attributes.restrictInPropertyHub | If this is true, the rate is restricted for channel PMS, and only users with specific access can edit this rate. If this is false, the rate is not restricted for channel PMS, and does not require specific access for users to edit this rate. | boolean |
| BookingPolicy | The object to hold the booking policy information. | object |
| BookingPolicy.code | Specify the codeassociated to a booking policy. | string |
| CancelPolicy | The object to hold the cancel policy information. | object |
| CancelPolicy.code | Code associated with a cancel policy. | string |
| ChannnelList | Rate channel assignment. | array |
| ChannnelList.code | This is the CRS booking channel code. For Channel Connect (SYDC), specify the secondary channel, such as AGODA. | string |
| ChannnelList.confidential | If this is true, the rate is confidential for the channel. If this is false, the rate is not confidential for the channel. | boolean |
| ChannnelList.action | Use AddEdit to assign a channel. Use UnAssign to unassign a channel. | string |
| CommissionPolicy | The object to hold the commission policy information. | object |
| CommissionPolicy.code | Specify the code associated with a commission policy. | string |
| CompanyProfile | The object to hold the company profile assignment information. | object |
| CompanyProfile.Chain | The object to hold the chain ID information. | object |
| CompanyProfile.Chain.id | Unique ID that identifies a hotel chain or management group in SynXis. | integer |
| CompanyProfile.CompanyProfileList | The array to hold the company profile list assignment information. | array |
| CompanyProfile.CompanyProfileList.code | This code identifies the company profile. | string |
| CompanyProfile.CompanyProfileList.action | Specify AddEdit to add or edit the company profile assignments for a given rate. Specify UnAssign to delete the company profile assignments for a given rate. | string |
| CompanyProfile.CompanyProfileList.level | Specify the chain/hotel company profile level for the group rate. | string |
| ControlTypeList | The array to hold the rate stay control type assignment information. | array |
| ControlTypeList.type | Specify the stay control type that is applicable for the rate. | string |
| Criteria | The Criteria object specifies the group or rate code and hotel identifier. | object |
| Criteria.code | Specify the code that uniquely identifies a rate or group. | string |
| Criteria.hotel | The object to hold the hotel ID. | object |
| Criteria.hotel.id | Specify the code that uniquely identifies a single hotel property in Control Center. | integer |
| Criteria.chain | The object to hold the chain ID. | object |
| Criteria.chain.id | Specify the code that uniquely identifies a single chain in Control Center. | integer |
| Criteria.brand | The object to hold the brand ID. | object |
| Criteria.brand.id | Specify the code that uniquely identifies a single brand in Control Center. | integer |
| Criteria.id | Specify the ID that uniquely identifies a rate or group | string |
| Criteria.type | Specify the rate type (default rate or group) | string |
| GroupHeader | The Group Header section applies to only groups. It includes group information, such as the following: • External Catering Code • Contact ID • Status • Alias | object |
| GroupHeader.alias | The alias is the alternate name for a group that callers can use when contacting a call center to make a reservation. Multiple words should be separated by commas. | string |
| GroupHeader.bookingMethodCode | Specify the code for the booking method. | string |
| GroupHeader.contactID | Specify the unique ID for the contact. | string |
| GroupHeader.externalCateringCode | Specify the unique ID for the external catering. | string |
| GroupHeader.statusFollowupDate | Specify the date to follow up with the customer. | string |
| GroupContactInfo | The object to hold the group contact information. | object |
| GroupContactInfo.contactAddress | The object to hold the group contact address information. | object |
| GroupContactInfo.contactAddress.addressLine | The array to hold the address line information. | array |
| GroupContactInfo.contactAddress.addressLine | Specify the street-related information associated with an address. | string |
| GroupContactInfo.contactAddress.city | Specify the city associated with an address. | string |
| GroupContactInfo.contactAddress.country | Specify the address country. | string |
| GroupContactInfo.contactAddress.country.code | Specify the ISO 1366-1 country code. | string |
| GroupContactInfo.contactAddress.postalCode | Specify the postal code associated with an address. | string |
| GroupContactInfo.contactAddress.stateProv | Specify the State or Province. | string |
| GroupContactInfo.contactAddress.stateProv.code | Specify the State or Province code. | string |
| GroupContactInfo.email | Specify the email address of the contact. | string |
| GroupContactInfo.fax | Specify the fax number. | string |
| GroupContactInfo.firstName | Specify the given name / first name of the contact. | string |
| GroupContactInfo.lastName | Specify the surname / last name of the contact. | string |
| GroupContactInfo.middleInitial | Specify the middle initial of the contact. | string |
| GroupContactInfo.namePrefix | Specify the Name Prefix. | string |
| GroupContactInfo.primaryPhone | Specify the Primary Phone. | string |
| GroupContactInfo.secondaryPhone | Specify the Secondary Phone. | string |
| GroupContactInfo.url | Specify the URL or web site address. | string |
| GroupPaymentMethod | The Group Payment Method section defines the Group Payment Method (cash, check, credit card, direct bill). It applies only to a group. | object |
| GroupPaymentMethod.type | Specify the payment method available for booking a reservation for this group block. This element applies to only SynXis Property Hub. | string |
| GroupPaymentMethod.Payments | The array to hold the group payment method information. | array |
| GroupPaymentMethod.Payments.type | Specify the type of a payment method. | string |
| GroupPaymentMethod.Payments.Primary | If this is true, the payment guarantee is primary. If this is false, the payment guarantee is not primary. | boolean |
| GroupPaymentMethod.Payments.DirectBill | The object to hold the direct billing information. | object |
| GroupPaymentMethod.Payments.DirectBill.AccountNumber | Specify the account number associated with the direct billing. | string |
| GroupPaymentMethod.Payments.DirectBill.ProjectNumber | Specify the project number associated with the direct billing. | string |
| GroupPaymentMethod.Payments.PaymentCard | The object to hold the payment card information. | object |
| GroupPaymentMethod.Payments.PaymentCard.CardCode | Specify the code of the payment card. | string |
| GroupPaymentMethod.Payments.PaymentCard.CardNumber | Specify the number of the payment card. | string |
| GroupPaymentMethod.Payments.PaymentCard.ExpireDate | Specify the expiration date of the payment card. | string |
| GroupPaymentMethod.Payments.PaymentCard.CardHolder | Specify the payment card holder's name. | string |
| GroupPaymentMethod.Payments.PaymentCard.Token | Specify the token number associated with the payment card. | string |
| GroupPaymentMethod.Payments.PaymentCard.ConsentToStoreCardData | If this is true, the user has consented to allow you to store payment card data. If this is false, the user has not consented to allow you to store payment card data. | boolean |
| Header | The Header section takes the header information common to both rate and group, such as the following: • Rate/Group Name • Short/Long Description • Currency Code • PMS code • PMS group code • Group from rate code: The groupFromRateCode parameter specifies the rate code from which the Group is based. Configuration from that rate is copied to the Group. The rate must be enabled for Use with Groups (useWithGroups). This is applicable only for Group creation. | object |
| Header.active | If this is true, the rate is Active. If this is false, the rate is not active. | boolean |
| Header.categoryCode | Specify the code associated with a rate category. | string |
| Header.class | Specify the rate type class | string |
| Header.rateTypeUse | The rateTypeUse identifies a Daily Rate (Default), Complimentary, or House Use Rate. | string |
| Header.code | Use this attribute to change the rate or group code from the original value in the Criteria object. | string |
| Header.redemptionType | The redemptionType identifies a rate redemption type. This only applies to Daily rate. For the BAR rate type, PointsandCashUsingHotelTiers and PointsOnlyUsingHotelTiers redemption types do not apply. | string |
| Header.pointAndCashLevel | The pointAndCashLevel identifies the Point and cash Level code. | string |
| Header.currencyCode | Specify the ISO 4217 three alpha currency code. | string |
| Header.longDescription | Specify the detailed information about the rate or group (Default). | string |
| Header.name | Specify the name of the rate or group (Default). | string |
| Header.pmsCode | Specify the code used by a Property Management System to identify a rate. | string |
| Header.pmsGroupCode | Specify the code used by a Property Management System to identify a group. | string |
| Header.shortDescription | Add a description about the rate or group (Default). | string |
| Header.specialInstructions | Add any special instructions. | string |
| Header.groupFromRateCode | Specify the rate code on which the Group is based. Then configuration from that Rate is copied to the Group. The Rate must be enabled for "Use with Groups" (useWithGroups). This is only applicable for Group creation. | string |
| Hurdle | The object to hold the hurdle rate information | object |
| Hurdle.code | Code that uniquely identifies a rate plan to be used as the yielding rate. This requires that the hotel attribute to use hurdling is active. | string |
| IndividualPaymentMethod | The Individual Payment Method section defines the individual payment method (whether the group pays some, all, or none). It applies only to a group. | object |
| IndividualPaymentMethod.type | Use this setting to determine who pays for specific charges related to group bookings. This content applies to only SynXis Property Hub. The available options are: • GroupPaysAll: Use this option so that an individual guest credit card is not required when booking a reservation unless the Guarantee or Deposit Policy includes that requirement. When a credit card is included, no payment is processed on that credit card. Routing codes configured in SynXis Property Hub display for the group. • GroupPaysNone: Use this option so that an individual guest credit card is required when booking a reservation if dictated by the hotel's Guarantee or Deposit Policy. • GroupPaysSome: Use this options so that an individual guest credit card is required when booking a reservation if dictated by the Guarantee or Deposit Policy. Routing codes configured in SynXis Property Hub display for the group. | string |
| Translations | The Translations section manages the language translations and channelizations for the rate or group, such as the following: • Rate/Group Name • Short/Long Description | array |
| Translations.Channel | The object to hold the channel translations information. | object |
| Translations.Channel.code | Specify the booking channel code from Aven Hospitality's SynXis Central Reservation System (CRS). For Channel Connect (SYDC), specify the secondary channel, such as AGODA. | string |
| Translations.Language | The object to hold the translation language information. | object |
| Translations.Language.code | Specify the language code with an optional culture code. | string |
| Translations.longDescription | Add detailed information about the rate or group. | string |
| Translations.name | Specify the Name of the rate or group. | string |
| Translations.shortDescription | Add short description information about the rate or group. | string |
| MarketSegment | The Market Segments section includes the market segments that are assigned or unassigned to the rate or group. You can retrieve information about Market Segments with the Reservation Utilities API. | object |
| MarketSegment.code | Specify the code that uniquely identifies the market segment. | string |
| MarketSource | The Market Sources section includes the market sources that are assigned or unassigned to the rate or group. You can retrieve information about Market Sources with the Reservation Utilities API. | object |
| MarketSource.code | Specify the code that uniquely identifies a market source | string |
| RoutingList | The Routing List section assigns or clears the routing code assignments (routing code and folio number). Note: The routing list applies to only SynXis Property Hub. | array |
| RoutingList.folioNumber | Specify the Folio Number. | string |
| RoutingList.routingCode | Specify the code that uniquely identifies a routing code assignment. | string |
| SalesManager | The Sales Manager section applies to only groups. It includes contact information for the sales manager, such as the following: • Contact name • Primary/secondary phone • Address | object |
| SalesManager.contactAddress | The object to hold the group contact address information. | object |
| SalesManager.contactAddress.addressLine | The array to hold the address information. | array |
| SalesManager.contactAddress.addressLine | Specify the street-related information for the address. | string |
| SalesManager.contactAddress.city | Specify the city for the address. | string |
| SalesManager.contactAddress.country | Specify the country for the address. | string |
| SalesManager.contactAddress.country.code | Specify the ISO 1366-1 country code. | string |
| SalesManager.contactAddress.postalCode | Specify the postal code for the address. | string |
| SalesManager.contactAddress.stateProv | Specify the State or Province. | string |
| SalesManager.contactAddress.stateProv.code | Specify the State or Province code. | string |
| SalesManager.email | Specify the email address of the contact. | string |
| SalesManager.fax | Specify the fax number. | string |
| SalesManager.firstName | Specify the given name / first name of the contact. | string |
| SalesManager.lastName | Specify the surname / last name of the contact. | string |
| SalesManager.middleInitial | Specify the middle initial of the contact. | string |
| SalesManager.namePrefix | Specify the name prefix. | string |
| SalesManager.primaryPhone | Specify the contact's primary phone. | string |
| SalesManager.secondaryPhone | Specify the contact's secondary phone. | string |
| SalesManager.url | Specify the URL or web site address. | string |
| GroupStatus | The object to hold details about the group status and block allocations. | object |
| GroupStatus.status | Set the desired state of the group plan code (such as Confirmed). The available options are: • Confirmed: You change only CheckedIn or Cancelled status items to Confirmed. • Tentative: You can change only Confirmed or Cancelled status items to Tentative. • Cancel: You change any status to Cancel, but you cannot change the status from Cancel once set. • Closed: You can change any status to Closed, but you cannot change the status from Closed once set. • CheckedIn: You can change only CheckedOut status items to CheckedIn. • CheckedOut: You can change only CheckedIn or Closed status items to CheckedOut. • Lost: You can change only Tentative or Hold status items to Lost. • Hold: You can set to Hold only when you are creating a new group. | string |
| GroupStatus.CancelReason | The object to hold the group status cancel reason information. | object |
| GroupStatus.CancelReason.code | Specify the unique code to identify the cancellation reason. This is required if you are updating the group status to Cancel. | string |
| TaxList | The array to hold the list of taxes to assign or unassign. | array |
| TaxList.code | Specify the code to identify the tax. | string |
| TaxList.action | Specify AddEdit to add or edit a tax assignment. Specify UnAssign to delete the tax assignment. | string |
| PackageList | The array to hold the list of static packages to assign or unassign. | array |
| PackageList.code | Specify the code to identify the package. | string |
| PackageList.action | Specify AddEdit to add or edit a package assignment. Specify UnAssign to delete the package assignment. If you do not specify this in the request, the default action is AddEdit. | string |
| GroupSource | The object to hold the group source information. | object |
| GroupSource.channelCode | Specify the code that uniquely identifies the group source channel. | string |
Post Body Example
The following is an example of the body for this post request:
{
"Attributes": {
"accrual": false,
"allowSingleUseCreditCards": false,
"bestOnlyRatesExcluded": false,
"barApplies": false,
"breakfastIncluded": true,
"commissionable": false,
"controlledLocallyOnly": false,
"credentialRequired": false,
"excludeFromAvailRatesPush": true,
"isMandatory": false,
"isNegotiated": false,
"lastRoomAvailable": false,
"managedBookingPolicy": false,
"managedCancelPolicy": false,
"managedRateSeason": false,
"mapAsNegotiatedRateGDSIDS": false,
"redeemable": false,
"restrictPricingUpdate": true,
"secondaryRateNotAllowed": false,
"suppressed": false,
"taxInclusiveByDefault": false,
"useProductAllocation": false,
"restrictInPropertyHub": false
},
"BookingPolicy": {
"code": "GUA"
},
"CancelPolicy": {
"code": "1D"
},
"ChannnelList": [
{
"code": "WEB",
"confidential": true,
"action": "AddEdit"
}
],
"CommissionPolicy": {
"code": "CP"
},
"CompanyProfile": {
"Chain": {
"id": 1000
},
"CompanyProfileList": [
{
"code": "Aven",
"action": "AddEdit",
"level": "Chain"
}
]
},
"ControlTypeList": [
{
"type": "MinimumStayThrough"
}
],
"Criteria": {
"code": "grpRt",
"hotel": {
"id": 13098
},
"chain": {
"id": 8001027
},
"brand": {
"id": 8002801
},
"id": "112413B0-1C0B-42A9-B677-72CE18F05E35",
"type": "Default"
},
"GroupHeader": {
"alias": "SmithWedding",
"bookingMethodCode": "META",
"contactID": "C6E50D08-38BD-45CD-A201-C3C9B10B7RFD",
"externalCateringCode": "RC3",
"statusFollowupDate": "2021-12-10T18:25:43.511Z"
},
"GroupContactInfo": {
"contactAddress": {
"addressLine": [
"123 Main St."
],
"city": "Denver",
"country": {
"code": "US"
},
"postalCode": "80012",
"stateProv": {
"code": "CO"
}
},
"email": "larry.walker@email.com",
"fax": "555-123-4567",
"firstName": "Larry",
"lastName": "Walker",
"middleInitial": "Mc",
"namePrefix": "Mr.",
"primaryPhone": "555-123-1234",
"secondaryPhone": "555-123-1235",
"url": "https://mywebsite.com/"
},
"GroupPaymentMethod": {
"type": "Cash",
"Payments": [
{
"type": "Cash",
"Primary": true,
"DirectBill": {
"AccountNumber": "8365920440",
"ProjectNumber": "112234"
},
"PaymentCard": {
"CardCode": "VI",
"CardNumber": "4111111111111111",
"ExpireDate": "1229",
"CardHolder": "Guest Name",
"Token": "cjzHiunsdfjnkkIbgoinN",
"ConsentToStoreCardData": false
}
}
]
},
"Header": {
"active": true,
"categoryCode": "NEG",
"class": "Unassigned",
"rateTypeUse": "DailyRate",
"code": "grpRt2",
"redemptionType": "NonRedeemable",
"pointAndCashLevel": "5PCT",
"currencyCode": "USD",
"longDescription": "If group book is used, call meeting organizer Mr. Amorim 555 634 8146.",
"name": "Smith Wedding",
"pmsCode": "SMITH1",
"pmsGroupCode": "SMITHWED",
"shortDescription": "Wedding party.",
"specialInstructions": "Group would like all rooms on the same floor.",
"groupFromRateCode": "ratecode"
},
"Hurdle": {
"code": "Rt101"
},
"IndividualPaymentMethod": {
"type": "GroupPaysAll"
},
"Translations": [
{
"Channel": {
"code": "WEB"
},
"Language": {
"code": "fr-FR"
},
"longDescription": "Si un livre de groupe est utilisé, appeler l'organisateur de la réunion M. Amorim 555 634 8146",
"name": "Mariage Smith",
"shortDescription": "Mariage"
}
],
"MarketSegment": {
"code": "LEISURE"
},
"MarketSource": {
"code": "REFERRAL"
},
"RoutingList": [
{
"folioNumber": "01",
"routingCode": "ABA"
}
],
"SalesManager": {
"contactAddress": {
"addressLine": [
"123 Main St."
],
"city": "Denver",
"country": {
"code": "US"
},
"postalCode": "80012",
"stateProv": {
"code": "CO"
}
},
"email": "larry.walker@email.com",
"fax": "555-123-4567",
"firstName": "Larry",
"lastName": "Walker",
"middleInitial": "W",
"namePrefix": "Mr.",
"primaryPhone": "555-123-1234",
"secondaryPhone": "555-123-1235",
"url": "https://mywebsite.com/"
},
"GroupStatus": {
"status": "Tentative",
"CancelReason": {
"code": "CXLOne"
}
},
"TaxList": [
{
"code": "ServiceTax",
"action": "AddEdit"
}
],
"PackageList": [
{
"code": "pkg",
"action": "AddEdit"
}
],
"GroupSource": {
"channelCode": "G360"
}
}Response
The success response for this endpoint is:
200 OKDELETE a rate or group rate #
This endpoint enables you to delete a rate or a group rate.
[DELETE] /v1/api/admin/product/ratePlanDelete Body Parameters
The following table describes the parameters to include in your delete request:
| Element | Description | Type | Required? |
|---|---|---|---|
| code | Code that uniquely identifies a rate or group. Maximum characters allowed: 20. Example: grpRt. | string | Required |
| hotelid | Code that uniquely identifies a single hotel property in Control Center. Example: 13098. | integer | Required |
Delete Body Example
The following is an example of the body for this post request:
{
"code": "grpRt",
"hotelid": 13098
}Response
The success response for this endpoint is:
200 OK