Skip to main content

Class: PromoApiClient

services/promo.PromoApiClient

Contains all the endpoints needed to manage Promo codes.

Constructors

constructor

new PromoApiClient(): PromoApiClient

Returns

PromoApiClient

Methods

getSpecificPromo

getSpecificPromo(code, config?): Promise<SCPromoType>

This endpoint retrieves a specific Promo identified by Promo code.

Parameters

NameType
codestring
config?AxiosRequestConfig<any>

Returns

Promise<SCPromoType>

Defined in

services/promo/index.ts:19