Skip to main content

PromotionWrite

codestringrequired
promo_typestringrequired
discount_typestringrequired

Possible values: [percent, amount]

discount_valuenumberrequired
rate_plan_idstring<uuid>
date_fromstring<date>
date_tostring<date>
min_stayinteger
activeboolean
PromotionWrite
{
"code": "string",
"promo_type": "string",
"discount_type": "percent",
"discount_value": 0,
"rate_plan_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date_from": "2024-07-29",
"date_to": "2024-07-29",
"min_stay": 0,
"active": true
}