โ† API reference
Query / productTemplates

listProductTemplates

List product templates with optional filters, sorted by name. Requires productTemplate:list permission.

Arguments

skuString

Filter by SKU (exact match)

isActiveBoolean

Filter by active status

categoryString

Filter by category (exact match)

statusString

Filter by status (DRAFT or PUBLISHED)

firstInt

Number of items from the start

afterString

Cursor to start after

Returns ProductTemplateConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ProductTemplateConnection type

Explore in a view

Order IntakePrint Prepress
View exact SDL
"""
List product templates with optional filters, sorted by name. Requires productTemplate:list permission.
"""
listProductTemplates(
  """Filter by SKU (exact match)"""
  sku: String
  """Filter by active status"""
  isActive: Boolean
  """Filter by category (exact match)"""
  category: String
  """Filter by status (DRAFT or PUBLISHED)"""
  status: String
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
): ProductTemplateConnection! @topic(names: ["productTemplates"])

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