POST
/
segments
/
{id}
/
customers

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

The ID of the segment

Body

application/json
customer
string
required

The ID of the customer to add to the 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