Menu
Register Client
Create or update a client.
PUT
/tenants/{tenantId}/clients/{clientId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Register Client action (under Auth Admin).
- Fill in the fields below, then reference the result from later steps as
{{registerClient.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "High Adventure Wear",
"clientId": "fd0d4ab9-bb85-4c04-bebd-589bd74bdd75",
"secret": "client_secret",
"scopes": [
"sfcc.products",
"sfcc.catalogs",
"sfcc.customers:ro"
],
"redirectUri": [
"http://localhost:3000/callback",
"https://*.example.com/callback"
],
"channels": [
"RefArch",
"SiteGenensis"
],
"isPrivateClient": true,
"callbackUri": [
"http://localhost:3000/password-reset-callback",
"http://localhost:3000/passwordless-login-callback"
],
"loginEpRestrict": false,
"isSixDigitOtp": false,
"strictClientAuth": false
}
Response
Returns 200 with an object. Read it in later steps with {{registerClient.response.data.<field>}}.
{
"clientId": "fd0d4ab9-bb85-4c04-bebd-589bd74bdd75",
"name": "Client Name",
"secret": "client-secret",
"scopes": [
"sfcc.products",
"sfcc.catalogs",
"sfcc.customers:ro"
],
"redirectUri": "https://www.salesforce.com",
"callbackUri": "https://www.salesforce.com",
"channels": [
"RefArch",
"SiteGenensis"
],
"isPrivateClient": true,
"loginEpRestrict": false,
"isSixDigitOtp": false,
"strictClientAuth": false
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?