Products

products #

products(search: Search, sort: Sort, pagination: Pagination) [PProduct]

Example #

query products($search: Search, $sort: Sort, $pagination: Pagination){
  products(search: $search, sort: $sort, pagination: $pagination) {
    id
    name
    slug
    description
    sku
    stock
    maxItemPerOrder
    price
    images
    fullImages
    isDigitalProduct
    views
    productUnit
    createdAt
    updatedAt
    category {
      id
      name
      slug
      description
      image
      fullImage
      productCount
      position
    }
    attributes {
      id
      name
      values
      isRequired
      createdAt
      updateAt
    }
    variations {
      id
      name
      price
      sku
      stock
    }
    digitalItems {
      id
      title
      description
      position
      contents {
        id
        title
        contentType
        isTrialAllowed
        contentText
        contentUrl
        updatedAt
        position
      }
    }
    feedbacks {
      rating
      comment
      createdAt
    }
    productSpecificDiscount
  }
}

Try It Now