PUT
/segments/{id}/members
Replace Segment Members
Replace the membership list for a static segment.
Replace the membership list for a static segment.
curl -X PUT "http://localhost:8080/v1/segments/id_123/members" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"contact_external_ids": [
"wc_customer_42",
"wc_customer_84"
]
}'
{
"id": "id_123"
}
{
"contact_external_ids": [
"wc_customer_42",
"wc_customer_84"
]
}