Menu
Authorize Passwordless Customer
Authorize Passwordless Customer
POST
/organizations/{organizationId}/oauth2/passwordless/loginUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Authorize Passwordless Customer action (under Auth (SLAS)).
- Fill in the fields below, then reference the result from later steps as
{{authorizePasswordlessCustomer.response.data}}.
Request
Path parameters
Query parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"user_id": "samantha.sampleson@example.com",
"mode": "email",
"channel_id": "RefArch",
"locale": "en-us",
"usid": "18cda486-fe32-4e27-888b-6e4f89938e67",
"callback_uri": "http://localhost:9050/passwordless/login/callback",
"last_name": "Sampleson",
"email": "samantha.sampleson@example.com",
"first_name": "Samantha",
"phone_number": 17776665555,
"customer_no": 123456789
}
Response
Returns 200 with a string. Read it in later steps with {{authorizePasswordlessCustomer.response.data.<field>}}.
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?