Admin API / Types

CollectionRulesInput

Input

The rules of an automated listing collection. A listing matches when it matches every rule; inside one rule, one value is enough. An omitted, null or empty list, or an omitted, null or false flag, sets no rule. An empty object selects every listing.

input CollectionRulesInput

Input fields

FieldTypeDescription
listingTypes[CollectionListingType!]Listing formats that match.
requiresSubscriptionBooleanTrue: only listings that only subscribers can buy.
sellerIds[ID!]Sellers whose listings match. At most 100 unique users of this store. Duplicates are removed.
sellerIsSubscriberBooleanTrue: only listings whose seller holds an active tier subscription.
sourceCollectionIds[ID!]Manual listing collections whose listings match. At most 100 unique collections. Duplicates are removed. A hidden source adds no listings while it is hidden.