- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Match
SearchFieldGroupInput
The fields of SearchFieldGroupInput, and the part each one belongs to.
Match. This input describes the records that you want to find. You pass it to SearchInput.fields.
Input object.
Fields
Section titled “Fields”| Field | Type | Part | Description |
|---|---|---|---|
name |
String |
Match | The name of the business to match. |
address |
AddressInput |
Match | The address to match. |
person |
PersonInput |
Match | The details of a person to match. |
phoneNumber |
String |
Match | The phone number to match. |
website |
String |
Match | The website to match, such as enigma.com. |
tin |
TinInput |
Match | The taxpayer identification number (TIN) of the business. A tin requires name in the same group. |
id |
String |
Match | The ID of the entity to return, of the kind that entityType sets. |
Example
Section titled “Example”query { search(searchInput: { entityType: BRAND fields: [{ name: "Safeway" }] conditions: { limit: 1 } }) { ... on Brand { id } }}Response, as returned:
{ "data": { "search": [ { "id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a" } ] }}