Poq.SDK.Node

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

CustomersClient.putCustomersByIDPassword() method

Updates a customers password. The default implementation updates the password in the resource. Versions prior to 21.3 updated the password in the afterPUT hook, which was incompatible with the Mercury API. Starting in version 21.3, the afterPUT_v2 hook replaces the afterPUT hook.

Signature:

putCustomersByIDPassword(customerId: string, body: PasswordChangeRequest, options?: RequestOptions): Promise<PoqResponse<void>>;

Parameters

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

Returns:

Promise<PoqResponse<void>>