Segments Tutorial
How to add a customer segment
Create a customer segment
curl -i -X POST
'https://api.emporix.io/customer-segment/{tenant}/segments'
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
-H 'Content-Language: string'
-H 'Content-Type: application/json'
-d '{
"id": "628cd20c6e8b2432b6346ca6",
"name": {
"en": "Golden Segment"
},
"description": {
"en": "Golden Segment"
},
"validity": {
"from": "2024-04-17T08:00:00.000Z",
"to": "2025-04-17T08:00:00.000Z"
},
"status": "ACTIVE",
"siteCode": "main"
}'Add products/categories to a segment
Add segment members
How to find a specific segment using search parameters
How to apply a coupon to a segment
API ReferenceHow to use customer segments on a storefront
Retrieve all products and/or categories
API ReferenceUse the segment information
API ReferenceAPI ReferenceLast updated
Was this helpful?

