v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Customer Groups

Get Customer Group

To get customer group info by inputing customer group.<br>輸入顧客分群ID取得顧客分群資訊。

get/customer_groups/{id}

Path parameters

idstring required

Customer Group ID<br>顧客分群ID

Response

OK

Example response

{
  "items": [
    {
      "id": "5ce0d084e388096bdb229a59",
      "name": "VIP",
      "count": 10,
      "email_users_count": 10,
      "mobile_phone_users_count": 10,
      "updated_at": "2018-07-31T03:57:36.409+00:00",
      "created_at": "2018-07-31T03:57:36.409+00:00",
      "status": "active",
      "update_type": "manual",
      "update_cycle": 7,
      "created_by": "manual",
      "parent_id": "5ce0d084e388096bdb229a59",
      "last_child_id": "643fbf34029235003557bf05",
      "last_updated_at": "2018-07-31T03:57:36.409+00:00",
      "next_update_at": "2018-07-31T03:57:36.409+00:00",
      "expired_at": "2018-07-31T03:57:36.409+00:00"
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 24,
    "total_count": 1,
    "total_pages": 1
  }
}