Skip to main content

ordersTemplate

Retrieves a specific order template by its ID. Order templates contain predefined B2B data configurations that can be applied to orders for consistent processing.

This query returns the complete template information including name, description, B2B data, status, and associated brand details.

Required Permission​

  • orders:read_b2b_templates

Access Control​

Users can only access templates that belong to brands they have permissions for.

Possible Errors​

  • **Template not found**: When the specified template ID does not exist
  • **AuthorizationError**: When user lacks required permissions or brand access
ordersTemplate(
id: ID!
): OrderTemplate!

Arguments​

ordersTemplate.id ● ID! non-null scalar common​

ID of the special order template.

Type​

OrderTemplate object orders​

Template for special orders that defines standard parameters