Line 582: |
Line 582: |
| ---- | | ---- |
| | | |
− | === getPluginPromoInfoByCode === | + | <!----=== getPluginPromoInfoByCode === |
| | | |
| <code>getPluginPromoInfoByCode($code)</code> | | <code>getPluginPromoInfoByCode($code)</code> |
Line 594: |
Line 594: |
| Returns an object with detailed information about Rewards and referrals promotion by promotion code. You can get promotion code | | Returns an object with detailed information about Rewards and referrals promotion by promotion code. You can get promotion code |
| using <code>[[Catalogue#getPromotionList|getPromotionList]]</code> API method. If promotion record with specified | | using <code>[[Catalogue#getPromotionList|getPromotionList]]</code> API method. If promotion record with specified |
− | code not found then method returns an empty array (an empty object). If [[Custom_Features#Rewards_and_Referrals|Rewards and Referrals Custom Feature]] | + | code not found then method returns an empty array (an empty object). If [[Rewards_and_Referrals_custom_feature|Rewards and Referrals Custom Feature]] |
| not enabled then method returns an error with code -32001 (Custom Feature is not activated). Use | | not enabled then method returns an error with code -32001 (Custom Feature is not activated). Use |
| <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 633: |
Line 633: |
| ---- | | ---- |
| | | |
− | === getPromotionRewardInfo === | + | <!---=== getPromotionRewardInfo === |
| | | |
| <code>getPromotionRewardInfo($commonPromotionId, $clientId, $hash)</code> | | <code>getPromotionRewardInfo($commonPromotionId, $clientId, $hash)</code> |
Line 647: |
Line 647: |
| Returns promotion reward by common promotion id, client id and hash. | | Returns promotion reward by common promotion id, client id and hash. |
| | | |
− | | + | --> |
| ---- | | ---- |
| | | |
Line 1,109: |
Line 1,109: |
| * paid_events | | * paid_events |
| *:Accept payments | | *:Accept payments |
− | * promo | + | <!--* promo |
− | *:Rewards and Referrals | + | *:Rewards and Referrals--> |
| * recap | | * recap |
| *:Daily report | | *:Daily report |
Line 1,236: |
Line 1,236: |
| ---- | | ---- |
| | | |
− | ====getPluginPromoInfoByCode response==== | + | <!----====getPluginPromoInfoByCode response==== |
| | | |
| { | | { |
Line 1,263: |
Line 1,263: |
| } | | } |
| | | |
− | <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.--> |
| ---- | | ---- |
| | | |