Skip to main content

MetadataFilterInput Input Type

Allows filtering based on metadata key/value pairs.

Examples:

  • {key: "size"} Matches objects where the metadata key "size" exists, regardless of its value.
  • {key: "color", value: {oneOf: ["blue", "green"]}} Matches objects where the metadata key "color" is set to either "blue" or "green".
  • {key: "status", value: {eq: "active"}} Matches objects where the metadata key "status" is set to "active".
input MetadataFilterInput {
key: String!
value: MetadataValueFilterInput
}

Fields

MetadataFilterInput.key ● String! non-null scalar miscellaneous

Key to filter by. If not other fields provided - checking the existence of the key in metadata.

MetadataFilterInput.value ● MetadataValueFilterInput input miscellaneous

Value to filter by.

Member Of

CustomerWhereInput input ● DraftOrderWhereInput input ● FulfillmentFilterInput input ● LinesFilterInput input ● OrderWhereInput input ● PageWhereInput input ● TransactionFilterInput input