Objects

OrderType

No description

No description

type OrderType {
  id: Int
  customerId: Int
  createdAt: DateTime
  completedAt: DateTime
  currency: String
  desiredDeliveryDate: DateTime
  message: String
  status: String!
  updatedAt: DateTime
  publicId: ID!
  billingAddress: AddressType
  shippingAddress: AddressType
  cart: CartType
  paymentDetails: [PaymentDetailsType]
  discount: PriceType
  orderTotal: PriceType
  paymentFee: PriceType
  shippingFee: PriceType
  vat: PriceType
  fromBalance: Decimal!
  fromBalanceFormatted: String
  refunds: [RefundType]
  shippingDetails: [ShippingDetailType]
}

Fields

id ● Int scalar

 

customerId ● Int scalar

 

createdAt ● DateTime scalar

 

completedAt ● DateTime scalar

 

currency ● String scalar

 

desiredDeliveryDate ● DateTime scalar

 

message ● String scalar

 

status ● String! non-null scalar required

 

updatedAt ● DateTime scalar

 

publicId ● ID! non-null scalar required

 

billingAddress ● AddressType object

 

shippingAddress ● AddressType object

 

cart ● CartType object

 

paymentDetails ● [PaymentDetailsType] list object

 

discount ● PriceType object

 

orderTotal ● PriceType object

 

paymentFee ● PriceType object

 

shippingFee ● PriceType object

 

vat ● PriceType object

 

fromBalance ● Decimal! non-null scalar required

The amount taken from account balance

fromBalanceFormatted ● String scalar

The amount taken from account balance. Formatted as a currency string.

refunds ● [RefundType] list object

 

shippingDetails ● [ShippingDetailType] list object

 

Returned By

getOrder query ● getOrderPublic query ● getOrders query