Skip to main content
POST
Add a customer to a segment

Authorizations

Authorization
string
header
required

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

The updated Segment object

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

description
string | null
required

A Markdown description of the filter

metadata
object

Metadata attached to this segment

static_customers
string[]

The customers that are always included in this segment