CreateDraftOrderInput
Autogenerated input type of CreateDraftOrder
input CreateDraftOrderInput {
billToCompany: String
billToEmail: String
billToName: String
billToPhone: String
billingAddress: AddressInput
brandId: ID
clientMutationId: String
customerId: ID
expectedDeliveryDate: ISO8601DateTime
expectedShipDate: ISO8601DateTime
financialStatus: String
giftMessage: String
orderItems: [OrderItemInput!]
orderMetadata: JSON
orderNotes: [NoteInput!]
orderNumber: String
orderTags: [String!]
originalCarrierService: String
requestedCarrierServiceId: ID
requestedCarrierServiceName: String
responsibleId: ID
routingStrategy: [String!]
salesChannelId: ID
selectedCarrierId: ID
selectedCarrierServiceId: ID
shipToCompany: String
shipToEmail: String
shipToName: String
shipToPhone: String
shipToSameAsBillTo: Boolean
shippingAddress: AddressInput
shippingCarrierService: String
shippingCost: Float
totalTax: Float
}
Fields
CreateDraftOrderInput.billToCompany ● String scalar
The company of the person who will receive the bill.
CreateDraftOrderInput.billToEmail ● String scalar
The email of the person who will receive the bill.
CreateDraftOrderInput.billToName ● String scalar
The name of the person who will receive the bill.
CreateDraftOrderInput.billToPhone ● String scalar
The phone of the person who will receive the bill.
CreateDraftOrderInput.billingAddress ● AddressInput input
The address where the bill will be sent to.
CreateDraftOrderInput.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.
CreateDraftOrderInput.clientMutationId ● String scalar
A unique identifier for the client performing the mutation.
CreateDraftOrderInput.customerId ● ID scalar
The customer ID to associate with the order.
CreateDraftOrderInput.expectedDeliveryDate ● ISO8601DateTime scalar
The expected delivery date for the order.
CreateDraftOrderInput.expectedShipDate ● ISO8601DateTime scalar
The expected ship date for the order.
CreateDraftOrderInput.financialStatus ● String scalar
The financial status of the order.
CreateDraftOrderInput.giftMessage ● String scalar
A gift message for the order.
CreateDraftOrderInput.orderItems ● [OrderItemInput!] list input
The items that are part of the order.
CreateDraftOrderInput.orderMetadata ● JSON scalar
The metadata that is part of the order. This metadata can be used to store additional information about the order.
CreateDraftOrderInput.orderNotes ● [NoteInput!] list input
The notes that are part of the order.
CreateDraftOrderInput.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.
CreateDraftOrderInput.orderTags ● [String!] list scalar
The tags that are part of the order.
CreateDraftOrderInput.originalCarrierService ● String scalar
The original carrier service name.
CreateDraftOrderInput.requestedCarrierServiceId ● ID scalar
The requested carrier service ID.
CreateDraftOrderInput.requestedCarrierServiceName ● String scalar
The requested carrier service name.
CreateDraftOrderInput.responsibleId ● ID scalar
The responsible ID for the order. This parameter is optional, but if provided, it should be a party id and the party must be a person.
CreateDraftOrderInput.routingStrategy ● [String!] list scalar
The routing strategy for order fulfillment.
CreateDraftOrderInput.salesChannelId ● ID scalar
The sales channel ID for the order. If not provided, the system may use a default channel.
CreateDraftOrderInput.selectedCarrierId ● ID scalar
The selected carrier ID for shipping.
CreateDraftOrderInput.selectedCarrierServiceId ● ID scalar
The selected carrier service ID for shipping.
CreateDraftOrderInput.shipToCompany ● String scalar
The company of the person who will receive the order.
CreateDraftOrderInput.shipToEmail ● String scalar
The email of the person who will receive the order.
CreateDraftOrderInput.shipToName ● String scalar
The name of the person who will receive the order.
CreateDraftOrderInput.shipToPhone ● String scalar
The phone of the person who will receive the order.
CreateDraftOrderInput.shipToSameAsBillTo ● Boolean scalar
Indicates if the bill to address is the same as the ship to address.
CreateDraftOrderInput.shippingAddress ● AddressInput input
The address where the order will be shipped to.
CreateDraftOrderInput.shippingCarrierService ● String scalar
The shipping carrier service name.
CreateDraftOrderInput.shippingCost ● Float scalar
The shipping cost for the order.
CreateDraftOrderInput.totalTax ● Float scalar
The total tax amount for the order.
Member Of
createDraftOrder mutation