Translations:Company administration service methods/321/en: Difference between revisions

From SimplyBook.me
FuzzyBot (talk | contribs)
Importing a new version from external source
 
(No difference)

Latest revision as of 12:57, 15 May 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Company administration service methods)
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).
--->

Returns an object with detailed information about Rewards and referrals promotion by promotion code. You can get promotion code using getPromotionList 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 not enabled then method returns an error with code -32001 (Custom Feature is not activated). Use isPluginActivated('promo') API method call to check if Custom Feature enabled. See example of getPromotionList API method response. Please note that response contains a list of services for wich promotion discount can be applied (service_ids key). --->