Menu
Get customer segments
Get customer segments
GET
/shops/{shopKey}/countries/{countryCode}/customer-segmentsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get customer segments action (under CustomerSegments).
- Fill in the fields below, then reference the result from later steps as
{{getCustomerSegments.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCustomerSegments.response.data.<field>}}.
{
"entities": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"referenceKey": "string",
"name": "string",
"criteriaDsl": "string",
"rules": 0,
"active": false,
"createdDate": "2025-01-01T00:00:00Z",
"updatedDate": "2025-01-01T00:00:00Z"
}
],
"cursor": {
"next": "MQ=="
}
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?