Category:API V2: Difference between revisions
Jump to navigation
Jump to search
Sorenjensen (talk | contribs) |
|||
| Line 352: | Line 352: | ||
Create or modify properties. | Create or modify properties. | ||
== Price rules == | |||
It's currently not possible to create new price rules, however, you can modify the price rules with this request. | |||
[ | |||
{ | |||
"id": propertyid, | |||
"roomTypes": [ | |||
{ | |||
"id": roomid, | |||
"priceRules": [ | |||
{ | |||
"priceruleid": 1, | |||
"name": "Reeeeeeel" | |||
} | |||
] | |||
} | |||
] | |||
} | |||
] | |||
=== DELETE /properties === | === DELETE /properties === | ||