Create a segment
POST/segments
Creates a new customer or product segment for the store. Rules follow the segment rule DSL (nested AND/OR/NOT groups of field conditions).
Request
Responses
- 201
- 400
- 401
- 429
Segment created
Validation error
Unauthorized - Invalid or missing API key
Rate limit exceeded
Response Headers
Retry-After