โ† API reference
Query / productTemplates

listProductTemplateVersions

List published versions of a template with pagination. Requires productTemplate:read permission.

Arguments

Product template ID

firstInt

Number of items from the start

afterString

Cursor to start after

Returns ProductTemplateVersionConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ProductTemplateVersionConnection type

Explore in a view

Order IntakePrint Prepress
View exact SDL
"""
List published versions of a template with pagination. Requires productTemplate:read permission.
"""
listProductTemplateVersions(
  """Product template ID"""
  templateId: ProductTemplateID!
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
): ProductTemplateVersionConnection! @topic(names: ["productTemplates"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.