Home > @vsf-enterprise/sap-commerce-webservices-sdk > PromotionsApi
PromotionsApi class
PromotionsApi - object-oriented interface PromotionsApi {BaseAPI}
Signature:
export declare class PromotionsApi extends BaseAPI
Extends: BaseAPI
Methods
Method | Modifiers | Description |
---|---|---|
getPromotion(baseSiteId, code, fields, options) | Returns details of a single promotion specified by a promotion code. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers and therefore some of them are currently not compatible with the new promotion engine. Get a promotion based on code | |
getPromotions(baseSiteId, type, fields, promotionGroup, options) | Returns promotions defined for a current base site. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers and therefore some of them are currently not compatible with the new promotion engine. Get a list of promotions. |