SaveDraftOrderInput
Autogenerated input type of SaveDraftOrder
input SaveDraftOrderInput {
billToCompany: String
billToEmail: String
billToName: String
billToPhone: String
billingAddress: AddressInput
brandId: ID
clientMutationId: String
customerId: ID
enrichmentData: OrderEnrichmentDataInput
expectedDeliveryDate: ISO8601DateTime
expectedShipDate: ISO8601DateTime
financialStatus: String
giftMessage: String
orderId: ID!
orderItems: [OrderItemInput!]
orderMetadata: JSON
orderNotes: [NoteInput!]
orderNumber: String
orderTags: [String!]
orderType: OrderTypeEnum
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
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.customerId ● ID scalar
The customer ID to associate with the order.
SaveDraftOrderInput.enrichmentData ● OrderEnrichmentDataInput input
B2B order enrichment data including PO number, customer ref, ship window dates, etc.
SaveDraftOrderInput.expectedDeliveryDate ● ISO8601DateTime scalar
The expected delivery date for the order.
SaveDraftOrderInput.expectedShipDate ● ISO8601DateTime scalar
The expected ship date for the order.
SaveDraftOrderInput.financialStatus ● String scalar
The financial status of the order.
SaveDraftOrderInput.giftMessage ● String scalar
A gift message for the order.
SaveDraftOrderInput.orderId ● ID! non-null scalar
The ID of the draft order to save/update.
SaveDraftOrderInput.orderItems ● [OrderItemInput!] list input
The items that are part of the order. If provided, replaces existing items.
SaveDraftOrderInput.orderMetadata ● JSON scalar
The metadata that is part of the order. This metadata can be used to store additional information about the order.
SaveDraftOrderInput.orderNotes ● [NoteInput!] list input
The notes that are part of the order. If provided, adds new notes.
SaveDraftOrderInput.orderNumber ● String scalar
The order number. This order number must be unique in the brand context. If not provided, the existing order number is retained.
SaveDraftOrderInput.orderTags ● [String!] list scalar
The tags that are part of the order. If provided, adds new tags.
SaveDraftOrderInput.orderType ● OrderTypeEnum enum
The type of the order. This can be either B2B for wholesale orders or DTC for regular orders.
SaveDraftOrderInput.originalCarrierService ● String scalar
The original carrier service name.
SaveDraftOrderInput.requestedCarrierServiceId ● ID scalar
The requested carrier service ID.
SaveDraftOrderInput.requestedCarrierServiceName ● String scalar
The requested carrier service name.
SaveDraftOrderInput.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.
SaveDraftOrderInput.routingStrategy ● [String!] list scalar
The routing strategy for order fulfillment.
SaveDraftOrderInput.salesChannelId ● ID scalar
The sales channel ID for the order.
SaveDraftOrderInput.selectedCarrierId ● ID scalar
The selected carrier ID for shipping.
SaveDraftOrderInput.selectedCarrierServiceId ● ID scalar
The selected carrier service ID for shipping.
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.
SaveDraftOrderInput.shippingCarrierService ● String scalar
The shipping carrier service name.
SaveDraftOrderInput.shippingCost ● Float scalar
The shipping cost for the order.
SaveDraftOrderInput.totalTax ● Float scalar
The total tax amount for the order.
Member Of
saveDraftOrder mutation