Home > @vsf-enterprise/sap-commerce-webservices-sdk > PromotionsApiFactory

PromotionsApiFactory variable

PromotionsApi - factory interface

Signature:

PromotionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    getPromotion(baseSiteId: string, code: string, fields?: string, options?: any): AxiosPromise<Promotion>;
    getPromotions(baseSiteId: string, type: 'all' | 'product' | 'order', fields?: string, promotionGroup?: string, options?: any): AxiosPromise<PromotionList>;
}