Create a segment
Creates a named set of customers, such as key accounts or EMEA. key must be unique in the account, archived segments included, and cannot change. An account has at most 500 segments, archived ones included. Put a customer in it with segments when creating the customer, or addSegments when updating one.
Authentication
Headers
This endpoint is in the segments=v1 beta. Send this header to use it.
Request
Your stable name for the segment, 1 to 64 lowercase letters, digits and _. Unique on your account, archived segments included. Immutable. Accepted wherever a segment is named.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always segment.
When the segment was archived, or null. An archived segment stays readable, is removed from every customer, and keeps its key reserved.
Your stable name for the segment, 1 to 64 lowercase letters, digits and _. Unique on your account, archived segments included. Immutable. Accepted wherever a segment is named.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.