Poq.SDK.Node

Home > @poq/sdk-sfcc > IBasketsClient > deleteBasketsByIDCouponsByID

IBasketsClient.deleteBasketsByIDCouponsByID() method

Removes a coupon from the basket.

Signature:

deleteBasketsByIDCouponsByID(basketId: string, couponItemId: string, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

Parameter Type Description
basketId string the id of the basket to be modified
couponItemId string the id of the coupon item to be removed
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>