Interfaces are an abstract type that includes a certain set of fields that are grouped together. For example, our
AdviseMessage interface requires the error code, error type and error description fields to be used together.
Interface is described in the same way:
- A short definition of the
- An interactive GraphQL schema definition
- A list of all of the fields that are included in this
Interface (remember, in GraphQL, ‘!’ indicates mandatory fields. Some interfaces have all fields mandatory and some have a mix of mandatory and optional fields)
- Where possible, we are adding examples of how to use this object in your queries.