Skip to main content

MediaFilterInput

Filtering options for images.

input MediaFilterInput {
attributeFilters: [MediaAttributeFilterInput!]
boardIds: [ID!]
brandId: ID
createdAfter: ISO8601DateTime
createdBefore: ISO8601DateTime
hasOpenComments: Boolean
hasProducts: Boolean
keyword: String
productIds: [ID!]
salesChannelIds: [ID!]
tags: [String!]
}

Fields​

MediaFilterInput.attributeFilters ● [MediaAttributeFilterInput!] list input products​

Filter by custom field values. Each entry narrows the result; values within one entry match any.

MediaFilterInput.boardIds ● [ID!] list scalar common​

Images on any of these boards.

MediaFilterInput.brandId ● ID scalar common​

Filter by brand.

MediaFilterInput.createdAfter ● ISO8601DateTime scalar common​

Include images created at or after this timestamp.

MediaFilterInput.createdBefore ● ISO8601DateTime scalar common​

Include images created strictly before this timestamp.

MediaFilterInput.hasOpenComments ● Boolean scalar common​

Images with, or without, an unresolved comment thread.

MediaFilterInput.hasProducts ● Boolean scalar common​

Filter by whether the image is associated with any product.

MediaFilterInput.keyword ● String scalar common​

Search file name, alt text, description, tags, custom field values, and the SKU or name of an associated product.

MediaFilterInput.productIds ● [ID!] list scalar common​

Filter by associated products.

MediaFilterInput.salesChannelIds ● [ID!] list scalar common​

Images placed on a listing of any of these channels.

MediaFilterInput.tags ● [String!] list scalar common​

Images carrying any of these tags.

Member Of​

media query ● MediaExportInput input