Customer Groups
Get Customer Groups
The "Get Customer Groups" API allows you to retrieve a list of customer groups. This feature is useful when listing price of product based on the selected customer group, providing users with pricing options and enhancing their purchasing decisions.
Endpoint:
api/customer/customer_groups
Http Method:
GET
معلومات
Please note that ENABLE_CUSTOMER_GROUPS
configuration must be enabled to utilize this API.
- Success Response:
Key | Type | Description |
---|---|---|
id | integer | Unique identifier for the customer group. |
name | string | Name of the customer group in English. |
name_ar | string | Name of the customer group in Arabic. |
{
"code": 200,
"message": "Success",
"data": [
{
"id": 3,
"name": "Wholesales Customer",
"name_ar": "Wholesales Customer"
}
],
"meta": []
}
معلومات
Check the following section to learn more about the Get Customer Groups API Reference