The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.
More...
|
T | Get< T > (string field, string alias=null) |
|
Dictionary< string, object > | Data |
|
Dictionary< string, object > | DataJSON [get, protected set] |
|
The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.
◆ QueryRoot()
Shopify.Unity.QueryRoot.QueryRoot |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
Accepts deserialized json data. Will further parse passed in data.
- Parameters
-
◆ articles()
List of the shop's articles.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ blogByHandle()
Blog Shopify.Unity.QueryRoot.blogByHandle |
( |
string |
alias = null | ) |
|
|
inline |
Find a blog by its handle.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ blogs()
List of the shop's blogs.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ collectionByHandle()
Collection Shopify.Unity.QueryRoot.collectionByHandle |
( |
string |
alias = null | ) |
|
|
inline |
Find a collection by its handle.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ collections()
List of the shop’s collections.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ customer()
Customer Shopify.Unity.QueryRoot.customer |
( |
string |
alias = null | ) |
|
|
inline |
Find a customer by its access token.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ node()
Node Shopify.Unity.QueryRoot.node |
( |
string |
alias = null | ) |
|
|
inline |
Returns a specific node by ID.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ nodes()
List<Node> Shopify.Unity.QueryRoot.nodes |
( |
string |
alias = null | ) |
|
|
inline |
Returns the list of nodes with the given IDs.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ pageByHandle()
Page Shopify.Unity.QueryRoot.pageByHandle |
( |
string |
alias = null | ) |
|
|
inline |
Find a page by its handle.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ pages()
List of the shop's pages.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ productByHandle()
Product Shopify.Unity.QueryRoot.productByHandle |
( |
string |
alias = null | ) |
|
|
inline |
Find a product by its handle.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ productRecommendations()
List<Product> Shopify.Unity.QueryRoot.productRecommendations |
( |
string |
alias = null | ) |
|
|
inline |
Find recommended products related to a given product_id
. To learn more about how recommendations are generated, see Showing product recommendations on product pages.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ products()
List of the shop’s products.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ productTags()
Tags added to products. Additional access scope required: unauthenticated_read_product_tags.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ productTypes()
List of product types for the shop's products that are published to your app.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ publicApiVersions()
List<ApiVersion> Shopify.Unity.QueryRoot.publicApiVersions |
( |
| ) |
|
|
inline |
The list of public Storefront API versions, including supported, release candidate and unstable versions.
◆ shop()
Shop Shopify.Unity.QueryRoot.shop |
( |
| ) |
|
|
inline |
The shop associated with the storefront access token.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/QueryRoot.cs