Alokai

CustomerOrder

Contains details about each of the customer's orders.

type CustomerOrder = {
  __typename?: 'CustomerOrder'; /** Coupons applied to the order. */
  applied_coupons: Array<Maybe<AppliedCoupon>>; /** List of available order actions. */
  available_actions: Array<Maybe<OrderActionType>>; /** The billing address for the order. */
  billing_address?: Maybe<OrderAddress>; /** The shipping carrier for the order delivery. */
  carrier?: Maybe<Scalars['String']['output']>; /** Comments about the order. */
  comments?: Maybe<Array<Maybe<SalesCommentItem>>>; /** @deprecated Use the `order_date` field instead. */
  created_at?: Maybe<Scalars['String']['output']>; /** A list of credit memos. */
  credit_memos?: Maybe<Array<Maybe<CreditMemo>>>; /** Returns customer information from order. */
  customer_info: OrderCustomerInfo; /** Order customer email. */
  email?: Maybe<Scalars['String']['output']>; /** The entered gift message for the order */
  gift_message?: Maybe<GiftMessage>; /** @deprecated Use the `totals.grand_total` field instead. */
  grand_total?: Maybe<Scalars['Float']['output']>; /** The unique ID for a `CustomerOrder` object. */
  id: Scalars['ID']['output']; /** @deprecated Use the `id` field instead. */
  increment_id?: Maybe<Scalars['String']['output']>; /** A list of invoices for the order. */
  invoices: Array<Maybe<Invoice>>; /** `TRUE` if the order is virtual */
  is_virtual: Scalars['Boolean']['output']; /** An array containing the items purchased in this order. */
  items?: Maybe<Array<Maybe<OrderItemInterface>>>; /** The order number. */
  number: Scalars['String']['output']; /** The date the order was placed. */
  order_date: Scalars['String']['output']; /** @deprecated Use the `number` field instead. */
  order_number: Scalars['String']['output']; /** The date the order status was last updated. */
  order_status_change_date: Scalars['String']['output']; /** Payment details for the order. */
  payment_methods?: Maybe<Array<Maybe<OrderPaymentMethod>>>; /** A list of shipments for the order. */
  shipments?: Maybe<Array<Maybe<OrderShipment>>>; /** The shipping address for the order. */
  shipping_address?: Maybe<OrderAddress>; /** The delivery method for the order. */
  shipping_method?: Maybe<Scalars['String']['output']>; /** The current status of the order. */
  status: Scalars['String']['output']; /** The token that can be used to retrieve the order using order query. */
  token: Scalars['String']['output']; /** Details about the calculated totals for this order. */
  total?: Maybe<OrderTotal>;
};

Referenced Types

On this page