Get member group detail
GET/openapi/2026-07/loyalty/member-groups/:member_group_id
Return the detail of a specific member segment
Request
Path Parameters
Member group ID from path
Query Parameters
Members pagination cursor
Members page size
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
- Array [
- ]
error code
error message
data object
Get member group detail response
member_condition object
Member condition expression (recursive tree)
Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
extra object
Member condition extra config (time window, categories, products, regions)
Time range window: all / 7d / 30d
categories object[]
Categories filter, 2-level nested array ([["a","a-1"],["b"]])
Repeated field of dynamically typed values.
Product id list
country_and_province object
Country+province map: key=country code, value=province codes (["ALL"]=whole country)
property name* ListValue
ListValue is a wrapper around a repeated field of values.
The JSON representation for ListValue is JSON array.
Repeated field of dynamically typed values.
members object
Paginated members block inside member group detail
items object[]
Member ID
Member email
Member phone
Member first name
Member last name
Current tier name
Member created at, ISO-8601
Accumulated transactions amount as a decimal string
Member birthday; empty string when not set
Member status: active / inactive / ...
Member tags
Loyalty activation time, ISO-8601; empty when not activated
First order time, ISO-8601; empty when none
{
"code": "string",
"message": "string",
"data": {
"member_group_id": "string",
"name": "string",
"is_real_time": true,
"member_count": 0,
"created_at": "string",
"updated_at": "string",
"member_condition": {
"key": "string",
"operator": "string",
"extra": {
"time_range": "string",
"categories": [
{
"values": [
null
]
}
],
"product_ids": [
"string"
],
"country_and_province": {}
},
"relation": "string",
"children": [
null
]
},
"members": {
"items": [
{
"member_id": "string",
"email": "string",
"phone": "string",
"first_name": "string",
"last_name": "string",
"current_tier_name": "string",
"created_at": "string",
"transactions_amount": "string",
"birthday": "string",
"status": "string",
"tags": [
"string"
],
"activated_at": "string",
"first_order_at": "string"
}
],
"next_cursor": "string",
"has_more": true,
"limit": 0
}
}
}