Create segment
1 min
POST
https://api.b.preview.loyaltyservices.io/api/v3/segments
acceptstringGenerated from available response content types
bodyobject<p>Defines a segment (list of members)</p>
200Success
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request POST \
--url https://api.b.preview.loyaltyservices.io/api/v3/segments \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"name": "Silver Tier Members 2024",
"statusCode": "ACTIVE",
"typeCode": "SEGMENT"
}'