If don’t provide partial fields selection Tento will return all possible fields for Product
Tento Product Query
List
Tento represents Shopify Products query
Partial fields select
fields
parameter lets you include or omit fields you want to get from Shopify.
Tento performs partial selects on the query level, no additional data is transferred from the Shopify.
Get including only with just id
, title
:
Get excluding id
, handle
, updatedAt
, description
:
Exclude and Include fields in the same query:
When both
true
andfalse
select options are present, allfalse
options are ingored.
If you include the title
field and exclude the id
field, id
exclusion will be redundant, all fields apart from title
would be excluded anyways.
Filters
Tento supports all pecific filters what Shopify has, see here.
Especially for products querying Tento supports all Shopify Products Query filters.
eq
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
not
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
gt
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
gte
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
lt
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
lte
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
raw
and
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
or
Supported fields to filter
fields | default , barcode , bundles , categoryId , combinedListingRole , createdAt , deliveryProfileId , giftCard , handle , |
hasOnlyComposites , hasOnlyDefaultVariant , hasVariantWithComponents , id , inventoryTotal , isPriceReduced , | |
outOfStockSomewhere , price , productConfigurationOwner , productType , publishedStatus , publishedAt , sku , status , | |
tag , tagNot , title , updatedAt , vendor |
Pagination
Tento supports Shopify pagination
first
Supported pagination options
option | default | description |
---|---|---|
first | 50 | requested number of nodes for each page. |
after | - | cursor to retrieve nodes after in the connection. |
last
Supported pagination options
option | default | description |
---|---|---|
last | - | requested number of nodes for each page. |
before | - | cursor to retrieve nodes after in the connection. |
To provide last
option you must specify before
cursor to prevent exceptions.
Sort
Tento supports Shopify Products query sort keys Supported sort keys
keys | id , created_at , inventory_total , product_type , published_at , relevance , title ,updated_at , vendor |
You can control sort direction using reverse
option. Default value is false
.