Query / productTemplates
listProductTemplates
List product templates with optional filters, sorted by name. Requires productTemplate:list permission.
Arguments
skuStringFilter by SKU (exact match)
isActiveBooleanFilter by active status
categoryStringFilter by category (exact match)
statusStringFilter by status (DRAFT or PUBLISHED)
firstIntNumber of items from the start
afterStringCursor to start after
Returns ProductTemplateConnection!
Explore in a view
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.