Poq.SDK.Node

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

IBasketsClient.deleteBasketsByIDPaymentInstrumentsByID() method

Removes a payment instrument of a basket.

Signature:

deleteBasketsByIDPaymentInstrumentsByID(basketId: string, paymentInstrumentId: string, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

Parameter Type Description
basketId string the basket id
paymentInstrumentId string the id of the payment instrument to be removed
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>