Translations:Company administration service methods/321/en

Revision as of 12:57, 15 May 2025 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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). --->