Home > @poq/sdk-sfcc > BasketsClient > postBasketsByIDCoupons
Adds a coupon to an existing basket.
Signature:
postBasketsByIDCoupons(basketId: string, body: CouponItem, options?: RequestOptions): Promise<PoqResponse<Basket>>;
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>>