The REST Admin API is a legacy API as of October 1, 2024. All apps and integrations should be built with the GraphQL Admin API. For details and migration steps, visit our migration guide.
Requires products
access scope.
A custom collection is a grouping of products that a merchant can create to make their store easier to browse. The merchant creates a custom collection and then selects the products that will go into it.
Collections are typically displayed to customers so that buyers can select to view only the products in the collection. Shopify stores start with a single custom collection called frontpage—the collection of products shown on the front page of the online store.
The Collect resource is used to connect a product to a custom collection.
There are also smart collections, which contain products based on selection conditions rather than because they've been included manually. For more information, see the SmartCollection resource.
The time and date (ISO 8601 format) when the collection was made visible. Returns null
for a hidden custom collection.
custom
, then the collection is using the collection.custom.liquid
template. If the value is null
, then the collection is using the default collection.liquid
.