Home > @infiniteobjects/shopify-data-manager > AdminTypes > Collection > handle
A unique string that identifies the collection. If a handle isn’t specified when a collection is created, it’s automatically generated from the collection’s original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title Summer Catalog 2022
might have the handle summer-catalog-2022
.
If the title is changed, the handle doesn’t automatically change.
The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes.
Signature:
handle: Scalars['String']['output'];