Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.QueryRoot Class Reference

The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. More...

Inheritance diagram for Shopify.Unity.QueryRoot:
Shopify.Unity.SDK.AbstractResponse

Public Member Functions

 QueryRoot (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
ArticleConnection articles (string alias=null)
 List of the shop's articles. More...
 
Blog blogByHandle (string alias=null)
 Find a blog by its handle. More...
 
BlogConnection blogs (string alias=null)
 List of the shop's blogs. More...
 
Collection collectionByHandle (string alias=null)
 Find a collection by its handle. More...
 
CollectionConnection collections (string alias=null)
 List of the shop’s collections. More...
 
Customer customer (string alias=null)
 Find a customer by its access token. More...
 
Node node (string alias=null)
 Returns a specific node by ID. More...
 
List< Nodenodes (string alias=null)
 Returns the list of nodes with the given IDs. More...
 
Page pageByHandle (string alias=null)
 Find a page by its handle. More...
 
PageConnection pages (string alias=null)
 List of the shop's pages. More...
 
Product productByHandle (string alias=null)
 Find a product by its handle. More...
 
List< ProductproductRecommendations (string alias=null)
 Find recommended products related to a given product_id. To learn more about how recommendations are generated, see Showing product recommendations on product pages. More...
 
StringConnection productTags (string alias=null)
 Tags added to products. Additional access scope required: unauthenticated_read_product_tags. More...
 
StringConnection productTypes (string alias=null)
 List of product types for the shop's products that are published to your app. More...
 
ProductConnection products (string alias=null)
 List of the shop’s products. More...
 
List< ApiVersionpublicApiVersions ()
 The list of public Storefront API versions, including supported, release candidate and unstable versions. More...
 
Shop shop ()
 The shop associated with the storefront access token. More...
 
object Clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.

Constructor & Destructor Documentation

◆ QueryRoot()

Shopify.Unity.QueryRoot.QueryRoot ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for QueryRoot

Member Function Documentation

◆ articles()

ArticleConnection Shopify.Unity.QueryRoot.articles ( string  alias = null)
inline

List of the shop's articles.

Parameters
aliasIf 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
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ blogs()

BlogConnection Shopify.Unity.QueryRoot.blogs ( string  alias = null)
inline

List of the shop's blogs.

Parameters
aliasIf 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
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ collections()

CollectionConnection Shopify.Unity.QueryRoot.collections ( string  alias = null)
inline

List of the shop’s collections.

Parameters
aliasIf 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
aliasIf 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
aliasIf 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
aliasIf 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
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ pages()

PageConnection Shopify.Unity.QueryRoot.pages ( string  alias = null)
inline

List of the shop's pages.

Parameters
aliasIf 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
aliasIf 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
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ products()

ProductConnection Shopify.Unity.QueryRoot.products ( string  alias = null)
inline

List of the shop’s products.

Parameters
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ productTags()

StringConnection Shopify.Unity.QueryRoot.productTags ( string  alias = null)
inline

Tags added to products. Additional access scope required: unauthenticated_read_product_tags.

Parameters
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ productTypes()

StringConnection Shopify.Unity.QueryRoot.productTypes ( string  alias = null)
inline

List of product types for the shop's products that are published to your app.

Parameters
aliasIf 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: