Skip to main content
Version: 3.x

collection

Look up a collection by ID.

Requires one of the following permissions to include the unpublished items: MANAGE_ORDERSMANAGE_DISCOUNTSMANAGE_PRODUCTS
collection(
id: ID
slug: String
channel: String
): Collection

Arguments

collection.id ● ID scalar

ID of the collection.

collection.slug ● String scalar

Slug of the category

collection.channel ● String scalar

Slug of a channel for which the data should be returned.

Type

Collection object

Represents a collection of products.


Was this page helpful?