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