From SimplyBook.me
Enter a message name below to show all available translations.
Found one translation.
| Name | Current message text |
|---|---|
| h English (en) | 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 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 <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). ---> |