Admin API / Types
CollectionWhereInput
InputFilters for collection lists. OR inside a list, AND across fields. An omitted field or an empty list matches every collection.
input CollectionWhereInputInput fields
| Field | Type | Description |
|---|---|---|
featured | Boolean | True: only featured collections. False: only the others. |
itemSelection | [CollectionItemSelection!] | Only collections with one of these selections. |
itemType | [CollectionItemType!] | Only collections that hold one of these item types. |
pinned | Boolean | True: only pinned collections. False: only the others. A livestream collection is never pinned. |
viewerCanModifyItems | Boolean | True: only collections where viewer.canModifyItems is true, such as the collections a listing can be added to. False: only the others. |
visibility | [CollectionVisibility!] | Only collections with one of these visibilities. PUBLIC is the active status. HIDDEN is the inactive status. Buyer collection lists also omit livestream and owner-only collections, so [PUBLIC] alone does not give the buyer view. |