CustomerSegments

Create CustomerSegment

Creates a new CustomerSegment for the given site.

post/shop/customers/customer-segments

Request body

namestring required

The display name of the segment.

site_idstring uuid required

The ID of the site this segment belongs to.

Example request

{
  "name": "Premium Members"
}

Response

The customer segment was successfully retrieved.

Example response

{
  "data": {
    "name": "Premium Members"
  }
}

Changes

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