V2Order
The V2 order type. This type represents a V2 order in the system with only the fields necessary for draft creation and details.
type V2Order {
billToCompany: String
billToEmail: Email
billToName: String
billToPhone: PhoneNumber
billingAddress: Address
brandId: ID!
giftMessage: String
id: ID!
orderItems(
includeAll: Boolean = false
): [OrderItem!]!
orderNumber: String!
salesChannelId: ID!
shipToCompany: String
shipToEmail: Email
shipToName: String
shipToPhone: PhoneNumber
shippingAddress: Address
state: OrderStateEnum
}
Fields
V2Order.billToCompany ● String scalar
V2Order.billToEmail ● Email scalar
V2Order.billToName ● String scalar
V2Order.billToPhone ● PhoneNumber scalar
V2Order.billingAddress ● Address object
V2Order.brandId ● ID! non-null scalar
V2Order.giftMessage ● String scalar
The gift message of the order.
V2Order.id ● ID! non-null scalar
V2Order.orderItems ● [OrderItem!]! non-null object
The products that are part of the order.
V2Order.orderItems.includeAll ● Boolean scalar
Indicates if all items, including those that don't exists in the system, should be included.
V2Order.orderNumber ● String! non-null scalar
V2Order.salesChannelId ● ID! non-null scalar
V2Order.shipToCompany ● String scalar
V2Order.shipToEmail ● Email scalar
V2Order.shipToName ● String scalar
V2Order.shipToPhone ● PhoneNumber scalar
V2Order.shippingAddress ● Address object
V2Order.state ● OrderStateEnum enum
The current state of the V2 order (draft, pending, accepted, completed).
Returned By
acceptPendingOrder mutation ● commitDraftOrder mutation ● completeOrder mutation ● createDraftOrder mutation ● createPendingOrder mutation ● saveDraftOrder mutation ● v2Order query