Skip to main content

ordersB2bTemplate

DEPRECATED

This query will be removed in the future. Use the query ordersTemplates instead.

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
ordersB2bTemplate(
id: ID!
): OrderTemplate! @deprecated

Arguments​

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

ID of the special order template.

Type​

OrderTemplate object orders​

Template for special orders that defines standard parameters