Poq.SDK.Node

Home > @poq/sdk-sfcc > ICustomersClient > postCustomersPasswordActionsCreateResetToken

ICustomersClient.postCustomersPasswordActionsCreateResetToken() method

Returns a reset password token for the passed in customers login that will be used with the customers/reset_password endpoint to change the customers password. This differs from the customers/password_reset endpoint as it does not require or allow before or after hook processing.

Signature:

postCustomersPasswordActionsCreateResetToken(body: ResetPasswordTokenRequest, options?: RequestOptions): Promise<PoqResponse<ResetPasswordTokenResult>>;

Parameters

Parameter Type Description
body ResetPasswordTokenRequest  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<ResetPasswordTokenResult>>