Fumadocs

Search

POST

Search for customers and orders.

Arguments

term*String!

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

A result of the search query.

A registered customer.

query Search($term: String!) {  search(term: $term) {    __typename    ... on Customer {      id      name      contact {        email        phone      }      orders {        id        status        createdAt        total      }    }  }}