Admin API / Types
CollectionRules
ObjectRules of an automated collection. A listing matches when it matches every rule that is not null or false. Inside one rule, one matching value is enough. An empty list matches nothing. When every rule is null or false, every listing matches.
type CollectionRulesFields
| Field | Type | Description |
|---|---|---|
listingTypes | [CollectionListingType!] | Listing formats that match. Null: every format. |
requiresSubscription | Boolean! | True: only listings that only subscribers can buy. |
sellerIsSubscriber | Boolean! | True: only listings whose seller holds an active tier subscription. Admins and owners never match. |
sellers | [User!] | Sellers whose listings match, in any member status. Null: every seller. |
sourceCollections | [Collection!] | The collections that the source rule names, including the collections of a legacy tag rule. The listings added to a manual listing collection here match; an automated or livestream collection here adds no listings. A hidden collection that the source rule names adds no listings; a legacy tag rule matches its tag whatever the collection's visibility. Deleted collections are omitted. Null: no source rule. |