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
key
key · String!
Key to filter by. If not other fields provided - checking the existence of the key in metadata.
value
value · MetadataValueFilterInput
Value to filter by.
Used by
- CustomerOrderWhereInput (inputs)
- DraftOrderWhereInput (inputs)
- FulfillmentFilterInput (inputs)
- LinesFilterInput (inputs)
- OrderWhereInput (inputs)
- TransactionFilterInput (inputs)
- PageWhereInput (inputs)
- CustomerTypeWhereInput (inputs)
- CustomerWhereInput (inputs)
Schema: Saleor 3.23.43. Download SDL.