This API method can be used to modify the Pricing Scheme Plan.

Table of Contents
  1. URL Endpoint
  2. Request Body
  3. Examples
  4. Scheme Codes

URL Endpoint


Request Body

Provide an update object with the following structure:

	{"from":ISO 8601,"to":ISO 8601,"scheme":"SCHEMECODE"}, // Date period update
	{"date":ISO 8601,"scheme":"SCHEMECODE"} // Single-day updates


This method is only accessible using a Hotelier API account.

This method is only accessible using a POST request.

Request body must be in valid JSON format.

Updates are made only if the entire request body is successfully parsed and validated.

Example Update Object


Example Request

curl -k -s -S \
-H 'Accept:application/json' \
-u username:password \
-d '[{"date":"2013-05-06","scheme":"BAR1"}]'

Scheme Codes

We provide a method to retrieve available scheme codes set up by the property. Only scheme codes returned by this method are accepted in /update/schemes/plan.

To retrieve the list of scheme codes issue a GET request to the following endpoint: