Collection
The Collection family — 7 operations.
A collection is a curated set of products — explicit picks, exclusions, and an optional rule that selects products automatically. Use collections to drive presentation and grouping.
Operations
| Operation | Kind | What it does |
|---|---|---|
| collection | query | Look up one record — a collection — a curated or rule-driven product set. |
| collections | query | The collection list — each entry is a collection — a curated or rule-driven product set. |
| createCollection | mutation | Create a new collection — a curated or rule-driven product set at your organization. |
| deactivateCollection | mutation | Deactivate a collection — a curated or rule-driven product set — it stops being usable but keeps its history and can be reactivated. |
| doomCollection | mutation | Permanently retire a collection — a curated or rule-driven product set. |
| reactivateCollection | mutation | Reactivate a collection — a curated or rule-driven product set — bring a deactivated record back into use. |
| updateCollection | mutation | Edit a collection — a curated or rule-driven product set — change its details. |