BookingRule

Name Description Schema

@MaxAdvancedBookingOffset
optional

Maximum days before the arrival date for which this rate plan may be booked.

  • 1 years = 365 days

  • 1 month = 30 days

  • Time duration will be ignored

  • Ignore this field when you don’t want to put any restriction.

  • Default: No restriction

ISO 8601 Duration format.
Example : "P0Y0M10D"

string

@MaxLengthOfStay
optional

Maximum number of days that a product can be booked.

  • 1 years = 365 days

  • 1 month = 30 days

  • Time duration will be ignored

  • Duration must be greater or equal to 1 day (P1D)

  • Ignore this field when you don’t want to put any restriction.

  • Default: No restriction

  • Restriction: Less than 180 days

ISO 8601 Duration format.
Example : "P0Y0M2D"

string

@MinAdvancedBookingOffset
optional

Minimum days before the arrival date for which this rate plan may be booked.

  • 1 years = 365 days

  • 1 month = 30 days

  • Time duration will be ignored

  • Ignore this field when you don’t want to put any restriction.

  • Default: No restriction

ISO 8601 Duration format.
Example : "P0Y0M12D"

string

@MinLengthOfStay
optional

Minimum number of days that a product can be booked.

  • 1 years = 365 days

  • 1 month = 30 days

  • Time duration will be ignored

  • Duration must be greater or equal to 1 day (P1D)

  • Default: P1D

ISO 8601 Duration format.
Example : "P0Y0M3D"

string