Poq.SDK.Node

Home > @poq/sdk-sfcc > CustomersClient > deleteCustomersByIDPaymentInstrumentsByID

CustomersClient.deleteCustomersByIDPaymentInstrumentsByID() method

Deletes a customers payment instrument.

Signature:

deleteCustomersByIDPaymentInstrumentsByID(customerId: string, paymentInstrumentId: string, options?: RequestOptions): Promise<PoqResponse<void>>;

Parameters

Parameter Type Description
customerId string the id of the customer to delete the payment instrument for
paymentInstrumentId string the id of the payment instrument to be deleted
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<void>>