Query
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
Fields
[product]
)
Products list
Argument | Type | Description |
---|---|---|
from |
Int
|
Subset from |
size |
Int
|
Subset size |
filters |
products_filter_input
|
Filters |
[category]
)
[category]
)
Catalog
[country]
)
Countries list
[state]
)
States list
[currency]
)
Currencies list
Banners
cart
)
Current cart
user
)
User data
Argument | Type | Description |
---|---|---|
id |
ID
|
User id (current user id is used if not provided) |
Product tags. Requires XC-ProductTags addon.
[faq]
)
FAQ items. Requires Guru-FAQ addon.
[offer]
)
Offers list. Requires CSI-MakeAnOffer addon.
[vendor]
)
Vendors list. Requires XC-MultiVendor addon.
wishlist
)
Wishlist. Requires QSL-MyWishlist addon.
app_config
)
Application configuration
app_data
)
Application common Data
collection
)
Object collection
Argument | Type | Description |
---|---|---|
type |
collection_type!
|
Object type |
from |
Int
|
Subset from |
size |
Int
|
Subset size |
filters |
products_filter_input
|
Filters |
parent_id |
ID
|
Parent category ID |
search |
String
|
Search query string |
enabled |
Boolean
|
Search only enabled categories |