Poq.SDK.Node

Home > @poq/sdk-sfcc > BasketsClient > postBasketsByIDCoupons

BasketsClient.postBasketsByIDCoupons() method

Adds a coupon to an existing basket.

Signature:

postBasketsByIDCoupons(basketId: string, body: CouponItem, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

Parameter Type Description
basketId string The id of the basket to be modified.
body CouponItem  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>