CustomerSegmentMembers

Add CustomerSegmentMember

Adds a customer to the given CustomerSegment.

post/shop/customers/customer-segments/{customerSegmentId}/members

Request body

customer_idstring uuid required

The ID of the customer to add to the segment.

Response

The segment member was successfully retrieved.

Example response

{
  "data": {
    "customer": {
      "email": "janedoe@example.com",
      "first_name": "Jane",
      "full_name": "Jane Doe",
      "last_name": "Doe",
      "phone": "+447900000000"
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.