Feature Pack 7

Check whether the given customer(identified by userId or personalizationId) is part of given customer segment

The following example shows how to check whether the given customer(identified by userId or personalizationId) is part of given customer segment.

Request


GET /wcs/resources/store/10101/segment/8000000000000000001/isMember?personalizationId=1379316053431-2 HTTP/1.1
Host: testserver.mycompany.com
Content-Type: application/json

Response


HTTP/1.1 200 OK
Content-Type: application/json