Su API Documentation
  • Su Overview
    • Su API Introduction
  • Su Channel Manager
    • Getting Started
      • Certification
      • Authentication
    • Content
      • Property
      • Room Type
      • Rate Plan
      • Listing
        • Property Listing
        • Room Type Listing
        • Rate Plan Listing
        • Delete Property Listing
      • Image API
        • Create Images
        • Retrieve Images
        • Associate Images
    • Booking.com Content API
      • Booking.com
        • Contract - Introduction
          • Create Contract
          • Link/Retrieve Contract
          • Update Contract
          • Resend Contract
        • Property Management
          • Property Statuses
          • Property Detail
            • Create Property
            • Retrieve Property
            • Update Property
          • Contact Details
            • Set Contact
            • Retrieve Contact
            • Contact Profile Types
          • Property Settings
            • Retrieve Property Settings
            • Retrieve Property Settings Damage Programme
            • Retrieve City Tax Category For Property Settings
            • Create / Update Property Settings
            • Create / Update Property Settings - Specific Setting
          • Property Profile
            • Set Profile
            • Retrieve Property Profile
            • Set Hotelier Message
            • Retrieve Hotelier Message
            • Remove Hotelier-Message
          • Booking.com Property Status
            • Property Status Check
            • Property Status Open
            • Property Status Closed
          • Property Key Collection
            • Set CheckIn Methods
            • Retrieve CheckIn Method
            • Retrieve All Stream Variation
        • Images
          • Create Image
          • Retrieve All Images
          • Update Image Tags
          • Delete Image
          • Retrieve Associate Images
          • Associate Image
          • Unassociate Image
          • Ordering Image
          • Smart Ordering Image
          • Show Image
          • Retrieve Property Pending Photos based on photo-batch-id
          • Retrieve Image Tags
        • Facilities
          • Create/Update Facility
          • Retrieve Set Facility of Property and Room
          • Retrieve Supported Facilities
        • Property/Room Charges
          • Retrieve Property Charge Meta
          • Retrieve Property Charges
          • Retrieve Room Charges
          • Create Property Charges
        • Rate Plan
          • Set Rateplan
          • Retrieve Rateplan
      • Room API
        • Room Meta API
        • Room Set (Create/Update) API
        • Room Retrieve API
        • Room Deactivate API
      • Policies API
        • Create/Update Policies
        • Retrieve Policies
      • Bathroom API
        • Set Bathroom (Create and Update)
        • Remove/Disable Bathroom
        • Retrieve Bathroom
      • Product API
        • Product Meta
        • Product List
        • Product Create
        • Product Modify
        • Product Remove
        • Product Map Create (Room Based)
        • Product Map Modify (Room Based)
        • Product Map Create (Occupancy Based)
        • Product Map Modify (Occupancy Based)
        • Product Unmap
      • Property and Room License
        • Property License Retrieve All Rule (Without property id)
        • Property License Retrieve Rule (With property id)
        • Sending License Information of Property
        • Retrieve License Information of Property
        • Sending License Information of Room
        • Retrieve License Information of Room
      • BCIO (Booking.com Check-In / Check-Out Times)
      • PCT (Property Class Type Codes)
      • BCJT (Booking.com Job Titles)
      • PTT (Phone Technology Type Codes)
      • BCL (Booking.com Language Codes)
      • Currency Codes/Names
      • Country Codes/Names
      • BCPT (Booking.com Payment Type Codes)
    • Rates and Availability
    • Inventory Control
    • Reservations
      • New/Modified/Requested/Cancelled Retrievals
        • Request for Reservation Information
        • Response of Reservation Information
      • Reservation Using Push API
        • Reservations Notification Push
        • PUSH API Method
      • Reservation Notification
      • Request Booking
        • Accept/Confirm Request Booking
        • Deny/Cancel Request Booking
      • Booking Repull
        • List of Bookings
        • Refetch Booking
    • Logs
      • Update Logs
      • Failed Channel Logs
      • Rates & Inventory Logs (Future Date)
      • Bulk Rates & Inventory Logs (Future Date)
      • Resync OTA Updates (Failed)
      • OTA Rateplan Pull API
    • Users
      • Global Users
      • Chain Users
    • Channel Mapping Widget API
      • Generate a Token
      • Mapping Script
    • Reviews
    • Messaging
    • Reporting
      • Reporting - No Show (Booking.com & Goibibo)
      • Reporting - Invalid CC (Booking.com)
      • Reporting - Cancellation Due to Invalid CC (Booking.com)
      • Bulk ARI Update
      • Marketing Insight API - Booking.com
    • AirBnB
      • Cancel Reservation
        • Retrieve AirBnB Cancel Reservation Details API
        • Final AirBnB Cancel Reservation API
      • Notification
      • Trip Issue
    • My Booking Site
      • Confirm Reservation
      • Cancel Reservation
  • Su Token
    • Su Token - Introduction
    • Su Token - Authentication
    • Partner
    • Card
      • Card API
      • Card View API
      • Charge API
      • Card Collection
        • Get CC Collection (Generate Link)
        • Check Status of CC Collection
      • WIDGET
        • CC Collection Using Widget
  • Codes
    • Room Type Codes
    • Language Codes
    • Country Codes
    • Phone Technology Type Codes
    • Meal Plan Codes
    • Currency Codes
    • Channel or OTA Codes
    • Credit Card Type Codes
    • Time Zones
    • Error Codes
  • Versioning
  • Glossary of Terms
