Skip to main content

searchCustomerFields

Deprecated

Use Query.customerFields instead

Lists CustomerFields

Arguments

afterString

A cursor to search after (only include first & after or last & before)

beforeString

A cursor to search before (only include first & after or last & before)

byStatusCustomerFieldStatusFilter

The status of the CustomerField to filter results by

firstInt

The number of results to fetch when searching forward (only include first & after or last & before)

isCustomBoolean

Whether or not the CustomerField is a custom field

lastInt

The number of results to fetch when searching backward (only include first & after or last & before)

searchString

A search query to filter results

sortBySortCustomerFieldsBy

The sort key

sortDirSortDirection

The sort direction

Returns

CustomerFieldConnection!
A connection to a list of items.