Skip to main content

UpdateOrderTemplateInput

Autogenerated input type of UpdateOrderTemplate

input UpdateOrderTemplateInput {
b2bData: V2OrderB2BDataInput
brandId: ID @deprecated
clientMutationId: String
code: String
description: String
id: ID!
name: String!
status: String
templateData: JSON
}

Fields​

UpdateOrderTemplateInput.b2bData ● V2OrderB2BDataInput input orders​

The template's B2B field values, validated against the order B2B schema. Use this instead of template_data, which accepts unchecked JSON.

UpdateOrderTemplateInput.brandId ● ID deprecated scalar common​

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

The brand that the template belongs to. If not provided, the header X-Brand-Id will be used.

UpdateOrderTemplateInput.clientMutationId ● String scalar common​

A unique identifier for the client performing the mutation.

UpdateOrderTemplateInput.code ● String scalar common​

UpdateOrderTemplateInput.description ● String scalar common​

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

The ID of the special order template to update.

UpdateOrderTemplateInput.name ● String! non-null scalar common​

UpdateOrderTemplateInput.status ● String scalar common​

UpdateOrderTemplateInput.templateData ● JSON scalar common​

Member Of​

ordersUpdateB2bTemplate mutation ● ordersUpdateTemplate mutation