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

PromotionsApiFp variable

PromotionsApi - functional programming interface

Signature:

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