← API reference
CANONICAL TYPE REFERENCE

PublishProductTemplatePayload

Result of publishing a product template

The published template

The published version number

Validation errors if publishing failed

View exact SDL
"""Result of publishing a product template"""
type PublishProductTemplatePayload {
  """The published template"""
  productTemplate: ProductTemplateState
  """The published version number"""
  version: Int
  """Validation errors if publishing failed"""
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.