Class: PromoApiClient
services/promo.PromoApiClient
Contains all the endpoints needed to manage Promo codes.
Constructors
constructor
• new PromoApiClient(): PromoApiClient
Returns
Methods
getSpecificPromo
▸ getSpecificPromo(code
, config?
): Promise
<SCPromoType
>
This endpoint retrieves a specific Promo identified by Promo code.
Parameters
Name | Type |
---|---|
code | string |
config? | AxiosRequestConfig <any > |
Returns
Promise
<SCPromoType
>