Line 1,497: |
Line 1,497: |
| "promo": false | | "promo": false |
| } | | } |
| + | |
| + | Location field is present in response only if [[Plugins#Unit location|Unit location plugin]] is enabled. Otherwise this field will be an empty array. If locations plugin is enabled but booking doesn't have any locations this fields also will be an empty array. |
| + | |
| + | Status field is present in response only if [[Plugins#Status|Status plugin]] is enabled. Otherwise this field will be an empty array. If plugin enabled but booking doesn't have any statues specified the default status returned. |
| + | |
| + | Price field is present in response only if [[Plugins#Accept payments|Accept payments plugin]] is enabled. Otherwise this field will be an empty array. This field contains an empty array if plugin is enabled but booking was created for a free service. |
| + | |
| + | Promo field is present in response only if [[Plugins#Simply Smart Promotions|Simply Smart Promotions plugin]] is enabled. Otherwise this field will be an empty array. This field contains false if plugin is enabled but booking was created without any promo codes. |