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_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS.

collection(
id: ID
slug: String
channel: String
): Collection

Arguments

id (ID)

ID of the collection.

slug (String)

Slug of the category

channel (String)

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

Type

Collection

Represents a collection of products.