Menu
Register Pwd Action Template
Create or update a password action template.
PUT
/tenants/{tenantId}/clients/{clientId}/password-action-templatesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Register Pwd Action Template action (under Auth Admin).
- Fill in the fields below, then reference the result from later steps as
{{registerPwdActionTemplate.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"channelId": "SiteGenesis",
"name": "Password Action Email Template",
"subject": "Password Action Token Request",
"link": "This is your password action token: ${token}",
"locale": "en-us",
"actionType": "PWDLESS_LOGIN",
"templateType": "EMAIL",
"template": "Passwordless Login Token Request\nYou're receiving this because you requested a passwordless login token for your account. ${link}"
}
Response
Returns 200 with an object. Read it in later steps with {{registerPwdActionTemplate.response.data.<field>}}.
{
"channelId": "SiteGenesis",
"name": "Password Action Email Template",
"subject": "Password Action Token Request",
"link": "This is your password action token: ${token}",
"locale": "en-us",
"actionType": "PWDLESS_LOGIN",
"templateType": "EMAIL",
"template": "Passwordless Login Token Request\nYou're receiving this because you requested a passwordless login token for your account. ${link}"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?