Segments
Create a segment
POST
/
businesses
/
{id}
/
segments
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
name
string
requiredThe name of the segment
customers
string[]
requiredA list of customer IDs to include in this segment
Response
200 - application/json
id
string
requiredThe ID of the segment
name
string
requiredThe name of the segment
filter
string | null
requiredThe filter for this segment