CustomerGroups: Magento Customer Groups
insert update delete REST
- Catalog:
Magento - Schema:
Customers - Primary Keys:
id - Label: Customer Groups
Retrieve customer groups. The list of groups can be filtered to exclude the NOT_LOGGED_IN group using the first parameter and/or it can be filtered by tax class. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#GroupRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
Can retrieve data and change data using insert, update and delete.
Summary
Retrieve customer groups. The list of groups can be filtered to exclude the NOT_LOGGED_IN group using the first parameter and/or it can be filtered by tax class. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#GroupRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
API Source
- Endpoint:
/V1/customerGroups/search - Operation:
get /V1/customerGroups/search
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 45 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,114 |
| Write rows per minute | 599 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
search |
`` | Current page. | ||
search |
`` | Condition type | ||
search |
`` | Field | ||
search |
`` | Value | ||
search |
`` | Page size. | ||
search |
`` | Sorting direction. | ||
search |
`` | Sorting field. |
Table Columns
The columns of the table CustomerGroups are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
code |
varchar2 |
Code | filters on the platform, writable, code |
Code | |
extension_ |
varchar2 |
Extension Attributes Exclude Website IDs | filters on the platform, writable, extension_ |
exclude_website_ids The identifiers, separated by commas. | |
id |
int64 |
ID | filters on the platform, writable, id |
Id | |
tax_ |
int64 |
Tax Class ID | filters on the platform, writable, tax_ |
Tax class id | |
tax_ |
varchar2 |
Tax Class Name | filters on the platform, writable, tax_ |
Tax class name |