GET /V1/customers/search
GET /V1/customers/search is a Magento 2 REST endpoint in the Customer module. Retrieve customers which match a specified criteria. Requires an admin Bearer token with ACL Magento_Customer::customer.
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.
Last verified: against Magento 2.4.9.
Returns
Magento\Customer\Api\Data\CustomerSearchResultsInterface
Service contract
Magento\Customer\Api\CustomerRepositoryInterface::getList
Authorization
Admin Bearer token with ACL:
- Magento_Customer::customer
Query parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/customers/searchRelated in Customer
Other endpoints shipped by the same module.
/V1/addresses/:addressId
Delete customer address by ID.
Customer · Magento\Customer\Api\AddressRepositoryInterface::deleteById
/V1/attributeMetadata/customer
Customer · Magento\Customer\Api\CustomerMetadataInterface::getAllAttributesMetadata
/V1/attributeMetadata/customer/attribute/:attributeCode
Customer · Magento\Customer\Api\CustomerMetadataInterface::getAttributeMetadata
/V1/attributeMetadata/customer/custom
Customer · Magento\Customer\Api\CustomerMetadataInterface::getCustomAttributesMetadata
/V1/attributeMetadata/customer/form/:formCode
Customer · Magento\Customer\Api\CustomerMetadataInterface::getAttributes
/V1/attributeMetadata/customerAddress
Customer · Magento\Customer\Api\AddressMetadataInterface::getAllAttributesMetadata
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.