Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Specify the boundary conditions for the customer segment.
- Static Customer Segment
- Active or Passive Customer Segment
Request body schema for POST v1/segments
.
Request body schema for creating a static customer segment in POST v1/segments
.
Segment name.
Defines that the segment is static, meaning it includes only the manually selected customers.
static
Array of customer IDs.
Response
Returns a customer segment object.
Response body schema for POST v1/segments
.
This is an object representing a customer segment.
Unique segment ID.
"seg_1wc52c5z6r1kQ81brO8j9Hk2"
Segment name.
Timestamp representing the date and time when the segment was created. The value is shown in the ISO 8601 format.
"2022-05-12T13:01:56.896Z"
Defines whether the segment is:
- Active (
auto-update
): customers enter and leave the segment based on the defined filters and thecustomer.segment.entered
andcustomer.segment.left
events are triggered, - Passive (
passive
): customers enter and leave the segment based on the defined filters, but thecustomer.segment.entered
andcustomer.segment.left
events are not triggered, - Static (
static
): manually selected customers.
auto-update
, passive
, static
Defines a set of criteria for an auto-update
or passive
segment type.
IN_PROGRESS
, DONE
The type of the object represented by JSON. This object stores information about the customer segment.
segment