Menu
Get Customer Groups
Get a list of customer groups.
GET
/organizations/{organizationId}/customer-groupsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Customer Groups action (under Customers (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getCustomerGroups.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCustomerGroups.response.data.<field>}}.
{
"data": [
{
"id": "Big Spenders",
"creationDate": "9999-12-31T00:00:00.0Z",
"description": "Customers who spent more than $1000 in last month",
"inDeletion": false,
"lastModified": "9999-12-31T00:00:00.0Z",
"memberCount": 109,
"rule": {
"description": "Customers who spend more than $1000 in the last month"
},
"type": "static"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?