FilterableCustomerProps
The filters to apply on the retrieved customer.
id
string | string[]The IDs to filter the customer by.
email
string | string[] | OperatorMap<string>Filter by email.
groups
string | string[] | FilterableCustomerGroupPropsFilter by associated customer group.
default_billing_address_id
null | string | string[]Filter by the associated default billing address's ID.
default_shipping_address_id
null | string | string[]Filter by the associated default shipping address's ID.
company_name
null | string | string[] | OperatorMap<string>Filter by company name.
first_name
null | string | string[] | OperatorMap<string>Filter by first name.
last_name
null | string | string[] | OperatorMap<string>Filter by last name.
has_account
boolean | OperatorMap<boolean>Filter by whether the customer has an account.
created_by
null | string | string[]Filter by the
created_by
attribute.created_at
OperatorMap<string>Filter by created date.
created_at
OperatorMap<string>updated_at
OperatorMap<string>Filter by updated date.
updated_at
OperatorMap<string>An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
Was this section helpful?