Line 957: |
Line 957: |
| ---- | | ---- |
| | | |
− | === getPluginPromoInfoByCode === | + | <!---=== getPluginPromoInfoByCode === |
| | | |
| <code>getPluginPromoInfoByCode($code)</code> | | <code>getPluginPromoInfoByCode($code)</code> |
Line 972: |
Line 972: |
| <code>[[#isPluginActivated|isPluginActivated('promo')]]</code> API method call to check if Custom Feature enabled. See [[#getPromotionList response|example]] of <code>getPromotionList</code> API method response. Please note that | | <code>[[#isPluginActivated|isPluginActivated('promo')]]</code> API method call to check if Custom Feature enabled. See [[#getPromotionList response|example]] of <code>getPromotionList</code> API method response. Please note that |
| response contains a list of services for wich promotion discount can be applied (<code>service_ids</code> key). | | response contains a list of services for wich promotion discount can be applied (<code>service_ids</code> key). |
− | | + | ---> |
| ---- | | ---- |
| | | |
Line 1,957: |
Line 1,957: |
| * paid_events | | * paid_events |
| *:Accept payments | | *:Accept payments |
− | * promo | + | <!--* promo |
− | *:Rewards and Referrals | + | *:Rewards and Referrals--> |
| * recap | | * recap |
| *:Daily report | | *:Daily report |
Line 2,055: |
Line 2,055: |
| Price field is present in response only if [[Custom_Features#Accept_Payments|Accept payments Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains an empty array if Custom Feature is enabled but booking was created for a free service. | | Price field is present in response only if [[Custom_Features#Accept_Payments|Accept payments Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains an empty array if Custom Feature is enabled but booking was created for a free service. |
| | | |
− | Promo field is present in response only if [[Rewards_and_Referrals_custom_feature|Rewards and Referrals Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains false if Custom Feature is enabled but booking was created without any promo codes. | + | <!--Promo field is present in response only if [[Rewards_and_Referrals_custom_feature|Rewards and Referrals Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains false if Custom Feature is enabled but booking was created without any promo codes. |
− | | + | --> |
| <code>additional_fields</code> field is present in response only if [[Custom_Features#Intake_Forms|Intake Forms Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains an empty array if Custom Feature is enabled but booking was created for a service with no intake forms. | | <code>additional_fields</code> field is present in response only if [[Custom_Features#Intake_Forms|Intake Forms Custom Feature]] is enabled. Otherwise this field will be an empty array. This field contains an empty array if Custom Feature is enabled but booking was created for a service with no intake forms. |
| | | |
Line 2,164: |
Line 2,164: |
| ---- | | ---- |
| | | |
− | ====getPluginPromoInfoByCode response==== | + | <!--====getPluginPromoInfoByCode response==== |
| | | |
| { | | { |
Line 2,192: |
Line 2,192: |
| | | |
| <code>service_ids</code> contains a list of services for wich promotion discount can be applied. | | <code>service_ids</code> contains a list of services for wich promotion discount can be applied. |
| + | --> |