POST
/
businesses
/
{id}
/
segments

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
name
string
required

The name of the segment

customers
string[]
required

A list of customer IDs to include in this segment

Response

200 - application/json
id
string
required

The ID of the segment

name
string
required

The name of the segment

filter
string | null
required

The filter for this segment