Skip to main content

SaveDraftOrderInput

Autogenerated input type of SaveDraftOrder

input SaveDraftOrderInput {
billToCompany: String
billToEmail: String
billToName: String
billToPhone: String
billingAddress: AddressInput
brandId: ID
clientMutationId: String
orderId: ID!
orderItems: [OrderItemInput!]
orderNumber: String
salesChannelId: ID
shipToCompany: String
shipToEmail: String
shipToName: String
shipToPhone: String
shipToSameAsBillTo: Boolean
shippingAddress: AddressInput
}

Fields

SaveDraftOrderInput.billToCompany ● String scalar

The company of the person who will receive the bill.

SaveDraftOrderInput.billToEmail ● String scalar

The email of the person who will receive the bill.

SaveDraftOrderInput.billToName ● String scalar

The name of the person who will receive the bill.

SaveDraftOrderInput.billToPhone ● String scalar

The phone of the person who will receive the bill.

SaveDraftOrderInput.billingAddress ● AddressInput input

The address where the bill will be sent to.

SaveDraftOrderInput.brandId ● ID scalar

The brand ID. This parameter is optional, but if not provided, you should provide the header 'X-Brand-Id' with the brand ID.

SaveDraftOrderInput.clientMutationId ● String scalar

A unique identifier for the client performing the mutation.

SaveDraftOrderInput.orderId ● ID! non-null scalar

The ID of the order to save.

SaveDraftOrderInput.orderItems ● [OrderItemInput!] list input

The items that are part of the order.

SaveDraftOrderInput.orderNumber ● String scalar

The order number. This order number must be unique in the brand context. If not provided, the system will generate a unique order number.

SaveDraftOrderInput.salesChannelId ● ID scalar

The sales channel ID for the order. If not provided, the system may use a default channel.

SaveDraftOrderInput.shipToCompany ● String scalar

The company of the person who will receive the order.

SaveDraftOrderInput.shipToEmail ● String scalar

The email of the person who will receive the order.

SaveDraftOrderInput.shipToName ● String scalar

The name of the person who will receive the order.

SaveDraftOrderInput.shipToPhone ● String scalar

The phone of the person who will receive the order.

SaveDraftOrderInput.shipToSameAsBillTo ● Boolean scalar

Indicates if the bill to address is the same as the ship to address.

SaveDraftOrderInput.shippingAddress ● AddressInput input

The address where the order will be shipped to.

Member Of

saveDraftOrder mutation