| Parameter | Type | Default | Description |
|---|---|---|---|
| per_page | integer | 1000 | Number of results to be returned per request (1000 is the maximum) |
| page_no | integer | 1 | Number of results page |
| name | string | null | When given, returns only group of given name |
| type | string | null | When given, returns only groups of given type |
| automatic | boolean | null | When true, only automatic groups are returned, when false - only manual |
| system | boolean | null | When true, only system groups are returned, when false - only non-system |
| ids | integer[] | null | When given, returns only groups with the given ids |
| audiences_ids | integer[] | null | When given, returns only automatic groups for given audiences |
| search | string | null | When given, returns only groups that have name, type or description matching the query string |
| Key | Type | Description |
|---|---|---|
| members_groups | MembersGroup[] | Array of MembersGroup |
| pagination_info | Object | Pagination object |
{
"members_groups": [], // List of members groups - see 'MemberGroup model'
"pagination_info": {} // Pagination info - see 'Pagination info'
}curl --location --request GET 'https://api.mpc.dev.placewise.com/v3/infinity-mall/members_groups?name=Espresso House&type=Store&automatic=true&system=true&ids=1&audiences_ids=1&search' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: '{}