8/28/2025, 2:17:16 PM
The GraphQL API now features more detailed, developer‑facing descriptions across key fields. The deprecated collectionByHandle
query’s description has been expanded to explain its use as a URL‑friendly getter and to clarify the recommendation to use collectionByIdentifier
. productResourceFeedback
has an enriched description that explains its role in guiding app‑specific product optimization, with concrete examples and use‑case scenarios. Query arguments on both products
and productsCount
have updated descriptions clarifying the list of possible operators and example usage, while retaining the same signature. New object types MarketRegionProvince
and its nested MarketRegionProvinceCountry
have been added for market‑region data. A new enum value LOCATION_NOT_ACTIVE
is now available in InventoryTransferSetItemsUserErrorCode
. The Channel.productsCount
field has been re‑described as “ChannelProductsCount” to emphasize that it returns the count of published products for a particular channel, with a limited default cap of 10 000. Lastly, the productParents
fields on both Product
and ProductVariant
have clearer descriptions of their relationship to constituent components or parent products.
Retrieves a collection by its unique handle identifier. Handles provide a URL-friendly way to reference collections and are commonly used in storefront URLs and navigation.
For example, a collection with the title "Summer Sale" might have the handle summer-sale
, allowing you to fetch it directly without knowing the internal ID.
Use CollectionByHandle
to:
Handles are automatically generated from collection titles but can be customized by merchants for SEO and branding purposes.
Learn more about collections.
Retrieves product resource feedback for the currently authenticated app, providing insights into product data quality, completeness, and optimization opportunities. This feedback helps apps guide merchants toward better product listings and improved store performance.
For example, an SEO app might receive feedback indicating that certain products lack meta descriptions or have suboptimal titles, enabling the app to provide specific recommendations for improving search visibility and conversion rates.
Use ProductResourceFeedback
to:
The feedback system evaluates products against various criteria including SEO best practices, required fields, media quality, and sales channel requirements. Each feedback item includes specific details about the issue, suggested improvements, and priority levels.
Feedback is app-specific and reflects the particular focus of your application - marketing apps receive different insights than inventory management apps. The system continuously updates as merchants make changes, providing real-time guidance for product optimization.
This resource is particularly valuable for apps that help merchants improve their product listings, optimize for search engines, or enhance their overall catalog quality. The feedback enables proactive suggestions rather than reactive problem-solving.
Learn more about product optimization.
Retrieves a list of products
in a store. Products are the items that merchants can sell in their store.
Use the products
query when you need to:
The products
query supports pagination
to handle large product catalogs and saved searches
for frequently used product queries.
The products
query returns products with their associated metadata, including:
Learn more about working with Shopify's product model.
Count of products. Limited to a maximum of 10000 by default.
Adds multiple products to an existing collection in a single operation. This mutation provides an efficient way to bulk-manage collection membership without individual product updates.
For example, when merchants create seasonal collections, they can add dozens of related products at once rather than updating each product individually. A clothing store might add all winter jackets to a "Winter Collection" in one operation.
Use CollectionAddProducts
to:
The mutation processes multiple product additions and returns success status along with any errors encountered during the operation. Products are added to the collection while preserving existing collection settings.
This operation only works with manual collections where merchants explicitly choose which products to include. It will return an error if used with smart collections that automatically include products based on conditions.
Learn more about collection management.
Deletes a collection and removes it permanently from the store. This operation cannot be undone and will remove the collection from all sales channels where it was published.
For example, when merchants discontinue seasonal promotions or reorganize their catalog structure, they can delete outdated collections like "Back to School 2023" to keep their store organized.
Use CollectionDelete
to:
Products within the deleted collection remain in the store but are no longer grouped under that collection.
Learn more about collection management.
Removes multiple products from a collection in a single operation. This mutation can process large product sets (up to 250 products) and may take significant time to complete for collections with many products.
For example, when ending a seasonal promotion, merchants can remove all sale items from a "Summer Clearance" collection at once rather than editing each product individually.
Use CollectionRemoveProducts
to:
The operation processes asynchronously to avoid timeouts and performance issues, especially for large product sets.
Learn more about collection management.
Deletes an existing automatic discount from the store, permanently removing it from all future order calculations. This mutation provides a clean way to remove promotional campaigns that are no longer needed.
For example, when a seasonal promotion ends or a flash sale concludes, merchants can use this mutation to ensure the discount no longer applies to new orders while preserving historical order data.
Use DiscountAutomaticDelete
to:
The mutation returns the ID of the deleted discount for confirmation and any validation errors if the deletion cannot be completed. Once deleted, the automatic discount will no longer appear in discount lists or apply to new customer orders.
Activates a previously created code discount, making it available for customers to use during checkout. This mutation transitions inactive discount codes into an active state where they can be applied to orders.
For example, after creating a "SUMMER20" discount code but leaving it inactive during setup, merchants can activate it when ready to launch their summer promotion campaign.
Use DiscountCodeActivate
to:
The mutation returns the updated discount code node with its new active status and handles any validation errors that might prevent activation, such as conflicting discount rules or invalid date ranges.
Temporarily suspends a code discount without permanently removing it from the store. Deactivation allows merchants to pause promotional campaigns while preserving the discount configuration for potential future use.
For example, when a flash sale needs to end immediately or a discount code requires temporary suspension due to inventory issues, merchants can deactivate it to stop new redemptions while keeping the discount structure intact.
Use DiscountCodeDeactivate
to:
Deactivated discounts remain in the system and can be reactivated later, unlike deletion which persistently removes the code. Customers attempting to use deactivated codes will receive appropriate error messages.
Removes a code discount from the store, making it permanently unavailable for customer use. This mutation provides a clean way to eliminate discount codes that are no longer needed or have been replaced.
For example, when a seasonal promotion ends or a discount code has been compromised, merchants can delete it entirely rather than just deactivating it, ensuring customers cannot attempt to use expired promotional codes.
Use DiscountCodeDelete
to:
Once deleted, the discount code cannot be recovered and any customer attempts to use it will fail. This differs from deactivation, which preserves the code for potential future reactivation.
Asynchronously reorders the media attached to a product, changing the sequence in which images, videos, and other media appear in product displays. This affects how media is presented across all sales channels.
For example, merchants can move their best product photo to the first position or reorder images to tell a better product story, with changes appearing in storefronts once processing completes.
Use ProductReorderMedia
to:
The operation processes asynchronously to handle products with large media collections without blocking other operations.
Learn more about product media.
Appends existing media from a product to specific variants of that product, creating associations between media files and particular product options. This allows different variants to showcase relevant images or videos.
For example, a t-shirt product might have color variants where each color variant displays only the images showing that specific color, helping customers see exactly what they're purchasing.
Use ProductVariantAppendMedia
to:
The operation links existing product media to variants without duplicating files, maintaining efficient media storage while enabling variant-specific displays.
Learn more about product variants.
A province of a country which comprises a market.
A country that a province belongs to.
productsCount
productsCount
on Channel
The count of products published to the channel. Limited to a maximum of 10000 by default.
Count
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
limit
: Int - The upper bound on count value before returning a result. Use null
to have no limit.
Retrieves the total count of products that are currently published to a specific sales channel. This provides a quick way to understand channel inventory without fetching the full product list.
For example, when building channel management dashboards, you can display how many products are available in each channel like "150 products in Online Store" or "75 products in Facebook Shop."
Use ChannelProductsCount
to:
The count reflects only published products and updates as merchants add or remove products from channels.
Learn more about sales channels. Limited to a maximum of 10000 by default.
Count
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
limit
: Int - The upper bound on count value before returning a result. Use null
to have no limit.
LOCATION_NOT_ACTIVE
productParents
productParents
on Product
A list of products that has a variant that contains any of this product's variants as a component.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
A list of products that has a variant that contains any of this product's variants as a component.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
productParents
productParents
on ProductVariant
A list of products that have product variants that contain this variant as a product component.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
A list of products that have product variants that contain this variant as a product component.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
includedProducts
includedProducts
on Publication
The list of products included, but not necessarily published, in the publication.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
The list of products included, but not necessarily published, in the publication.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
includedProductsCount
includedProductsCount
on Publication
The count of products included in the publication. Limited to a maximum of 10000 by default.
Count
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of an existing saved search.
The search’s query string is used as the query argument.
Refer to the SavedSearch
object.
limit
: Int - The upper bound on count value before returning a result. Use null
to have no limit.
The count of products included in the publication. Limited to a maximum of 10000 by default.
Count
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of an existing saved search.
The search’s query string is used as the query argument.
Refer to the SavedSearch
object.
limit
: Int - The upper bound on count value before returning a result. Use null
to have no limit.
products
products
on Publication
The list of products published to the publication.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
The list of products published to the publication.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
returnReason
returnReason
on ReturnLineItem
The reason for returning the item.
ReturnReason!
The reason for returning the item.
ReturnReason!
returnReason
returnReason
on ReturnLineItemType
The reason for returning the item.
ReturnReason!
The reason for returning the item.
ReturnReason!
products
products
on Shop
List of the shop's products.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- ACTIVE - ARCHIVED - DRAFT |
ACTIVE |
- status:ACTIVE,DRAFT |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
List of the shop's products.
ProductConnection!
first
: Int - The first n
elements from the paginated list.
after
: String - The elements that come after the specified cursor.
last
: Int - The last n
elements from the paginated list.
before
: String - The elements that come before the specified cursor.
reverse
: Boolean - Reverse the order of the underlying list.
sortKey
: ProductSortKeys - Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
query
: String - A filter made up of terms, connectives, modifiers, and comparators.
name | type | description | acceptable_values | default_value | example_use |
---|---|---|---|---|---|
default | string | Filter by a case-insensitive search of multiple fields in a document. | - query=Bob Norman - query=title:green hoodie |
||
barcode | string | Filter by the product variant barcode field. |
- barcode:ABC-abc-1234 |
||
bundles | boolean | Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount. | - bundles:true |
||
category_id | string | Filter by the product category ID (product.category.id ). A product category is the category of a product from Shopify's Standard Product Taxonomy. |
- category_id:sg-4-17-2-17 |
||
collection_id | id | Filter by the collection id field. |
- collection_id:108179161409 |
||
combined_listing_role | string | Filter by the role of the product in a combined listing. | - parent - child - no_role |
- combined_listing_role:parent |
|
created_at | time | Filter by the date and time when the product was created. | - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - created_at:<='2024' |
||
delivery_profile_id | id | Filter by the delivery profile id field. |
- delivery_profile_id:108179161409 |
||
error_feedback | string | Filter by products with publishing errors. | |||
gift_card | boolean | Filter by the product isGiftCard field. |
- gift_card:true |
||
handle | string | Filter by a comma-separated list of product handles. | - handle:the-minimal-snowboard |
||
has_only_composites | boolean | Filter by products that have only composite variants. | - has_only_composites:true |
||
has_only_default_variant | boolean | Filter by products that have only a default variant. A default variant is the only variant if no other variants are specified. | - has_only_default_variant:true |
||
has_variant_with_components | boolean | Filter by products that have variants with associated components. | - has_variant_with_components:true |
||
id | id | Filter by id range. |
- id:1234 - id:>=1234 - id:<=1234 |
||
inventory_total | integer | Filter by inventory count. | - inventory_total:0 - inventory_total:>150 - inventory_total:>=200 |
||
is_price_reduced | boolean | Filter by products that have a reduced price. For more information, refer to the CollectionRule object. |
- is_price_reduced:true |
||
metafields.{namespace}.{key} | mixed | Filters resources by metafield value. Format: metafields.{namespace}.{key}:{value} . Learn more about querying by metafield value. |
- metafields.custom.on_sale:true - metafields.product.material:"gid://shopify/Metaobject/43458085" |
||
out_of_stock_somewhere | boolean | Filter by products that are out of stock in at least one location. | - out_of_stock_somewhere:true |
||
price | bigdecimal | Filter by the product variant price field. |
- price:100.57 |
||
product_configuration_owner | string | Filter by the app id field. |
- product_configuration_owner:10001 |
||
product_publication_status | string | Filter by the publication status of the resource on a channel, such as the online store. The value is a composite of the channel app ID (Channel.app.id ) and one of the valid values. |
- approved - rejected - needs_action - awaiting_review - published - demoted - scheduled - provisionally_published |
- product_publication_status:189769876-approved |
|
product_type | string | Filter by a comma-separated list of product types. | - product_type:snowboard |
||
publication_ids | string | Filter by a comma-separated list of publication IDs that are associated with the product. | - publication_ids:184111530305,184111694145 |
||
publishable_status | string | Filter by the publishable status of the resource on a channel, such as the online store. The value is a composite of either the channel app ID (Channel.app.id ) or channel name and one of the valid values. |
- online_store_channel - published - unpublished - visible - unavailable - hidden - intended - visible |
- publishable_status:published - publishable_status:189769876-visible - publishable_status:pos-hidden |
|
published_at | time | Filter by the date and time when the product was published to the online store and other sales channels. | - published_at:>2020-10-21T23:39:20Z - published_at:<now - published_at:<=2024 |
||
published_status | string | Filter by the published status of the resource on a channel, such as the online store. | - unset - pending - approved - not approved |
- published_status:approved |
|
sku | string | Filter by the product variant sku field. Learn more about SKUs. |
- sku:XYZ-12345 |
||
status | string | Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an ACTIVE status in online stores, sales channels, and apps. |
- active - archived - draft |
active |
- status:active,draft |
tag | string | Filter objects by the tag field. |
- tag:my_tag |
||
tag_not | string | Filter by objects that don’t have the specified tag. | - tag_not:my_tag |
||
title | string | Filter by the product title field. |
- title:The Minimal Snowboard |
||
updated_at | time | Filter by the date and time when the product was last updated. | - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now - updated_at:<='2024' |
||
variant_id | id | Filter by the product variant id field. |
- variant_id:45779434701121 |
||
variant_title | string | Filter by the product variant title field. |
- variant_title:'Special ski wax' |
||
vendor | string | Filter by the origin or source of the product. Learn more about vendors and managing vendor information. | - vendor:Snowdevil - vendor:Snowdevil OR vendor:Icedevil |
||
You can apply one or more filters to a query. Learn more about Shopify API search syntax. |
savedSearchId
: ID - The ID of a saved search.
The search’s query string is used as the query argument.
subCountryMarketsEnabled
Whether a shop is eligible for Sub Country Markets.
usdcRebateCreditAmount
Total amount for all usdc rebate credit balance adjustments.
returnReason
returnReason
on UnverifiedReturnLineItem
The reason for returning the item.
ReturnReason!
The reason for returning the item.
ReturnReason!
SUPPLIERS_CREATE
SUPPLIERS_UPDATE
SUPPLIERS_DELETE
PURCHASE_ORDERS_CREATE
PURCHASE_ORDERS_MARK_AS_ORDERED
PURCHASE_ORDERS_RECEIVE
PURCHASE_ORDERS_DELETE
PURCHASE_ORDERS_UPDATE