Order by Admin

orderByAdmin #

orderByAdmin(id: String) Order

Example #

query orderByAdmin($id: String!){
  orderByAdmin(id: $id) {
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
    billingAddress {
      id
      street
      streetTwo
      city
      state
      postcode
      email
      phone
      location {
        id
        name
        shortCode
      }
    }
    shippingAddress {
      id
      street
      streetTwo
      city
      state
      postcode
      email
      phone
      location {
        id
        name
        shortCode
      }
    }
    cart {
      id
      isShippingRequired
      cartItems {
        id
        product {
          id
          name
          slug
          description
          isPublished
          sku
          stock
          maxItemPerOrder
          price
          cost
          images
          fullImages
          isDigitalProduct
          views
          createdAt
          weight
          weightUnit
          productUnit
          updatedAt
          category {
            id
            name
            slug
            isPublished
            description
            image
            fullImage
            createdAt
            updatedAt
            productCount
            position
          }
          attributes {
            id
            name
            values
            isRequired
            createdAt
            updateAt
          }
          variations {
            id
            name
            price
            cost
            sku
            stock
          }
          digitalItems {
            id
            title
            description
            position
            contents {
              id
              title
              contentType
              isTrialAllowed
              contentText
              contentUrl
              updatedAt
              position
            }
          }
          feedbacks {
            rating
            comment
            createdAt
          }
          productSpecificDiscount
          histories {
            message
            oldStock
            newStock
            variationID
            orderHash
            createdAt
          }
        }
        quantity
        purchasePrice
        purchaseTimeCost
        attributes {
          name
          selectedValue
        }
        variation {
          id
          name
          price
          cost
          sku
          stock
        }
      }
    }
    customer {
      email
      phone
      firstName
      lastName
      profilePicture
      profilePictureFull
    }
    shop {
      name
      title
      description
      tags
      metaName
      metaDescription
      metaTags
      logo
      logoPath
      favicon
      faviconPath
      bannerImage
      bannerImagePath
      isOpen
      currency
      website
      supportEmail
      supportPhone
      createdAt
      updatedAt
      street
      streetOptional
      city
      state
      postcode
      location {
        id
        name
        shortCode
      }
    }
    paymentMethod {
      id
      displayName
      currencyName
      currencySymbol
      isDigitalPayment
    }
    shippingMethod {
      id
      displayName
      deliveryCharge
      deliveryTimeInDays
      WeightUnit
      isFlat
      isActive
    }
    couponCode {
      code
      amount
      minOrderAmount
      maxDiscountAmount
      isFlatDiscount
      isForNewUsersOnly
      maxUsagePerUser
      discountType
      description
      image
      startAt
      endAt
    }
    payments {
      isPaid
      payableAmount
      gatewayName
    }
    feedback {
      rating
      comment
      createdAt
    }
  }
}

Try It Now