PromoApiClient
Contains all the endpoints needed to manage Promo codes.
Constructors
Constructor
new PromoApiClient():
PromoApiClient
Returns
PromoApiClient
Methods
getSpecificPromo()
staticgetSpecificPromo(code,config?):Promise<SCPromoType>
This endpoint retrieves a specific Promo identified by Promo code.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| code | string | |
| config? | AxiosRequestConfig | 
Returns
Promise<SCPromoType>