Powered by GitBook

STAAH Limited. 2024 © All Rights Reserved.

On this page
  • Create or Update Rate Plan
  • Request (RQ) Sent with STAAH Rate-Level Build Data
  • Endpoint
  • Sample Request
  • Response
  • Example - Change Rate Plan Name
  • Sample Request
  • Example - Deactivate Rate Plan
  • Sample Request
  • Example - Activate Rate Plan
  • Sample Request
  • Example - Delete Rate Plan
  • Sample Request
  • Response

Was this helpful?

Export as PDF
  1. Su Channel Manager
  2. Content

Rate Plan

PreviousRoom TypeNextListing

Last updated 27 days ago

Was this helpful?

Rate Plan is the price or cost charged by the hotel per night. Rate Plan is the term given to different rates you see on a hotel website when you search for a set of dates.


Create or Update Rate Plan

Create or update rate plan API is used to build new rates or add missing rates. It is also possible to change the rate name or remove an existing rate plan.


Request (RQ) Sent with STAAH Rate-Level Build Data

Endpoint

POST

https://connect-sandbox.su-api.com/SUAPI/jservice/OTA_HotelRatePlan

Send a request with STAAH rate level build data which consists of a set of predefined parameters.

Attributes


Rate Plans hotelid / HotelCode / ClientID string (Required)

The existing property ID. Required existing id to create or update rate plans.

Maximum 20 characters allowed.


RatePlan array

RatePlan array contains the different rate plans for the property.


RatePlanNotifType string (Required)

Indicates whether the call is meant to create new rateplan or update an existing one for property.

Accepts values: [New, Overlay, Remove, Activate].


rateplanid / RatePlanID string (Required)

The rateplan ID as assigned by the provider.

Accepts alphanumeric values and "-" (Hyphen).

Space and Special characters are not allowed.

Maximum 20 characters allowed.


MealPlanID string (Optional)

If wrong mealplanID sent, then it will take default value.

Default: 15 (Room Only).


closeoutdays number (Optional)

The closeoutdays as allocated by the provider for rateplan.

Accepts the values between 0 to 30 but must be in quotes. Default value is -1(no closeouts).


closeouttime string (Optional)

The closeouttime as allocated by the provider for rateplan.

Accepts the values between 00:00 to 24:00(Interval must be 30 min). It is required only if you set closeoutdays value as 0. Default value is -1(no closeouts).


Description object

This object contains the name of the rate plan and the additional note about the rate plan.


Name string (Required)

The rate plan name.


Text string (Optional)

Additional detail or specific note about the rate plan.

Sample Request

{
	"RatePlans": {
		"hotelid": "KC",
		"RatePlan": [{
				"RatePlanNotifType": "New",
				"rateplanid": "BAR",
				"MealPlanID": "1",
		                "closeoutdays": "0",
		                "closeouttime": "00:30",
				"Description": {
					"Name": "BAR",
                                        "Text" : "Best Rate Available Rate Plan"
				}
			},
			{
				"RatePlanNotifType": "New",
				"rateplanid": "RACK",
				"MealPlanID": "2",
				"Description": {
					"Name": "RACK",
                                        "Text" : "max Daily Rate of the Rate Plan"
				}
			}
		]
	}
}

Response

Sample Success Response

{
  "Status": "Success"
}

Example - Change Rate Plan Name

Attributes


Sample Request

{
   "RatePlans": {
      "hotelid": "KC",
      "RatePlan": [{
         "RatePlanNotifType": "Overlay",
         "rateplanid": "12345889Ab",
         "MealPlanID": "2",
         "Description": {
            "Name": "Early booker rate",
            "Text": "Change can be made here"
         }
      }]
   }

Example - Deactivate Rate Plan

Attributes


Sample Request

{
    "RatePlans": {
        "hotelid": "KC",
        "RatePlan": [{
            "RatePlanNotifType": "Remove",
            "rateplanid": "BAR"
        }]
    }
}

Example - Activate Rate Plan

Attributes


Sample Request

{
    "RatePlans": {
        "hotelid": "WA",
        "RatePlan": [{
            "RatePlanNotifType": "Activate",
            "rateplanid": "BAR"
        }]
    }
}

Example - Delete Rate Plan

Attributes


Sample Request

{
    "RatePlans": {
        "hotelid": "KC",
        "RatePlan": [{
            "RatePlanNotifType": "Delete",
            "rateplanid": "BAR"
        }]
    }
}

Response

Sample Success Response

{
  "Status": "Success"
} 

To create use New and to update rateplan, see , , , and .

Name of the MealPlan. See .

Accepts the values listed under .

Refer .

Refer .

Refer .

Refer .

Meal Plan
MP
Change
Activate
Deactivate
Delete
Request attributes
Request attributes
Request attributes
Request attributes