Query The Cart

query getCart{
  cart(id: "CART_ID_HERE") {
    id
    items{
      id
      quantity
      unitAmount
      subTotalAmount
      totalAmount
      tax{
        effectiveRate
        name
      }

      productOption{
        id
        name
        price{
          amount
          financialUnit{
            name
            symbol
          }
        }
      }

    }
    buyerDetails {
      firstName
      lastName
      email
      companyName
      billingAddress{
        streetAddress1
        streetAddress2
        streetAddress3
        town
        province{
          name
          code
        }
        postcode
      }
    }
    price {
      subTotal
      grandTotal
      discountTotal
      giftVoucherTotal
      payableTotal
      taxes{
        totalAmount
      }
    }
    invoiceId
    state
    promotionalCode
    giftVoucherApplications {
      amount
      giftVoucher{
        id
        code
        currencyCode
        balance
        expiresAt
      }
    }
    paymentCodeApplications {
      paymentCode
      tokenIssueBalance
    }
    registration {
      id
      registrationNumber
      registerables{
        edges{
          node{
            id
            type
          }
        }
      }
    }
    isClaimed
    region {
      id
      code
      name
    }
    currency {
      code
      name
      symbol
    }
    requiresReviewBeforePurchase
    reservationsValidUntil
    priceLevel {
      id
      name
      amount
      symbol
    }
    isLockedToPaymentRegion
  }
}