Abandoned Carts

abandonedCarts #

abandonedCarts(pagination: Pagination) [Cart]

Example #

query abandonedCarts($pagination: Pagination){
  abandonedCarts(pagination: $pagination) {
    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
      }
    }
  }
}

Try It Now