Returns the list of segments IDs to which the customer belongs to.
If you pass a customerId which is not stored and recognized by Voucherify as an existing customer in the system, the response will generate a list of segments that the customer would potentialy qualify for if they were to become a customer tracked in the system.
The access token received from the authorization server in the OAuth 2.0 flow.
Unique identifier of a customer represented by an internal customer ID or customer source ID.
"cust_nk0N1uNQ1YnupAoJGOgvsODC"
The method returns segment(s) to which the given customer belongs to.
Response body schema for GET v1/customers/{customerId}/segments.
List of customer's segments
The type of the object represented by JSON. This object stores information about customer segments.
Identifies the name of the JSON property that contains the array of segment IDs.
A dictionary that contains an array of segment IDs and names.
Total number of segments the customer belongs to.