Skip to main content
This endpoint retrieves a list of all customer groups.
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "My Customers",
            "discount_type": null,
            "discount_value": 0,
            "system_type": "my_customers",
            "created_at": "2025-08-16T15:21:15.000000Z",
            "updated_at": "2025-08-16T15:21:15.000000Z",
            "deleted_at": null
        }
    ],
    "total": 1,
    "time": 71,
    "timestamp": "2025-10-24 05:38:15",
    "sorts": [
        "id",
        "name",
        "discount_type",
        "discount_value",
        "total_amount",
        "created_at",
        "updated_at",
        "deleted_at"
    ],
    "unix": 1761284295
}

Customer Group Object

FieldTypeDescription
idintegerThe unique identifier for the customer group.
namestringThe name of the customer group.
discount_typestring | nullThe type of discount associated with the group.
discount_valuenumberThe value of the discount.
system_typestring | nullThe system type of the group (e.g., ‘my_customers’).
created_atstringThe timestamp when the group was created.