Menu
Get Reset Password Token
Get reset password token.
POST
/organizations/{organizationId}/customers/password/actions/create-reset-tokenUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Reset Password Token action (under Shopper Customers).
- Fill in the fields below, then reference the result from later steps as
{{getResetPasswordToken.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"login": "loginId"
}
Response
Returns 200 with an object. Read it in later steps with {{getResetPasswordToken.response.data.<field>}}.
{
"login": "loginId",
"email": "jdoe@customer.com",
"resetToken": "R1e2s3e4t5T6o7k8e9n0",
"expiresInMinutes": 30
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?