Skip to main content

searchCustomersByContactMethod

Deprecated

Use Query.searchCustomers instead

Searches for customers by email address or phone number

Arguments

afterString

Returns the items in the list that come after the specified cursor.

beforeString

Returns the items in the list that come before the specified cursor.

emailAddressEmailAddress
firstInt
lastInt

Returns the last n items from the list.

phoneNumberPhoneNumber
searchArchivedBoolean

Returns

CustomerConnection!
A connection to a list of items.