---
title: >-
  Some nested fields have been moved out of the Shop object and onto the
  QueryRoot in the Storefront API - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/some-nested-fields-have-been-moved-out-of-the-shop-object-and-onto-the-queryroot-in-the-storefront-api
  md: >-
    https://shopify.dev/changelog/some-nested-fields-have-been-moved-out-of-the-shop-object-and-onto-the-queryroot-in-the-storefront-api.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2019-01-17T16:17:41-05:00'
  postedAt: '2018-12-19T00:00:00-05:00'
  updatedAt: '2024-02-02T10:04:52-05:00'
  effectiveAt: '2018-12-19T00:00:00-05:00'
---

December 19, 2018

Tags:

* API

# Some nested fields have been moved out of the Shop object and onto the QueryRoot in the Storefront API

As part of our efforts to improve the quality of the [Storefront API](https://help.shopify.com/en/api/custom-storefronts/storefront-api), we've moved some nested fields out of the Shop object and onto the QueryRoot.

***

The following fields on the Shop object have been deprecated, and now return a deprecation warning:

* `collectionByHandle`
* `collections`
* `productByHandle`
* `productTags`
* `productTypes`
* `products`

These fields can now be queried directly on the QueryRoot.
