Poq.SDK.Node

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

CustomersClient.postCustomersByIDPaymentInstruments() method

Adds a payment instrument to a customer. Note that it cant update the read-only credit_card_token on a payment_card record.

Signature:

postCustomersByIDPaymentInstruments(customerId: string, body: CustomerPaymentInstrumentRequest, options?: RequestOptions): Promise<PoqResponse<CustomerPaymentInstrument>>;

Parameters

Parameter Type Description
customerId string the id of the customer
body CustomerPaymentInstrumentRequest  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<CustomerPaymentInstrument>>