invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

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
searchCriteria[currentPage] `` Current page.
searchCriteria[filterGroups][0][filters][0][conditionType] `` Condition type
searchCriteria[filterGroups][0][filters][0][field] `` Field
searchCriteria[filterGroups][0][filters][0][value] `` Value
searchCriteria[pageSize] `` Page size.
searchCriteria[sortOrders][0][direction] `` Sorting direction.
searchCriteria[sortOrders][0][field] `` 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_attributes_exclude_website_ids varchar2 Extension Attributes Exclude Website IDs filters on the platform, writable, extension_attributes.exclude_website_ids exclude_website_ids The identifiers, separated by commas.
id int64 ID filters on the platform, writable, id Id
tax_class_id int64 Tax Class ID filters on the platform, writable, tax_class_id Tax class id
tax_class_name varchar2 Tax Class Name filters on the platform, writable, tax_class_name Tax class name