Poq.SDK.Node

Home > @poq/sdk-sfcc > IOrdersClient > deleteOrdersByIDPaymentInstrumentsByID

IOrdersClient.deleteOrdersByIDPaymentInstrumentsByID() method

Removes a payment instrument of an order.

Signature:

deleteOrdersByIDPaymentInstrumentsByID(orderNo: string, paymentInstrumentId: string, options?: RequestOptions): Promise<PoqResponse<Order>>;

Parameters

Parameter Type Description
orderNo string the order number
paymentInstrumentId string the id of the payment instrument to be updated
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Order>>