Home > @poq/sdk-sfcc > ICustomersClient > putCustomersByIDPassword
Updates a customer’s 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>>;
Parameter | Type | Description |
---|---|---|
customerId | string | the customer id |
body | PasswordChangeRequest | |
options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<void>>