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

Customers: Magento Customers

insert update delete REST

  • Catalog: Magento
  • Schema: Customers
  • Primary Keys: id
  • Label: Customers

Retrieve customers which match a specified criteria. 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#CustomerRepositoryInterface 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 customers which match a specified criteria. 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#CustomerRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

API Source

  • Endpoint: /V1/customers/search
  • Operation: get /V1/customers/search

Performance Characteristics

Characteristic Value
Average access latency (ms) 50
Full scan rows per minute 92,118
Point query rows per minute 1,188
Write rows per minute 303

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 Customers 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
confirmation varchar2 Confirmation filters on the platform, writable, confirmation Confirmation
created_at varchar2 Created At filters on the platform, writable, created_at Created at time
created_in varchar2 Created In filters on the platform, writable, created_in Created in area
default_billing varchar2 Default Billing filters on the platform, writable, default_billing Default billing address id
default_shipping varchar2 Default Shipping filters on the platform, writable, default_shipping Default shipping address id
disable_auto_group_change int64 Disable Auto Group Change filters on the platform, writable, disable_auto_group_change Disable auto group change flag.
dob varchar2 Date of Birth filters on the platform, writable, dob In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers (e.g., full name) before collecting or processing such data.
email varchar2 Email filters on the platform, writable, email Email address
extension_attributes_assistance_allowed int64 Extension Attributes Assistance Allowed filters on the platform, writable, extension_attributes.assistance_allowed
extension_attributes_is_subscribed char Extension Attributes Is Subscribed filters on the platform, writable, extension_attributes.is_subscribed
firstname varchar2 First Name filters on the platform, writable, firstname First name
gender int64 Gender filters on the platform, writable, gender Gender
group_id int64 Group ID filters on the platform, writable, group_id Group id
id int64 ID filters on the platform, writable, id Customer id
lastname varchar2 Last Name filters on the platform, writable, lastname Last name
middlename varchar2 Middle Name filters on the platform, writable, middlename Middle name
prefix varchar2 Prefix filters on the platform, writable, prefix Prefix
store_id int64 Store ID filters on the platform, writable, store_id Store id
suffix varchar2 Suffix filters on the platform, writable, suffix Suffix
taxvat varchar2 VAT Number filters on the platform, writable, taxvat Tax Vat
updated_at varchar2 Updated At filters on the platform, writable, updated_at Updated at time
website_id int64 Website ID filters on the platform, writable, website_id Website id