Query Root
The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.
Anchor to FieldsFields
- Anchor to abandonedCheckoutsabandoned•Abandoned
Checkouts Checkout Connection! non-null Returns a list of abandoned checkouts. A checkout is considered abandoned when a customer adds contact information but doesn't complete their purchase. Includes both abandoned and recovered checkouts.
Each checkout provides
Customerdetails,objects, pricing information, and a recovery URL for re-engaging customers who didn't complete their purchase.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Abandoned
Key Checkout Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
The date and time (in ISO 8601 format) when the abandoned cart was created.
- Anchor to email_state•string
Filter by
value. Possible values:sent,,scheduledandsuppressed.- Anchor to recovery_state•string
Possible values:
recoveredand.- Anchor to status•string
Possible values:
openandclosed.- Anchor to updated_at•time
The date and time (in ISO 8601 format) when the abandoned cart was last updated.
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to abandonedCheckoutsCountabandoned•Count
Checkouts Count Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
The date and time (in ISO 8601 format) when the abandoned cart was created.
- Anchor to email_state•string
Filter by
value. Possible values:sent,,scheduledandsuppressed.- Anchor to recovery_state•string
Possible values:
recoveredand.- Anchor to status•string
Possible values:
openandclosed.- Anchor to updated_at•time
The date and time (in ISO 8601 format) when the abandoned cart was last updated.
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to abandonmentabandonment•Abandonment
Returns a
Abandonmentresource by ID.- •ID!required
The ID of the
Abandonmentto return.
Arguments
- •ID!
- Anchor to abandonmentByAbandonedCheckoutIdabandonment•Abandonment
By Abandoned Checkout Id Returns an Abandonment by the Abandoned Checkout ID.
- Anchor to abandonedCheckoutIdabandoned•ID!
Checkout Id required The ID of the Abandoned Checkout ID to query by.
Arguments
- Anchor to allChannelsall•Channel
Channels Connection! non-null List of all the active sales channels on this shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- •App
Retrieves an
Appby its ID. If no ID is provided, returns details about the currently authenticated app. The query provides access to app details including title, icon, and pricing information.If the app isn't installed on the current shop, then the
installationfield will benull.- •ID
The ID to lookup the App by.
Arguments
- Anchor to appByHandleapp•App
By Handle Retrieves an app by its unique handle. The handle is a URL-friendly identifier for the app.
Returns the
Appif found, ornullif no app exists with the specified handle.- Anchor to handlehandle•String!required
Handle of the App.
Arguments
- Anchor to appByKeyapp•App
By Key Retrieves an
Appby its client ID (API key). Returns the app's configuration, installation status,objects, and developer information.Returns
nullif no app exists with the specified client ID.- Anchor to apiKeyapi•String!
Key required Client ID of the app.
Arguments
- Anchor to appCreditsapp•App
Credits Credit Connection! non-null Credits that can be used towards future app purchases.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•App
Key Transaction Sort Keys Default:CREATED_AT 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.
Arguments
- Anchor to appDiscountTypeapp•App
Discount Type Discount Type An app discount type.
- Anchor to functionIdfunction•String!
Id required The ID for the function providing the app discount type.
Arguments
- Anchor to appDiscountTypesapp•[App
Discount Types Discount Type!]! non-null A list of app discount types installed by apps.
- Anchor to appDiscountTypesNodesapp•App
Discount Types Nodes Discount Type Connection! non-null A list of app discount types installed by apps.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to appInstallationapp•App
Installation Installation Retrieves an
by ID. If no ID is provided, returns the installation for the currently authenticatedApp. The query provides essential data for validating installation state and managing app functionality within a store.Use this query to access installation details including granted
objects, activeobjects,objects,objects, and app-specific metadata.Learn more about app installation.
- •ID
ID used to lookup AppInstallation.
Arguments
- Anchor to appInstallationsapp•App
Installations Installation Connection! non-null A paginated list of
objects across multiple stores where your app is installed. Use this query to monitor installation status, track billing and subscriptions throughobjects, and review grantedobjects.Filter by
to find specific types of installations (such as POS or channel apps) and byto scope to public or private installations.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•App
Key Installation Sort Keys Default:INSTALLED_AT 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.
- Anchor to categorycategory•App
Installation Category The category of app installations to fetch.
- Anchor to privacyprivacy•App
Installation Privacy Default:PUBLIC The privacy level of app installations to fetch.
Arguments
- Anchor to articlearticle•Article
Returns a
Articleresource by ID.- •ID!required
The ID of the
Articleto return.
Arguments
- •ID!
- Anchor to articleAuthorsarticle•Article
Authors Author Connection! non-null List of article authors for the shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to articlesarticles•Article
Connection! non-null Returns a paginated list of articles from the shop's blogs.
Articleobjects are blog posts that contain content like text, images, and tags.Supports cursor-based pagination to control the number of articles returned and their order. Use the
queryargument to filter results by specific criteria.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Article
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=handle:summer-collection-announcement- •string
Filter by the author of the article.
- Anchor to blog_id•string
Filter by the ID of the blog the article belongs to.
blog_id:1234blog_id:>=1234blog_id:<=1234- Anchor to blog_title•string
- Anchor to created_at•time
Filter by the date and time when the article was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<=2024- Anchor to handle•string
Filter by the article's handle.
handle:summer-collection-announcementhandle:how-to-guide- Anchor to published_at•time
Filter by the date and time when the article was published.
published_at:>'2020-10-21T23:39:20Z'published_at:<nowpublished_at:<=2024- Anchor to published_status•string
Filter by published status
- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to title•string
Filter by the title of the article.
title:summer-collectiontitle:green hoodie- Anchor to updated_at•time
Filter by the date and time when the article was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Arguments
- Anchor to articleTagsarticle•[String!]!
Tags non-null List of all article tags.
- Anchor to sortsort•Article
Tag Sort Default:ALPHABETICAL Type of sort order.
- Anchor to limitlimit•Int!required
The maximum number of tags to return.
Arguments
- Anchor to assignedFulfillmentOrdersassigned•Fulfillment
Fulfillment Orders Order Connection! non-null The paginated list of fulfillment orders assigned to the shop locations owned by the app.
Assigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations managed by fulfillment services that are registered by the app. One app (api_client) can host multiple fulfillment services on a shop. Each fulfillment service manages a dedicated location on a shop. Assigned fulfillment orders can have associated fulfillment requests, or might currently not be requested to be fulfilled.
The app must have the
access scope to be able to retrieve the fulfillment orders assigned to its locations.All assigned fulfillment orders (except those with the
status) will be returned by default. Perform filtering with theargument to receive only fulfillment orders that have been requested to be fulfilled.- Anchor to assignmentStatusassignment•Fulfillment
Status Order Assignment Status The assigment status of the fulfillment orders that should be returned. If
argument is not provided, then the query will return all assigned fulfillment orders, except those that have thestatus.- Anchor to locationIdslocation•[ID!]
Ids Returns fulfillment orders only for certain locations, specified by a list of location IDs.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Fulfillment
Key Order Sort Keys Default:ID 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.
Arguments
- Anchor to automaticDiscountNodeautomatic•Discount
Discount Node Automatic Node Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to automaticDiscountSavedSearchesautomatic•Saved
Discount Saved Searches Search Connection! non-null List of the shop's automatic discount saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to availableBackupRegionsavailable•[Market
Backup Regions Region!]! non-null The geographic regions that you can set as the
Shop's backup region. The backup region serves as a fallback when the system can't determine a buyer's actual location.- Anchor to availableCarrierServicesavailable•[Delivery
Carrier Services Carrier Service And Locations!]! non-null Returns a list of activated carrier services and associated shop locations that support them.
- Anchor to destinationCountryCodesdestination•[Country
Country Codes Code!] An array of destination country codes.
Arguments
- Anchor to availableLocalesavailable•[Locale!]!
Locales non-null Returns all locales that Shopify supports. Each
Localeincludes an ISO code and human-readable name. Use this query to discover which locales you can enable on a shop with themutation.- Anchor to backupRegionbackup•Market
Region Region! non-null The backup region of the shop.
- Anchor to balanceAccountbalance•Balance
Account Account Returns the Balance account information for finance embedded apps.
- Anchor to blogblog•Blog
Returns a
Blogresource by ID.- •ID!required
The ID of the
Blogto return.
Arguments
- •ID!
- Anchor to blogsblogs•Blog
Connection! non-null Returns a paginated list of the shop's
Blogobjects. Blogs serve as containers forArticleobjects and provide content management capabilities for the store's editorial content.Supports cursor-based pagination to control the number of blogs returned and their order. Use the
queryargument to filter results by specific criteria.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Blog
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to blogsCountblogs•Count
Count Count of blogs. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to bulkOperationbulk•Bulk
Operation Operation Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to bulkOperationsbulk•Bulk
Operations Operation Connection! non-null Returns the app's bulk operations meeting the specified filters. Defaults to sorting by created_at, with newest operations first.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Bulk
Key Operations Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to bundleCountbundle•Int!
Count non-null Returns the number of bundle products that have been created by the current app.
- Anchor to businessEntitiesbusiness•[Business
Entities Entity!]! non-null Returns the list of business entities associated with the shop. Use this query to retrieve business entities for assigning to markets, managing payment providers per entity, or viewing entity attribution on orders.
Each shop can have multiple business entities with one designated as primary. To identify the primary entity in the query results, set the
primaryfield totrue.Learn more about managing multiple legal entities.
- Anchor to businessEntitybusiness•Business
Entity Entity Returns a Business Entity by ID.
- •ID
The ID of the Business Entity to return. Returns the primary Business Entity if not provided.
Arguments
- Anchor to carrierServicecarrier•Delivery
Service Carrier Service Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to carrierServicescarrier•Delivery
Services Carrier Service Connection! non-null A paginated list of carrier services configured for the shop. Carrier services provide real-time shipping rates from external providers like FedEx, UPS, or custom shipping solutions. Use the
queryparameter to filter results by attributes such as active status.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Carrier
Key Service Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to cartTransformscart•Cart
Transforms Transform Connection! non-null Retrieves all cart transform functions currently deployed by your app within the merchant's store. This query provides comprehensive access to your active cart modification logic, enabling management and monitoring of bundling and merchandising features.
The query returns paginated results with full cart transform details, including function IDs, configuration settings, and operational status.
Cart Transform ownership is scoped to your API client, ensuring you only see and manage functions deployed by your specific app. This isolation prevents conflicts between different apps while maintaining security boundaries for sensitive merchandising logic.
Learn more about managing cart transforms.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to cashTrackingSessioncash•Cash
Tracking Session Tracking Session Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to cashTrackingSessionscash•Cash
Tracking Sessions Tracking Session Connection! non-null Returns a shop's cash tracking sessions for locations with a POS Pro subscription.
Tip: To query for cash tracking sessions in bulk, you can perform a bulk operation.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Cash
Key Tracking Sessions Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to catalogcatalog•Catalog
Retrieves a catalog by its ID. A catalog represents a list of products with publishing and pricing information, and can be associated with a context, such as a market, company location, or app.
Use the
catalogquery to retrieve information associated with the following workflows:- Managing product publications across different contexts
- Setting up contextual pricing with price lists
- Managing market-specific product availability
- Configuring B2B customer catalogs
There are several types of catalogs:
Learn more about catalogs for different markets.
- •ID!required
The ID of the
Catalogto return.
Arguments
- Anchor to catalogOperationscatalog•[Resource
Operations Operation!]! non-null Returns the most recent catalog operations for the shop.
- Anchor to catalogscatalogs•Catalog
Connection! non-null Returns a paginated list of catalogs for the shop. Catalogs control which products are published and how they're priced in different contexts, such as international markets (Canada vs. United States), B2B company locations (different branches of the same business), or specific sales channels (such as online store vs. POS).
Filter catalogs by
typeand use thequeryargument to search and filter by additional criteria.Learn more about Shopify Catalogs.
- Anchor to typetype•Catalog
Type Default:null The type of the catalogs to be returned.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Catalog
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to app_id•id
- Anchor to company_id•id
- Anchor to company_location_id•id
- Anchor to managed_country_id•id
- Anchor to market_id•id
- Anchor to status•string
- Anchor to title•string
Example:
Arguments
- Anchor to catalogsCountcatalogs•Count
Count The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default.
- Anchor to typetype•Catalog
Type Default:null The type of the catalogs to be returned.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to app_id•id
- Anchor to company_id•id
- Anchor to company_location_id•id
- Anchor to managed_country_id•id
- Anchor to market_id•id
- Anchor to status•string
- Anchor to title•string
Example:
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to channelchannel•Channel
Returns a
Channelresource by ID.- •ID!required
The ID of the
Channelto return.
Arguments
- •ID!
- Anchor to channelschannels•Channel
Connection! non-null Returns active channels where merchants sell products and collections. Each channel is an authenticated link to an external platform such as marketplaces, social media platforms, online stores, or point-of-sale systems.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to checkoutAndAccountsAppConfigurationcheckout•Checkout
And Accounts App Configuration And Accounts App Configuration Returns the checkout and accounts app configuration for the current API client and shop.
- Anchor to checkoutBrandingcheckout•Checkout
Branding Branding Returns the visual customizations for checkout for a given checkout profile.
To update checkout branding settings, use the
mutation. Learn more about customizing checkout's appearance.- Anchor to checkoutProfileIdcheckout•ID!
Profile Id required A globally-unique identifier.
Arguments
- Anchor to checkoutProfilecheckout•Checkout
Profile Profile Returns a
. Checkout profiles define the branding settings and UI extensions for a store's checkout experience. Stores can have one published profile that renders on their live checkout and multiple draft profiles for testing customizations in the checkout editor.- •ID!required
The ID of the checkout profile.
Arguments
- •ID!
- Anchor to checkoutProfilescheckout•Checkout
Profiles Profile Connection! non-null List of checkout profiles on a shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Checkout
Key Profile Sort Keys Default:UPDATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to codeDiscountNodecode•Discount
Discount Node Code Node Returns a code discount resource by ID.
- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to codeDiscountNodeByCodecode•Discount
Discount Node By Code Code Node Retrieves a code discount by its discount code. The search is case-insensitive, enabling you to find discounts regardless of how customers enter the code.
Returns a
that contains the underlying discount details, which could be a basic amount off discount, a "Buy X Get Y" (BXGY) discount, a free shipping discount, or an app-provided discount.Learn more about working with Shopify's discount model.
- Anchor to codecode•String!required
The case-insensitive code of the
to return.
Arguments
- Anchor to codeDiscountSavedSearchescode•Saved
Discount Saved Searches Search Connection! non-null List of the shop's code discount saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to collectioncollection•Collection
Retrieves a collection by its ID. A collection represents a grouping of products that merchants can display and sell as a group in their online store and other sales channels.
Use the
collectionquery when you need to:- Manage collection publishing across sales channels
- Access collection metadata and SEO information
- Work with collection rules and product relationships
A collection can be either a custom (manual) collection where products are manually added, or a smart (automated) collection where products are automatically included based on defined rules. Each collection has associated metadata including title, description, handle, image, and metafields.
- •ID!required
The ID of the
Collectionto return.
Arguments
- Anchor to collectionByIdentifiercollection•Collection
By Identifier Return a collection by an identifier.
- Anchor to identifieridentifier•Collection
Identifier Input! required The identifier of the collection.
Arguments
- Anchor to collectionRulesConditionscollection•[Collection
Rules Conditions Rule Conditions!]! non-null Lists all rules that can be used to create smart collections.
- Anchor to collectionscollections•Collection
Connection! non-null Retrieves a list of collections in a store. Collections are groups of products that merchants can organize for display in their online store and other sales channels. For example, an athletics store might create different collections for running attire, shoes, and accessories.
Use the
collectionsquery when you need to:- Build a browsing interface for a store's product groupings.
- Create collection searching, sorting, and filtering experiences (for example, by title, type, or published status).
- Sync collection data with external systems.
- Manage both custom (manual) and smart (automated) collections.
The
collectionsquery supports pagination for large catalogs and saved searches for frequently used collection queries.The
collectionsquery returns collections with their associated metadata, including:- Basic collection information (title, description, handle, and type)
- Collection image and SEO metadata
- Product count and product relationships
- Collection rules (for smart collections)
- Publishing status and publication details
- Metafields and custom attributes
Learn more about using metafields with smart collections.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Collection
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to collection_type•string
customsmart- Anchor to handle•string
- Anchor to product_id•id
Filter by collections containing a product by its ID.
- Anchor to product_publication_status•string
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the channel
appID (Channel.app.id) and one of the valid values. For simple visibility checks, use published_status instead.* {channel_app_id}-approved* {channel_app_id}-rejected* {channel_app_id}-needs_action* {channel_app_id}-awaiting_review* {channel_app_id}-published* {channel_app_id}-demoted* {channel_app_id}-scheduled* {channel_app_id}-provisionally_publishedproduct_publication_status:189769876-approved- Anchor to publishable_status•string
Deprecated: This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use published_status for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the channel
appID (Channel.app.id) and one of the valid status values.* {channel_app_id}-unset* {channel_app_id}-pending* {channel_app_id}-approved* {channel_app_id}-not_approvedpublishable_status:580111-unsetpublishable_status:580111-pending- Anchor to published_at•time
Filter by the date and time when the collection was published to the Online Store.
- Anchor to published_status•string
Filter resources by their visibility and publication state on a channel. Online store channel filtering: -
: Returns all resources in the online store channel, regardless of publication status. -published/visible: Returns resources that are published to the online store. -unpublished: Returns resources that are not published to the online store. Channel-specific filtering using the channelappID (Channel.app.id) with suffixes: -: Returns resources published to the specified channel. -: Same as(kept for backwards compatibility). -: Returns resources added to the channel but not yet published. -: Returns resources not added to the channel or not published. Other: -unavailable: Returns resources not published to any channel.online_store_channelpublishedvisibleunpublished* {channel_app_id}-published* {channel_app_id}-visible* {channel_app_id}-intended* {channel_app_id}-hiddenunavailablepublished_status:online_store_channelpublished_status:publishedpublished_status:580111-publishedpublished_status:580111-hiddenpublished_status:unavailable- Anchor to title•string
- Anchor to updated_at•time
Example:
Valid values:
Valid values:
Example:
Valid values:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to collectionSavedSearchescollection•Saved
Saved Searches Search Connection! non-null Returns a list of the shop's collection saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to collectionsCountcollections•Count
Count Count of collections. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to collection_type•string
customsmart- Anchor to handle•string
- Anchor to product_id•id
Filter by collections containing a product by its ID.
- Anchor to product_publication_status•string
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the channel
appID (Channel.app.id) and one of the valid values. For simple visibility checks, use published_status instead.* {channel_app_id}-approved* {channel_app_id}-rejected* {channel_app_id}-needs_action* {channel_app_id}-awaiting_review* {channel_app_id}-published* {channel_app_id}-demoted* {channel_app_id}-scheduled* {channel_app_id}-provisionally_publishedproduct_publication_status:189769876-approved- Anchor to publishable_status•string
Deprecated: This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use published_status for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the channel
appID (Channel.app.id) and one of the valid status values.* {channel_app_id}-unset* {channel_app_id}-pending* {channel_app_id}-approved* {channel_app_id}-not_approvedpublishable_status:580111-unsetpublishable_status:580111-pending- Anchor to published_at•time
Filter by the date and time when the collection was published to the Online Store.
- Anchor to published_status•string
Filter resources by their visibility and publication state on a channel. Online store channel filtering: -
: Returns all resources in the online store channel, regardless of publication status. -published/visible: Returns resources that are published to the online store. -unpublished: Returns resources that are not published to the online store. Channel-specific filtering using the channelappID (Channel.app.id) with suffixes: -: Returns resources published to the specified channel. -: Same as(kept for backwards compatibility). -: Returns resources added to the channel but not yet published. -: Returns resources not added to the channel or not published. Other: -unavailable: Returns resources not published to any channel.online_store_channelpublishedvisibleunpublished* {channel_app_id}-published* {channel_app_id}-visible* {channel_app_id}-intended* {channel_app_id}-hiddenunavailablepublished_status:online_store_channelpublished_status:publishedpublished_status:580111-publishedpublished_status:580111-hiddenpublished_status:unavailable- Anchor to title•string
- Anchor to updated_at•time
Example:
Valid values:
Valid values:
Example:
Valid values:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to commentcomment•Comment
Returns a
Commentresource by ID.- •ID!required
The ID of the
Commentto return.
Arguments
- •ID!
- Anchor to commentscomments•Comment
Connection! non-null List of the shop's comments.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Comment
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
Filter by the date and time when the comment was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<=2024- Anchor to published_at•time
Filter by the date and time when the comment was published.
published_at:>'2020-10-21T23:39:20Z'published_at:<nowpublished_at:<=2024- Anchor to published_status•string
Filter by published status
anypublishedunpublishedpublished_status:anypublished_status:publishedpublished_status:unpublished- Anchor to status•string
- Anchor to updated_at•time
Filter by the date and time when the comment was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Valid values:
Example:
Example:
Arguments
- Anchor to companiescompanies•Company
Connection! non-null A paginated list of companies in the shop.
Companyobjects are business entities that purchase from the merchant.Use the
queryargument to filter companies by attributes like name or externalId. Sort and paginate results to handle large datasets efficiently. Learn more about Shopify API search syntax.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Company
Key Sort Keys Default:ID Sort the underlying list by the given key.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to active_customers_count•integer
- Anchor to created_at•time
- Anchor to external_id•id
- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to name•string
- Anchor to since_date•time
- Anchor to updated_at•time
Example:
Example:
Arguments
- Anchor to companiesCountcompanies•Count
Count The number of companies for a shop. Limited to a maximum of 10000 by default.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to companycompany•Company
Returns a
Companyresource by ID.- •ID!required
The ID of the
Companyto return.
Arguments
- •ID!
- Anchor to companyContactcompany•Company
Contact Contact Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to companyContactRolecompany•Company
Contact Role Contact Role Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to companyLocationcompany•Company
Location Location Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to companyLocationscompany•Company
Locations Location Connection! non-null A paginated list of
objects for B2B customers. Company locations represent individual branches or offices of aCompanywhere B2B orders can be placed.Each location can have its own billing and shipping addresses, tax settings,
, andCatalogassignments with custom pricing. Use the query parameter to search locations by name or other attributes.Learn more about managing company locations.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Company
Key Location Sort Keys Default:ID Sort the underlying list by the given key.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to company_id•id
- Anchor to created_at•time
- Anchor to external_id•string
- Anchor to ids•string
- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to name•string
- Anchor to updated_at•time
Example:
Example:
Arguments
- Anchor to consentPolicyconsent•[Consent
Policy Policy!]! non-null Returns the customer privacy consent policies of a shop.
- •ID
Return the policy with the provided ID.
- Anchor to countryCodecountry•Privacy
Code Country Code Return policies with the provided country code.
- Anchor to regionCoderegion•String
Code Return policies with the provided region code.
- Anchor to consentRequiredconsent•Boolean
Required Return policies where consent is required or not.
- Anchor to dataSaleOptOutRequireddata•Boolean
Sale Opt Out Required Return policies where data sale opt out is required or not.
Arguments
- Anchor to consentPolicyRegionsconsent•[Consent
Policy Regions Policy Region!]! non-null List of countries and regions for which consent policies can be created or updated.
- Anchor to currentAppInstallationcurrent•App
App Installation Installation! non-null Returns the
for the currently authenticated app. Provides access to granted access scopes, activeobjects, and billing information for your app.Use this query to check which permissions your app has, monitor subscription status, or retrieve
objects. Learn more about managing access scopes, subscription billing, and app credits.- Anchor to currentStaffMembercurrent•Staff
Staff Member Member The staff member making the API request.
- Anchor to customercustomer•Customer
Returns a
Customerresource by ID.- •ID!required
The ID of the
Customerto return.
Arguments
- •ID!
- Anchor to customerAccountPagecustomer•Customer
Account Page Account Page Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to customerAccountPagescustomer•Customer
Account Pages Account Page Connection List of the shop's customer account pages.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to customerByIdentifiercustomer•Customer
By Identifier Return a customer by an identifier.
- Anchor to identifieridentifier•Customer
Identifier Input! required The identifier of the customer.
Arguments
- Anchor to customerMergeJobStatuscustomer•Customer
Merge Job Status Merge Request Returns the status of a customer merge request job.
- Anchor to jobIdjob•ID!
Id required The ID of the job performing the customer merge request.
Arguments
- Anchor to customerMergePreviewcustomer•Customer
Merge Preview Merge Preview! non-null Returns a preview of a customer merge request.
- Anchor to customerOneIdcustomer•ID!
One Id required The ID of the first customer that will be merged.
- Anchor to customerTwoIdcustomer•ID!
Two Id required The ID of the second customer that will be merged.
- Anchor to overrideFieldsoverride•Customer
Fields Merge Override Fields The fields to override the default customer merge rules.
Arguments
- Anchor to customerPaymentMethodcustomer•Customer
Payment Method Payment Method Returns a CustomerPaymentMethod resource by its ID.
- •ID!required
The ID of the CustomerPaymentMethod to return.
- Anchor to showRevokedshow•Boolean
Revoked Default:false Whether to show the customer's revoked payment method.
Arguments
- •ID!
- Anchor to customerscustomers•Customer
Connection! non-null Returns a list of customers in your Shopify store, including key information such as name, email, location, and purchase history. Use this query to segment your audience, personalize marketing campaigns, or analyze customer behavior by applying filters based on location, order history, marketing preferences and tags. The
customersquery supports pagination and sorting.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Customer
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to accepts_marketing•boolean
Filter by whether a customer has consented to receive marketing material.
accepts_marketing:true- Anchor to country•string
Filter by the country associated with the customer's address. Use either the country name or the two-letter country code.
country:Canadacountry:JP- Anchor to customer_date•time
customer_date:'2024-03-15T14:30:00Z'customer_date: >='2024-01-01'- Anchor to email•string
The customer's email address, used to communicate information about orders and for the purposes of email marketing campaigns. You can use a wildcard value to filter the query by customers who have an email address specified. Please note that email is a tokenized field: To retrieve exact matches, quote the email address (phrase query) as described in Shopify API search syntax.
email:gmail.comemail:"bo.wang@example.com"email:*- Anchor to last_abandoned_order_date•time
Filter by the date and time of the customer's most recent abandoned checkout. An abandoned checkout occurs when a customer adds items to their cart, begins the checkout process, but leaves the site without completing their purchase.
last_abandoned_order_date:'2024-04-01T10:00:00Z'last_abandoned_order_date: >='2024-01-01'- Anchor to order_date•time
Filter by the date and time that the order was placed by the customer. Use this query filter to check if a customer has placed at least one order within a specified date range.
order_date:'2024-02-20T00:00:00Z'order_date: >='2024-01-01'order_date:'2024-01-01..2024-03-31'- Anchor to orders_count•integer
Filter by the total number of orders a customer has placed.
orders_count:5- Anchor to phone•string
The phone number of the customer, used to communicate information about orders and for the purposes of SMS marketing campaigns. You can use a wildcard value to filter the query by customers who have a phone number specified.
phone:+18005550100phone:*- Anchor to state•string
Filter by the state of the customer's account with the shop. This filter is only valid when Classic Customer Accounts is active.
state:ENABLEDstate:INVITEDstate:DISABLEDstate:DECLINED- Anchor to tag•string
Filter by the tags that are associated with the customer. This query parameter accepts multiple tags separated by commas.
tag:'VIP'tag:'Wholesale,Repeat'- Anchor to tag_not•string
Filter by the tags that aren't associated with the customer. This query parameter accepts multiple tags separated by commas.
tag_not:'Prospect'tag_not:'Test,Internal'- Anchor to total_spent•float
Filter by the total amount of money a customer has spent across all orders.
total_spent:100.50total_spent:50.00total_spent:>100.50total_spent:>50.00- Anchor to updated_at•time
The date and time, matching a whole day, when the customer's information was last updated.
updated_at:2024-01-01T00:00:00Zupdated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Arguments
- Anchor to customerSavedSearchescustomer•Saved
Saved Searches Search Connection! non-null List of the shop's customer saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Customer
Key Saved Search Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to customersCountcustomers•Count
Count The number of customers. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to customerSegmentMemberscustomer•Customer
Segment Members Segment Member Connection! non-null A paginated list of customers that belong to an individual
Segment. Segments group customers based on criteria defined through ShopifyQL queries. Access segment members with their profile information and purchase summary data. The connection includes statistics for analyzing segment attributes (such as average and sum calculations) and a total count of all members. The maximum page size is 1000.- Anchor to segmentIdsegment•ID
Id The ID of the segment.
- Anchor to queryquery•String
The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as
with this syntax.- Anchor to queryIdquery•ID
Id The ID of the segment members query.
- Anchor to timezonetimezone•String
The timezone that's used to interpret relative date arguments. The timezone defaults to UTC if the timezone isn't provided.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the list. The sorting behaviour defaults to ascending order.
- Anchor to sortKeysort•String
Key Sort the list by a given key. Valid values: •
- Sort by customer creation date •- Sort by the date of the customer's first order •- Sort by the date of the customer's last abandoned checkout •- Sort by the date of the customer's most recent order •- Sort by the total number of orders placed by the customer •- Sort by the total amount the customer has spent across all ordersUse with the
reverseparameter to control sort direction (ascending by default, descending when reverse=true).- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
Arguments
- Anchor to customerSegmentMembersCountcustomer•Count
Segment Members Count Returns the total number of customers who match the criteria defined in a customer segment. This count provides real-time visibility into segment size for targeting and analysis purposes.
For example, check the size of a "High-Value Customers" segment before launching a VIP program.
The count reflects current segment membership based on the segment's filter criteria, updating as customer data changes and new customers meet or no longer meet the segment conditions.
- Anchor to segmentIdsegment•ID
Id The ID of the segment.
- Anchor to queryquery•String
The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as
with this syntax.- Anchor to queryIdquery•ID
Id The ID of the segment members query.
Arguments
- Anchor to customerSegmentMembershipcustomer•Segment
Segment Membership Membership Response! non-null Whether a member, which is a customer, belongs to a segment.
- Anchor to segmentIdssegment•[ID!]!
Ids required The segments to evaluate for the given customer.
- Anchor to customerIdcustomer•ID!
Id required The ID of the customer that has the membership.
Arguments
- Anchor to customerSegmentMembersQuerycustomer•Customer
Segment Members Query Segment Members Query Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to deliveryCustomizationdelivery•Delivery
Customization Customization The delivery customization.
- •ID!required
The ID of the delivery customization.
Arguments
- •ID!
- Anchor to deliveryCustomizationsdelivery•Delivery
Customizations Customization Connection! non-null The delivery customizations.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to deliveryProfiledelivery•Delivery
Profile Profile Retrieves a
by ID. Delivery profiles group shipping settings for specificProductobjects that ship from selectedLocationobjects to [delivery zones](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryZone with defined rates.Learn more about delivery profiles.
- •ID!required
The ID of the DeliveryProfile to return.
Arguments
- •ID!
- Anchor to deliveryProfilesdelivery•Delivery
Profiles Profile Connection! non-null Returns a paginated list of
objects for the shop. Delivery profiles groupProductandobjects that share shipping rates and zones.Each profile contains
objects that organize fulfillmentLocationobjects and their associated delivery zones.objects define geographic regions with specific shipping methods and rates. Use thefilter to exclude profiles that third-party apps manage.Learn more about delivery profiles.
- Anchor to merchantOwnedOnlymerchant•Boolean
Owned Only If
true, returns only delivery profiles that were created by the merchant.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Delivery
Key Profile Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to deliveryPromiseParticipantsdelivery•Delivery
Promise Participants Promise Participant Connection Returns delivery promise participants.
- Anchor to ownerIdsowner•[ID!]
Ids The product variant ID to filter by.
- Anchor to brandedPromiseHandlebranded•String!
Promise Handle required The branded promise handle to filter by.
- Anchor to ownerTypeowner•Delivery
Type Promise Participant Owner Type The owner type to filter by.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to deliveryPromiseProviderdelivery•Delivery
Promise Provider Promise Provider Lookup a delivery promise provider.
- Anchor to locationIdlocation•ID!
Id required The ID of the location associated with the delivery promise provider.
Arguments
- Anchor to deliveryPromiseSettingsdelivery•Delivery
Promise Settings Promise Setting! non-null Represents the delivery promise settings for a shop.
- Anchor to deliveryPromiseSkuSettingdelivery•Delivery
Promise Sku Setting Promise Sku Setting A SKU setting for a delivery promise.
- •String!required
The SKU to be associated with the setting.
- Anchor to deliveryPromiseProviderIddelivery•ID!
Promise Provider Id required The ID of the delivery promise provider.
Arguments
- •String!
- Anchor to deliverySettingsdelivery•Delivery
Settings Setting Returns the shop-wide shipping settings.
- Anchor to discountCodesCountdiscount•Count
Codes Count The total number of discount codes for the shop. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to discountNodediscount•Discount
Node Node Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to discountNodesdiscount•Discount
Nodes Node Connection! non-null Returns a list of discounts.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Discount
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to code•string
Filter by the discount code. Not supported for bulk discounts.
code:WELCOME10- Anchor to combines_with•string
Filter by the Shopify Functions discount classes that the discount type can combine with.
order_discountsproduct_discountsshipping_discountscombines_with:product_discounts- Anchor to created_at•time
Filter by the date and time, in the shop's timezone, when the discount was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'- Anchor to discount_class•string
Filter by the discount class.
orderproductshippingdiscount_class:product- Anchor to discount_type•string
Filter by the discount type.
bogofixed_amountfree_shippingpercentagetype:fixed_amount- Anchor to ends_at•time
Filter by the date and time, in the shop's timezone, when the discount ends.
ends_at:>'2020-10-21T23:39:20Z'ends_at:<nowends_at:<='2024'- Anchor to method•string
Filter by the discount method.
automaticcodemethod:code- Anchor to starts_at•time
Filter by the date and time, in the shop's timezone, when the discount becomes active and is available for customer use.
starts_at:>'2020-10-21T23:39:20Z'starts_at:<nowstarts_at:<='2024'- Anchor to status•string
Filter by the status of the discount.
activeexpiredscheduledstatus:scheduled- Anchor to times_used•integer
Filter by the number of times the discount has been used. For example, if a "Buy 3, Get 1 Free" t-shirt discount is automatically applied in 200 transactions, then the discount has been used 200 times.
This value is updated asynchronously. As a result, it might be different than the actual usage count.times_used:0times_used:>150times_used:>=200- Anchor to title•string
Filter by the discount name that displays to merchants in the Shopify admin and to customers.
title:Black Friday Sale- Anchor to type•string
Filter by the discount type.
allall_with_appappbxgyfixed_amountfree_shippingpercentagetype:percentage- Anchor to updated_at•time
Filter by the date and time, in the shop's timezone, when the discount was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<='2024'
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to discountNodesCountdiscount•Count
Nodes Count The total number of discounts for the shop. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to code•string
Filter by the discount code. Not supported for bulk discounts.
code:WELCOME10- Anchor to combines_with•string
Filter by the Shopify Functions discount classes that the discount type can combine with.
order_discountsproduct_discountsshipping_discountscombines_with:product_discounts- Anchor to created_at•time
Filter by the date and time, in the shop's timezone, when the discount was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'- Anchor to discount_class•string
Filter by the discount class.
orderproductshippingdiscount_class:product- Anchor to discount_type•string
Filter by the discount type.
bogofixed_amountfree_shippingpercentagetype:fixed_amount- Anchor to ends_at•time
Filter by the date and time, in the shop's timezone, when the discount ends.
ends_at:>'2020-10-21T23:39:20Z'ends_at:<nowends_at:<='2024'- Anchor to method•string
Filter by the discount method.
automaticcodemethod:code- Anchor to starts_at•time
Filter by the date and time, in the shop's timezone, when the discount becomes active and is available for customer use.
starts_at:>'2020-10-21T23:39:20Z'starts_at:<nowstarts_at:<='2024'- Anchor to status•string
Filter by the status of the discount.
activeexpiredscheduledstatus:scheduled- Anchor to times_used•integer
Filter by the number of times the discount has been used. For example, if a "Buy 3, Get 1 Free" t-shirt discount is automatically applied in 200 transactions, then the discount has been used 200 times.
This value is updated asynchronously. As a result, it might be different than the actual usage count.times_used:0times_used:>150times_used:>=200- Anchor to title•string
Filter by the discount name that displays to merchants in the Shopify admin and to customers.
title:Black Friday Sale- Anchor to type•string
Filter by the discount type.
allall_with_appappbxgyfixed_amountfree_shippingpercentagetype:percentage- Anchor to updated_at•time
Filter by the date and time, in the shop's timezone, when the discount was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<='2024'
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to discountRedeemCodeBulkCreationdiscount•Discount
Redeem Code Bulk Creation Redeem Code Bulk Creation Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to discountRedeemCodeSavedSearchesdiscount•Saved
Redeem Code Saved Searches Search Connection! non-null List of the shop's redeemed discount code saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Discount
Key Code Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to discountResourceFeedbackdiscount•Discount
Resource Feedback Resource Feedback Returns the discount resource feedback for the currently authenticated app.
- •ID!required
The discount associated with the resource feedback.
Arguments
- •ID!
- Anchor to disputedispute•Shopify
Payments Dispute Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to disputeEvidencedispute•Shopify
Evidence Payments Dispute Evidence Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to disputesdisputes•Shopify
Payments Dispute Connection! non-null All disputes related to the Shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to domaindomain•Domain
Returns a
Domainresource by ID.- •ID!required
The ID of the
Domainto return.
Arguments
- •ID!
- Anchor to draftOrderdraft•Draft
Order Order Retrieves a draft order by its ID. A draft order is an order created by a merchant on behalf of their customers. Draft orders contain all necessary order details (products, pricing, customer information) but require payment to be accepted before they can be converted into completed orders.
Use the
query to retrieve information associated with the following workflows:- Creating orders for phone, in-person, or chat sales
- Sending invoices to customers with secure checkout links
- Managing custom items and additional costs
- Selling products at discount or wholesale rates
- Processing pre-orders and saving drafts for later completion
A draft order is associated with a customer and contains multiple line items. Each draft order has a status, which indicates its progress through the sales workflow.
- •ID!required
The ID of the
to return.
Arguments
- Anchor to draftOrderAvailableDeliveryOptionsdraft•Draft
Order Available Delivery Options Order Available Delivery Options! non-null Available delivery options for a
based on the provided input. The query returns shipping rates, local delivery rates, and pickup locations that merchants can choose from when creating draft orders.Accepts draft order details including
objects,for shipping, and discounts to determine which delivery methods are available. Pagination parameters control the number of local pickup options returned.- Anchor to inputinput•Draft
Order Available Delivery Options Input! required The fields for the draft order.
- Anchor to searchsearch•String
The search term for the delivery options.
- Anchor to localPickupFromlocal•Int
Pickup From The offset for the local pickup options.
- Anchor to localPickupCountlocal•Int
Pickup Count The number of local pickup options required.
- Anchor to sessionTokensession•String
Token Unique token used to trace execution and help optimize the calculation.
Arguments
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null List of saved draft orders.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Draft
Key Order Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to draftOrderSavedSearchesdraft•Saved
Order Saved Searches Search Connection! non-null List of the shop's draft order saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to draftOrdersCountdraft•Count
Orders Count Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
- Anchor to customer_id•id
- Anchor to ids•string
- Anchor to source•string
- Anchor to status•string
- Anchor to tag•string
- Anchor to updated_at•time
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to draftOrderTagdraft•Draft
Order Tag Order Tag Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to eventevent•Event
Retrieves a single event by ID. Events chronicle activities in your store such as resource creation, updates, or staff comments. The query returns an
Eventinterface of typeor.- •ID!required
The ID of the event.
Arguments
- •ID!
- Anchor to eventsevents•Event
Connection A paginated list of events that chronicle activities in the store.
Eventis an interface implemented by types such asandthat track actions such as creatingArticleobjects, fulfillingOrderobjects, addingProductobjects, or staff comments on timelines.The query supports filtering and sorting to help you find specific events or audit store activity over time.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Event
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to comments•boolean
Whether or not to include comment-events in your search, passing
falsewill exclude comment-events, any other value will include comment-events.falsetrue- Anchor to created_at•time
Filter by the date and time when the event happened.
created_at:>2020-10-21created_at:<now- Anchor to subject_type•string
The resource type affected by this event. See EventSubjectType for possible values.
PRODUCT_VARIANTPRODUCTCOLLECTION
Example:
Example:
Example:
Arguments
- Anchor to eventsCountevents•Count
Count Count of events. Limited to a maximum of 10000.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to comments•boolean
Whether or not to include comment-events in your search, passing
falsewill exclude comment-events, any other value will include comment-events.falsetrue- Anchor to created_at•time
Filter by the date and time when the event happened.
created_at:>2020-10-21created_at:<now- Anchor to subject_type•string
The resource type affected by this event. See EventSubjectType for possible values.
PRODUCT_VARIANTPRODUCTCOLLECTION
Example:
Example:
Example:
Arguments
- Anchor to filesfiles•File
Connection! non-null Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets that merchants can upload to their store for various purposes including product images, marketing materials, documents, and brand assets.
Use the
filesquery to retrieve information associated with the following workflows:- Managing product media and images
- Theme development and asset management
- Brand asset management and checkout branding
Files can include multiple content types, such as images, videos, 3D models, and generic files. Each file has properties like dimensions, file size, alt text for accessibility, and upload status. Files can be filtered by media type and can be associated with products, themes, and other store resources.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•File
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
- Anchor to filename•string
- Anchor to ids•string
- Anchor to media_type•string
- Anchor to original_upload_size•float
- Anchor to product_id•string
- Anchor to status•string
- Anchor to updated_at•time
- Anchor to used_in•string
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to fileSavedSearchesfile•Saved
Saved Searches Search Connection! non-null A list of the shop's file saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to financeAppAccessPolicyfinance•Finance
App Access Policy App Access Policy! non-null Returns the access policy for a finance app .
- Anchor to financeKycInformationfinance•Finance
Kyc Information Kyc Information Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps.
- Anchor to fulfillmentfulfillment•Fulfillment
Retrieves a
Fulfillmentby its ID. A fulfillment is a record that the merchant has completed their work required for one or more line items in anOrder. It includes tracking information,objects, and the status of the fulfillment.Use this query to track the progress of shipped items, view tracking details, or check fulfillment events for example when a package is out for delivery or delivered.
- •ID!required
The ID of the Fulfillment to return.
Arguments
- •ID!
- Anchor to fulfillmentConstraintRulesfulfillment•[Fulfillment
Constraint Rules Constraint Rule!]! non-null The fulfillment constraint rules that belong to a shop.
- Anchor to fulfillmentOrderfulfillment•Fulfillment
Order Order Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to fulfillmentOrdersfulfillment•Fulfillment
Orders Order Connection! non-null The paginated list of all fulfillment orders. The returned fulfillment orders are filtered according to the fulfillment order access scopes granted to the app.
Use this query to retrieve fulfillment orders assigned to merchant-managed locations, third-party fulfillment service locations, or all kinds of locations together.
For fetching only the fulfillment orders assigned to the app's locations, use the assignedFulfillmentOrders connection.
- Anchor to includeClosedinclude•Boolean
Closed Default:false Whether to include closed fulfillment orders.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Fulfillment
Key Order Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to fulfillmentServicefulfillment•Fulfillment
Service Service Returns a
by its ID. The service can manage inventory, process fulfillment requests, and provide tracking details through callback endpoints or directly calling Shopify's APIs.When you register a fulfillment service, Shopify automatically creates an associated
Locationwhere fulfillment order's can be assigned to be processed.Learn more about building fulfillment service apps.
- •ID!required
The ID of the FulfillmentService to return.
Arguments
- •ID!
- Anchor to giftCardgift•Gift
Card Card Retrieves a
by its ID. Returns the gift card's balance, transaction history,Customerinformation, and whether it's enabled.Additional fields include the initial value, expiration date, deactivation timestamp (if applicable), and the associated
Orderif the gift card was purchased by a customer through checkout. Gift cards that merchants create manually won't have an associated order.- •ID!required
The ID of the GiftCard to return.
Arguments
- •ID!
- Anchor to giftCardConfigurationgift•Gift
Card Configuration Card Configuration! non-null The configuration for the shop's gift cards.
- Anchor to giftCardsgift•Gift
Cards Card Connection! non-null Returns a paginated list of
objects issued for the shop.You can filter gift cards by attributes such as status, last characters of the code, balance status, and other values using the
queryparameter. You can also applyobjects to filter results.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Gift
Key Card Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document, including gift card codes.
query=a5bh6h64b329j4k7query=Bob Norman- Anchor to balance_status•string
fullpartialemptyfull_or_partialbalance_status:full- Anchor to created_at•time
created_at:>=2020-01-01T12:00:00Z- Anchor to expires_on•date
expires_on:>=2020-01-01- Anchor to initial_value•string
initial_value:>=100- Anchor to status•string
disabledenabledexpiredexpiringstatus:disabled OR status:expired
Example:
Valid values:
Example:
Example:
Example:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to giftCardsCountgift•Count
Cards Count The total number of gift cards issued for the shop. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document, including gift card codes.
query=a5bh6h64b329j4k7query=Bob Norman- Anchor to balance_status•string
fullpartialemptyfull_or_partialbalance_status:full- Anchor to created_at•time
created_at:>=2020-01-01T12:00:00Z- Anchor to expires_on•date
expires_on:>=2020-01-01- Anchor to initial_value•string
initial_value:>=100- Anchor to status•string
disabledenabledexpiredexpiringstatus:disabled OR status:expired
Example:
Valid values:
Example:
Example:
Example:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to inventoryIteminventory•Inventory
Item Item Returns an InventoryItem object by ID.
- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to inventoryItemsinventory•Inventory
Items Item Connection! non-null Returns a list of inventory items.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to inventoryLevelinventory•Inventory
Level Level Returns an InventoryLevel object by ID.
- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to inventoryPropertiesinventory•Inventory
Properties Properties! non-null Returns the shop's inventory configuration, including all inventory quantity names. Quantity names represent different inventory states that merchants use to track inventory.
- Anchor to inventoryShipmentinventory•Inventory
Shipment Shipment - •ID!required
The ID of the inventory shipment.
Arguments
- •ID!
- Anchor to inventoryTransferinventory•Inventory
Transfer Transfer Returns an
by ID. Inventory transfers track the movement of inventory between locations, including origin and destination details,objects, quantities, andvalues.- •ID!required
The ID of the inventory transfer.
Arguments
- •ID!
- Anchor to inventoryTransfersinventory•Inventory
Transfers Transfer Connection! non-null Returns a paginated list of
objects between locations. Transfers track the movement ofobjects betweenLocationobjects.Supports filtering transfers using query parameters and sorting by various criteria. Use the connection's edges to access transfer details including
objects, quantities, and shipment status.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Transfer
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
- Anchor to destination_id•id
- Anchor to origin_id•id
- Anchor to product_id•id
- Anchor to product_variant_id•id
- Anchor to source_id•id
- Anchor to status•string
- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- •Job
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
- •ID!required
ID of the job to query.
Arguments
- •ID!
- Anchor to locationlocation•Location
Retrieves a
Locationby its ID. Locations are physical places where merchants store inventory, such as warehouses, retail stores, or fulfillment centers.Each location tracks inventory levels, fulfillment capabilities, and address information. Active locations can stock products and fulfill orders based on their configuration settings.
- •ID
The ID of the location to return. If no ID is provided, the primary location of the Shop is returned.
Arguments
- Anchor to locationByIdentifierlocation•Location
By Identifier Return a location by an identifier.
- Anchor to identifieridentifier•Location
Identifier Input! required The identifier of the location.
Arguments
- Anchor to locationslocations•Location
Connection! non-null A paginated list of inventory locations where merchants can stock
Productitems and fulfillOrderitems.Returns only active locations by default. Use the
argument to retrieve deactivated locations that can no longer stock inventory or fulfill orders. Use theargument to include locations thatapps manage. Use thequeryargument to filter by location attributes like name, address, and whether local pickup is enabled.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Location
Key Sort Keys Default:NAME 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to active•string
- Anchor to address1•string
- Anchor to address2•string
- Anchor to city•string
- Anchor to country•string
- Anchor to created_at•time
- Anchor to geolocated•boolean
- Anchor to legacy•boolean
- Anchor to location_id•id
- Anchor to name•string
- Anchor to pickup_in_store•string
enableddisabled- Anchor to province•string
- Anchor to zip•string
Example:
Valid values:
- Anchor to includeLegacyinclude•Boolean
Legacy Default:false Whether to include the legacy locations of fulfillment services.
- Anchor to includeInactiveinclude•Boolean
Inactive Default:false Whether to include the locations that are deactivated.
Arguments
- Anchor to locationsAvailableForDeliveryProfilesConnectionlocations•Location
Available For Delivery Profiles Connection Connection! non-null Returns a list of all origin locations available for a delivery profile.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to locationsCountlocations•Count
Count Returns the count of locations for the given shop. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to active•string
- Anchor to address1•string
- Anchor to address2•string
- Anchor to city•string
- Anchor to country•string
- Anchor to created_at•time
- Anchor to geolocated•boolean
- Anchor to legacy•boolean
- Anchor to location_id•id
- Anchor to name•string
- Anchor to pickup_in_store•string
enableddisabled- Anchor to province•string
- Anchor to zip•string
Example:
Valid values:
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to manualHoldsFulfillmentOrdersmanual•Fulfillment
Holds Fulfillment Orders Order Connection! non-null Returns a list of fulfillment orders that are on hold.
- Anchor to queryquery•String
The query conditions used to filter fulfillment orders. Only fulfillment orders corresponding to orders matching the query will be counted. Supported filter parameters:
See the detailed search syntax for more information about using filters.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to marketmarket•Market
Returns a
Marketresource by ID.- •ID!required
The ID of the
Marketto return.
Arguments
- •ID!
- Anchor to marketingActivitiesmarketing•Marketing
Activities Activity Connection! non-null A list of marketing activities associated with the marketing app.
- Anchor to marketingActivityIdsmarketing•[ID!]
Activity Ids Default:[] The list of marketing activity IDs to filter by.
- Anchor to remoteIdsremote•[String!]
Ids Default:[] The list of remote IDs associated with marketing activities to filter by.
- •UTMInput
The UTM parameters associated with marketing activities to filter by.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Marketing
Key Activity Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to app_id•id
- Anchor to app_name•string
A comma-separated list of app names.
- Anchor to created_at•time
- Anchor to marketing_campaign_id•id
- Anchor to scheduled_to_end_at•time
- Anchor to scheduled_to_start_at•time
- Anchor to tactic•string
- Anchor to title•string
- Anchor to updated_at•time
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to marketingActivitymarketing•Marketing
Activity Activity Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to marketingEventmarketing•Marketing
Event Event Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to marketingEventsmarketing•Marketing
Events Event Connection! non-null A list of marketing events associated with the marketing app.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Marketing
Key Event Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to marketLocalizableResourcemarket•Market
Localizable Resource Localizable Resource A resource that can have localized values for different markets.
- Anchor to resourceIdresource•ID!
Id required Find a market localizable resource by ID.
Arguments
- Anchor to marketLocalizableResourcesmarket•Market
Localizable Resources Localizable Resource Connection! non-null Resources that can have localized values for different markets.
- Anchor to resourceTyperesource•Market
Type Localizable Resource Type! required Return only resources of a type.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to marketLocalizableResourcesByIdsmarket•Market
Localizable Resources By Ids Localizable Resource Connection! non-null Resources that can have localized values for different markets.
- Anchor to resourceIdsresource•[ID!]!
Ids required Return only resources for given IDs.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to marketsmarkets•Market
Connection! non-null Returns a paginated list of
Marketobjects configured for the shop. Markets match buyers based on defined conditions to deliver customized shopping experiences.Filter markets by
and, search by name, and control sort order. Retrieve market configurations including,objects, and.Learn more about Shopify Markets.
- Anchor to enabledenabled•BooleanDefault:null
Filters markets by enabled status.
- Anchor to typetype•Market
Type Default:null Filters markets by type.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Markets
Key Sort Keys Default:NAME 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to market_condition_types•string
A comma-separated list of condition types.
- Anchor to market_type•string
- Anchor to name•string
- Anchor to status•string
ACTIVEDRAFT- Anchor to wildcard_company_location_with_country_code•string
Example:
Valid values:
Arguments
- Anchor to marketsResolvedValuesmarkets•Markets
Resolved Values Resolved Values! non-null The resolved values for a buyer signal.
- Anchor to buyerSignalbuyer•Buyer
Signal Signal Input! required The buyer signal.
Arguments
- •Menu
Connection! non-null Retrieves navigation menus. Menus organize content into hierarchical navigation structures that merchants can display in the online store (for example, in headers, footers, and sidebars) and customer accounts.
Each
Menucontains a handle for identification, a title for display, and a collection ofobjects that can be nested up to 3 levels deep. Default menus have protected handles that can't be modified.- •Int
The first
nelements from the paginated list.- •Int
The last
nelements from the paginated list.- •BooleanDefault:false
Reverse the order of the underlying list.
- •Menu
Sort Keys Default:ID 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.
- •String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- •Count
Count of menus.
- •String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- •Int
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to metafieldDefinitionmetafield•Metafield
Definition Definition Retrieves a
by its identifier. You can identify a definition using either its owner type, namespace, and key, or its global ID.Use this query to inspect a definition's configuration, including its data type, validations, access settings, and the count of metafields using it.
- •IDDeprecated
- Anchor to identifieridentifier•Metafield
Definition Identifier Input The identifier of the MetafieldDefinition to return.
Arguments
- •ID
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-null Returns a list of metafield definitions.
- •String
Filter metafield definition by key.
- Anchor to namespacenamespace•String
Filter metafield definition by namespace.
- Anchor to ownerTypeowner•Metafield
Type Owner Type! required Filter the metafield definition by the specific owner type.
- Anchor to pinnedStatuspinned•Metafield
Status Definition Pinned Status Default:ANY Filter the metafield definition by the pinned status.
- Anchor to constraintSubtypeconstraint•Metafield
Subtype Definition Constraint Subtype Identifier Filter metafield definitions based on whether they apply to a given resource subtype.
- Anchor to constraintStatusconstraint•Metafield
Status Definition Constraint Status Filter metafield definitions based on whether they are constrained.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Metafield
Key Definition Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
Filter by the date and time when the metafield definition was created.
created_at:>2020-10-21T23:39:20Zcreated_at:<nowcreated_at:<=2024- Anchor to namespace•string
Filter by the metafield definition
namespacefield.namespace:some-namespace- Anchor to type•string
Filter by the metafield definition
typefield.type:single_line_text_field- Anchor to updated_at•time
Filter by the date and time when the metafield definition was last updated.
updated_at:>2020-10-21T23:39:20Zupdated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Example:
Example:
Arguments
- Anchor to metafieldDefinitionTypesmetafield•[Metafield
Definition Types Definition Type!]! non-null The available metafield types that you can use when creating
objects. Each type specifies what kind of data it stores (such as boolean, color, date, or references), its category, and which validations it supports.For a list of supported types and their capabilities, refer to the metafield types documentation.
- Anchor to metafieldsmetafields•Metafield
Connection! non-null A paginated list of metafields.
- Anchor to namespacenamespace•String
Filter metafields by namespace.
- Anchor to ownerowner•ID!required
Filter metafields to a specific owner. Recommend using the
metafieldsconnection from HasMetafields directly from the owner instead.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to metaobjectmetaobject•Metaobject
Retrieves a single
Metaobjectby its global ID. Metaobjects store custom structured data based on defined schemas. The returned metaobject includes its fields with values, display name, handle, and associated metadata like update timestamps and capabilities.- •ID!required
The ID of the metaobject to return.
Arguments
- •ID!
- Anchor to metaobjectByHandlemetaobject•Metaobject
By Handle Retrieves a
Metaobjectby its handle and type. Handles are unique identifiers within a metaobject type.- Anchor to handlehandle•Metaobject
Handle Input! required The identifier of the metaobject to return.
Arguments
- Anchor to metaobjectDefinitionmetaobject•Metaobject
Definition Definition Retrieves a
by its global ID. Metaobject definitions provide the structure and fields for metaobjects.The definition includes field configurations, access settings, display preferences, and capabilities that determine how metaobjects of this type behave across the Shopify platform.
- •ID!required
The ID of the metaobject to return.
Arguments
- •ID!
- Anchor to metaobjectDefinitionByTypemetaobject•Metaobject
Definition By Type Definition Retrieves a
by its type. The type serves as a unique identifier that distinguishes one metaobject definition from another.- Anchor to typetype•String!required
The type of the metaobject definition to return.
Arguments
- Anchor to metaobjectDefinitionsmetaobject•Metaobject
Definitions Definition Connection! non-null Returns a paginated list of all
objects configured for the store. Metaobject definitions provide the schema for creating custom data structures composed of individual fields. Each definition specifies the field types, access permissions, and capabilities forMetaobjectentries of that type. Use this query to discover available metaobject types before creating or querying metaobject entries.Learn more about managing metaobjects.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to metaobjectsmetaobjects•Metaobject
Connection! non-null Returns a paginated list of
Metaobjectentries for a specific type. Metaobjects are custom data structures that extend Shopify's data model with merchant or app-specific data types.Filter results using the query parameter with a search syntax for metaobject fields. Use
fields.{key}:{value}to filter by field values, supporting any field previously marked as filterable. Theparameter acceptsid,type,, orto control result ordering.Learn more about querying metaobjects by field value.
- Anchor to typetype•String!required
The type of the metaobjects to query.
- Anchor to sortKeysort•String
Key The key of a field to sort with. Supports "id", "type", "updated_at", and "display_name".
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to display_name•string
- Anchor to fields.{key}•mixed
Filters metaobject entries by field value. Format:
fields.{key}:{value}. Only fields marked as filterable in the metaobject definition can be used. Learn more about querying metaobjects by field value.fields.color:bluefields.on_sale:true- Anchor to handle•string
- Anchor to updated_at•time
Example:
Arguments
- Anchor to mobilePlatformApplicationmobile•Mobile
Platform Application Platform Application Return a mobile platform application by its ID.
- Anchor to mobilePlatformApplicationsmobile•Mobile
Platform Applications Platform Application Connection! non-null List the mobile platform applications.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to nftSalesEligibilitynft•Nft
Sales Eligibility Sales Eligibility Result! non-null Determine if a shop is eligibile to sell NFTs.
- Anchor to nodenode•Node
Returns a specific node (any object that implements the Node interface) by ID, in accordance with the Relay specification. This field is commonly used for refetching an object.
- •ID!required
The ID of the
Nodeto return.
Arguments
- •ID!
- Anchor to nodesnodes•[Node]!non-null
Returns the list of nodes (any objects that implement the Node interface) with the given IDs, in accordance with the Relay specification.
- •[ID!]!required
The IDs of the Nodes to return.
Arguments
- •[ID!]!
- Anchor to onlineStoreonline•Online
Store Store! non-null The shop's online store channel.
- Anchor to orderorder•Order
The
orderquery retrieves an order by its ID. This query provides access to comprehensive order information such as customer details, line items, financial data, and fulfillment status.Use the
orderquery to retrieve information associated with the following processes:- Order management and fulfillment
- Financial reporting
- Customer purchase history and transaction analysis
- Shipping and inventory management
You can only retrieve the last 60 days worth of orders from a store by default. If you want to access older orders, then you need to request access to all orders.
For large order datasets, consider using bulk operations. Bulk operations handle pagination automatically and allow you to retrieve data asynchronously without being constrained by API rate limits. Learn more about creating orders and building order management apps.
- •ID!required
The ID of the
Orderto return.
Arguments
- Anchor to orderByIdentifierorder•Order
By Identifier Return an order by an identifier.
- Anchor to identifieridentifier•Order
Identifier Input! required The identifier of the order.
Arguments
- Anchor to orderEditSessionorder•Order
Edit Session Edit Session Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to orderPaymentStatusorder•Order
Payment Status Payment Status Retrieves the status of a deferred payment by its payment reference ID. Use this query to monitor the processing status of payments that are initiated through payment mutations. Deferred payments are called payment terms in the API.
The query returns an
object that includes the current payment status, any error messages, and associated transactions. Poll this query to track asynchronous payment processing after initiating a deferred payment.- Anchor to paymentReferenceIdpayment•String!
Reference Id required Unique identifier returned by orderCreatePayment.
- Anchor to orderIdorder•ID!
Id required ID of the order for which the payment was initiated.
Arguments
- Anchor to ordersorders•Order
Connection! non-null Returns a list of orders placed in the store, including data such as order status, customer, and line item details. Use the
ordersquery to build reports, analyze sales performance, or automate fulfillment workflows. Theordersquery supports pagination, sorting, and filtering.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Order
Key Sort Keys Default:PROCESSED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to cart_token•string
Filter by the cart token's unique value to track abandoned cart conversions or troubleshoot checkout issues. The token references the cart that's associated with an order.
cart_token:abc123- Anchor to channel•string
Filter by the channel information
handle() field.channel:webchannel:web,pos- Anchor to chargeback_status•string
Filter by the order's chargeback status. A chargeback occurs when a customer questions the legitimacy of a charge with their financial institution.
acceptedcharge_refundedlostneeds_responseunder_reviewwonchargeback_status:accepted- Anchor to checkout_token•string
Filter by the checkout token's unique value to analyze conversion funnels or resolve payment issues. The checkout token's value references the checkout that's associated with an order.
checkout_token:abc123- Anchor to confirmation_number•string
Filter by the randomly generated alpha-numeric identifier for an order that can be displayed to the customer instead of the sequential order name. This value isn't guaranteed to be unique.
confirmation_number:ABC123- Anchor to created_at•time
Filter by the date and time when the order was created in Shopify's system.
created_at:2020-10-21T23:39:20Zcreated_at:<nowcreated_at:<=2024- Anchor to credit_card_last4•string
Filter by the last four digits of the payment card that was used to pay for the order. This filter matches only the last four digits of the card for heightened security.
credit_card_last4:1234- Anchor to current_total_price•float
Filter by the current total price of the order in the shop currency, including any returns/refunds/removals. This filter supports both exact values and ranges.
current_total_price:10current_total_price:>=5.00 current_total_price:<=20.99- Anchor to delivery_method•string
shippingpick-upretaillocalpickup-pointnonedelivery_method:shipping- Anchor to discount_code•string
Filter by the case-insensitive discount code that was applied to the order at checkout. Limited to the first discount code used on an order. Maximum characters: 255.
discount_code:ABC123- Anchor to email•string
Filter by the email address that's associated with the order to provide customer support or analyze purchasing patterns.
email:example@shopify.com- Anchor to financial_status•string
paidpendingauthorizedpartially_paidpartially_refundedrefundedvoidedexpiredfinancial_status:authorized- Anchor to fraud_protection_level•string
Filter by the level of fraud protection that's applied to the order. Use this filter to manage risk or handle disputes.
fully_protectedpartially_protectednot_protectedpendingnot_eligiblenot_availablefraud_protection_level:fully_protected- Anchor to fulfillment_location_id•id
Filter by the fulfillment location
id(Fulfillment.location.id) field.fulfillment_location_id:123- Anchor to fulfillment_status•string
unshippedshippedfulfilledpartialscheduledon_holdunfulfilledrequest_declinedfulfillment_status:fulfilled- Anchor to location_id•id
Filter by the location
idthat's associated with the order to view and manage orders for specific locations. For POS orders, locations must be defined in the Shopify admin under Settings > Locations. If no ID is provided, then the primary location of the shop is returned.location_id:123- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to payment_id•string
Filter by the payment ID that's associated with the order to reconcile financial records or troubleshoot payment issues.
payment_id:abc123- Anchor to payment_provider_id•id
Filter by the ID of the payment provider that's associated with the order to manage payment methods or troubleshoot transactions.
payment_provider_id:123- Anchor to reference_location_id•id
Filter by the ID of a location that's associated with the order, such as locations from fulfillments, refunds, or the shop's primary location.
reference_location_id:123- Anchor to return_status•string
return_requestedin_progressinspection_completereturnedreturn_failedno_returnreturn_status:in_progress- Anchor to sales_channel•string
Filter by the sales channel where the order was made to analyze performance or manage fulfillment processes.
sales_channel: some_sales_channel- Anchor to shipping_address_validation_result_summary•string
Filter by the validation status of the shipping address. Learn more about validating addresses.
has_issuesno_issuesnot_validatedshipping_address_validation_result_summary:no_issues- Anchor to sku•string
Filter by the product variant
skufield. Learn more about SKUs.sku:ABC123- Anchor to source_identifier•string
Filter by the ID of the order placed on the originating platform, such as a unique POS or third-party identifier. This value doesn't correspond to the Shopify ID that's generated from a completed draft order.
source_identifier:1234-12-1000- Anchor to source_name•string
Filter by the platform where the order was placed to distinguish between web orders, POS sales, draft orders, or third-party channels. Use this filter to analyze sales performance across different ordering methods.
source_name:websource_name:shopify_draft_order- Anchor to status•string
Filter by the order's status to manage workflows or analyze the order lifecycle.
openclosedcancellednot_closedstatus:open- Anchor to subtotal_line_items_quantity•string
Filter by the total number of items across all line items in an order. This filter supports both exact values and ranges, and is useful for identifying bulk orders or analyzing purchase volume patterns.
subtotal_line_items_quantity:10subtotal_line_items_quantity:5..20- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to test•boolean
Filter by test orders. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled.
test:true- Anchor to total_weight•string
Filter by the order weight. This filter supports both exact values and ranges, and is to be used to filter orders by the total weight of all items (excluding packaging). It takes a unit of measurement as a suffix. It accepts the following units: g, kg, lb, oz.
total_weight:10.5kgtotal_weight:>=5g total_weight:<=20gtotal_weight:.5 lb- Anchor to updated_at•time
Filter by the date and time when the order was last updated in Shopify's system.
updated_at:2020-10-21T23:39:20Zupdated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to orderSavedSearchesorder•Saved
Saved Searches Search Connection! non-null Returns saved searches for orders in the shop. Saved searches store search queries with their filters and search terms.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to ordersCountorders•Count
Count Returns the number of orders in the shop. You can filter orders using search syntax or a
, and set a maximum count limit to control query performance.Use the
queryargument to filter the count by criteria like order status, financial state, or fulfillment status. The response includes both the count value and its precision, indicating whether the count is exact or an estimate.NoteThe count is limited to 10,000 orders by default. Use the
limitargument to adjust this value, or passnullfor no limit. Limited to a maximum of 10000 by default.- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to cart_token•string
Filter by the cart token's unique value to track abandoned cart conversions or troubleshoot checkout issues. The token references the cart that's associated with an order.
cart_token:abc123- Anchor to channel•string
Filter by the channel information
handle() field.channel:webchannel:web,pos- Anchor to chargeback_status•string
Filter by the order's chargeback status. A chargeback occurs when a customer questions the legitimacy of a charge with their financial institution.
acceptedcharge_refundedlostneeds_responseunder_reviewwonchargeback_status:accepted- Anchor to checkout_token•string
Filter by the checkout token's unique value to analyze conversion funnels or resolve payment issues. The checkout token's value references the checkout that's associated with an order.
checkout_token:abc123- Anchor to confirmation_number•string
Filter by the randomly generated alpha-numeric identifier for an order that can be displayed to the customer instead of the sequential order name. This value isn't guaranteed to be unique.
confirmation_number:ABC123- Anchor to created_at•time
Filter by the date and time when the order was created in Shopify's system.
created_at:2020-10-21T23:39:20Zcreated_at:<nowcreated_at:<=2024- Anchor to credit_card_last4•string
Filter by the last four digits of the payment card that was used to pay for the order. This filter matches only the last four digits of the card for heightened security.
credit_card_last4:1234- Anchor to current_total_price•float
Filter by the current total price of the order in the shop currency, including any returns/refunds/removals. This filter supports both exact values and ranges.
current_total_price:10current_total_price:>=5.00 current_total_price:<=20.99- Anchor to delivery_method•string
shippingpick-upretaillocalpickup-pointnonedelivery_method:shipping- Anchor to discount_code•string
Filter by the case-insensitive discount code that was applied to the order at checkout. Limited to the first discount code used on an order. Maximum characters: 255.
discount_code:ABC123- Anchor to email•string
Filter by the email address that's associated with the order to provide customer support or analyze purchasing patterns.
email:example@shopify.com- Anchor to financial_status•string
paidpendingauthorizedpartially_paidpartially_refundedrefundedvoidedexpiredfinancial_status:authorized- Anchor to fraud_protection_level•string
Filter by the level of fraud protection that's applied to the order. Use this filter to manage risk or handle disputes.
fully_protectedpartially_protectednot_protectedpendingnot_eligiblenot_availablefraud_protection_level:fully_protected- Anchor to fulfillment_location_id•id
Filter by the fulfillment location
id(Fulfillment.location.id) field.fulfillment_location_id:123- Anchor to fulfillment_status•string
unshippedshippedfulfilledpartialscheduledon_holdunfulfilledrequest_declinedfulfillment_status:fulfilled- Anchor to location_id•id
Filter by the location
idthat's associated with the order to view and manage orders for specific locations. For POS orders, locations must be defined in the Shopify admin under Settings > Locations. If no ID is provided, then the primary location of the shop is returned.location_id:123- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to payment_id•string
Filter by the payment ID that's associated with the order to reconcile financial records or troubleshoot payment issues.
payment_id:abc123- Anchor to payment_provider_id•id
Filter by the ID of the payment provider that's associated with the order to manage payment methods or troubleshoot transactions.
payment_provider_id:123- Anchor to reference_location_id•id
Filter by the ID of a location that's associated with the order, such as locations from fulfillments, refunds, or the shop's primary location.
reference_location_id:123- Anchor to return_status•string
return_requestedin_progressinspection_completereturnedreturn_failedno_returnreturn_status:in_progress- Anchor to sales_channel•string
Filter by the sales channel where the order was made to analyze performance or manage fulfillment processes.
sales_channel: some_sales_channel- Anchor to shipping_address_validation_result_summary•string
Filter by the validation status of the shipping address. Learn more about validating addresses.
has_issuesno_issuesnot_validatedshipping_address_validation_result_summary:no_issues- Anchor to sku•string
Filter by the product variant
skufield. Learn more about SKUs.sku:ABC123- Anchor to source_identifier•string
Filter by the ID of the order placed on the originating platform, such as a unique POS or third-party identifier. This value doesn't correspond to the Shopify ID that's generated from a completed draft order.
source_identifier:1234-12-1000- Anchor to source_name•string
Filter by the platform where the order was placed to distinguish between web orders, POS sales, draft orders, or third-party channels. Use this filter to analyze sales performance across different ordering methods.
source_name:websource_name:shopify_draft_order- Anchor to status•string
Filter by the order's status to manage workflows or analyze the order lifecycle.
openclosedcancellednot_closedstatus:open- Anchor to subtotal_line_items_quantity•string
Filter by the total number of items across all line items in an order. This filter supports both exact values and ranges, and is useful for identifying bulk orders or analyzing purchase volume patterns.
subtotal_line_items_quantity:10subtotal_line_items_quantity:5..20- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to test•boolean
Filter by test orders. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled.
test:true- Anchor to total_weight•string
Filter by the order weight. This filter supports both exact values and ranges, and is to be used to filter orders by the total weight of all items (excluding packaging). It takes a unit of measurement as a suffix. It accepts the following units: g, kg, lb, oz.
total_weight:10.5kgtotal_weight:>=5g total_weight:<=20gtotal_weight:.5 lb- Anchor to updated_at•time
Filter by the date and time when the order was last updated in Shopify's system.
updated_at:2020-10-21T23:39:20Zupdated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to pagepage•Page
Returns a
Pageresource by ID.- •ID!required
The ID of the
Pageto return.
Arguments
- •ID!
- Anchor to pagespages•Page
Connection! non-null A paginated list of pages from the online store.
Pageobjects are content pages that merchants create to provide information to customers, such as "About Us", "Contact", or policy pages.The query supports filtering with a search query and sorting by various criteria. Advanced filtering is available through saved searches using the
argument.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Page
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to created_at•time
Filter by the date and time when the page was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<=2024- Anchor to handle•string
Filter by the handle of the page.
- Anchor to published_at•time
Filter by the date and time when the page was published.
published_at:>'2020-10-21T23:39:20Z'published_at:<nowpublished_at:<=2024- Anchor to published_status•string
Filter by published status
- Anchor to title•string
Filter by the title of the page.
- Anchor to updated_at•time
Filter by the date and time when the page was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<=2024
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to pagesCountpages•Count
Count Count of pages. Limited to a maximum of 10000 by default.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to paymentCustomizationpayment•Payment
Customization Customization The payment customization.
- •ID!required
The ID of the payment customization.
Arguments
- •ID!
- Anchor to paymentCustomizationspayment•Payment
Customizations Customization Connection! non-null The payment customizations.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to paymentTermsTemplatespayment•[Payment
Terms Templates Terms Template!]! non-null The list of payment terms templates eligible for all shops and users.
- Anchor to paymentTermsTypepayment•Payment
Terms Type Terms Type The payment terms type to filter the payment terms templates list.
Arguments
- Anchor to pendingOrdersCountpending•Count
Orders Count The number of pendings orders. Limited to a maximum of 10000.
- Anchor to performanceEventsperformance•[Performance
Events Event!] Events that impact storefront performance, measured via RUM (Real User Monitoring).
- Anchor to maxDaysmax•Int
Days Default:90 Filters the RUM (Real User Monitoring) events for those created within the specified period.
Arguments
- Anchor to performanceMetricsperformance•[Performance
Metrics Metrics!] RUM (Real User Monitoring) performance metrics for a shop.
- Anchor to aggregationLevelaggregation•Performance
Level Aggregation Level Default:DAILY Fetches RUM (Real User Monitoring) data for the specified aggregation level.
- Anchor to deviceTypesdevice•[Performance
Types Device Type!] Default:[ALL] Fetches RUM (Real User Monitoring) data for the specified device type.
- Anchor to maxDaysmax•Int
Days Default:90 Filters RUM (Real User Monitoring) data within the specified period.
- Anchor to storefrontIdstorefront•String
Id Specifies the storefront to return RUM (Real User Monitoring) data for. Can be a Hydrogen storefront ID (e.g.
1234) or(defaults to).
Arguments
- Anchor to pointOfSaleDevicepoint•Point
Of Sale Device Of Sale Device Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to priceListprice•Price
List List Returns a
by ID. You can use price lists to specify either fixed prices or adjusted relative prices that override initialProductprices.Price lists enable contextual pricing for the
Catalogthey are associated to. Each price list can define fixed prices for specificobjects or percentage-based adjustments relative to other prices.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to priceListsprice•Price
Lists List Connection! non-null All price lists for a shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Price
Key List Sort Keys Default:ID 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.
Arguments
- Anchor to privacySettingsprivacy•Privacy
Settings Settings! non-null Privacy related settings for a shop.
- Anchor to productproduct•Product
Retrieves a product by its ID. A product is an item that a merchant can sell in their store.
Use the
productquery when you need to:- Access essential product data (for example, title, description, price, images, SEO metadata, and metafields).
- Build product detail pages and manage inventory.
- Handle international sales with localized pricing and content.
- Manage product variants and product options.
Learn more about working with Shopify's product model.
- •ID!required
The ID of the
Productto return.
Arguments
- Anchor to productByIdentifierproduct•Product
By Identifier Return a product by an identifier.
- Anchor to identifieridentifier•Product
Identifier Input! required The identifier of the product.
Arguments
- Anchor to productDuplicateJobproduct•Product
Duplicate Job Duplicate Job! non-null Returns the product duplicate job.
- •ID!required
An ID of a product duplicate job to fetch.
Arguments
- •ID!
- Anchor to productFeedproduct•Product
Feed Feed Returns a ProductFeed resource by ID.
- •ID!required
The ID of the ProductFeed to return.
Arguments
- •ID!
- Anchor to productFeedsproduct•Product
Feeds Feed Connection! non-null The product feeds for the shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to productOperationproduct•Product
Operation Operation Returns a ProductOperation resource by ID.
This can be used to query the ProductSetOperation, using the ID that was returned when the product was created or updated by the ProductSet mutation.
The
statusfield indicates whether the operation is,, or.The
productfield provides the details of the created or updated product.For the ProductSetOperation, the
field provides mutation errors that occurred during the operation.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to productResourceFeedbackproduct•Product
Resource Feedback Resource Feedback 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
to:- Display product optimization recommendations to merchants
- Identify data quality issues across product catalogs
- Build product improvement workflows and guided experiences
- Track progress on product listing completeness and quality
- Implement automated product auditing and scoring systems
- Generate reports on catalog health and optimization opportunities
- Provide contextual suggestions within product editing interfaces
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.
- •ID!required
The product associated with the resource feedback.
Arguments
- Anchor to productsproducts•Product
Connection! non-null Retrieves a list of products in a store. Products are the items that merchants can sell in their store.
Use the
productsquery when you need to:- Build a browsing interface for a product catalog.
- Create product searching, sorting, and filtering experiences.
- Implement product recommendations.
- Sync product data with external systems.
The
productsquery supports pagination to handle large product catalogs and saved searches for frequently used product queries.The
productsquery returns products with their associated metadata, including:- Basic product information (for example, title, description, vendor, and type)
- Product options and product variants, with their prices and inventory
- Media attachments (for example, images and videos)
- SEO metadata
- Product categories and tags
- Product availability and publishing statuses
Learn more about working with Shopify's product model.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Product
Key Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to 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- Anchor to 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- Anchor to combined_listing_role•string
Filter by the role of the product in a combined listing.
parentchildno_rolecombined_listing_role:parent- Anchor to created_at•time
Filter by the date and time when the product was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'- Anchor to delivery_profile_id•id
Filter by the delivery profile
idfield.delivery_profile_id:108179161409- Anchor to error_feedback•string
Filter by products with publishing errors.
- Anchor to handle•string
Filter by a comma-separated list of product handles.
handle:the-minimal-snowboard- Anchor to has_only_composites•boolean
Filter by products that have only composite variants.
has_only_composites:true- Anchor to 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- Anchor to has_variant_with_components•boolean
Filter by products that have variants with associated components.
has_variant_with_components:true- Anchor to inventory_total•integer
Filter by inventory count.
inventory_total:0inventory_total:>150inventory_total:>=200- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to out_of_stock_somewhere•boolean
Filter by products that are out of stock in at least one location.
out_of_stock_somewhere:true- Anchor to product_configuration_owner•string
Filter by the app
idfield.product_configuration_owner:10001- Anchor to product_publication_status•string
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the channel
appID (Channel.app.id) and one of the valid values. For simple visibility checks, use published_status instead.* {channel_app_id}-approved* {channel_app_id}-rejected* {channel_app_id}-needs_action* {channel_app_id}-awaiting_review* {channel_app_id}-published* {channel_app_id}-demoted* {channel_app_id}-scheduled* {channel_app_id}-provisionally_publishedproduct_publication_status:189769876-approved- Anchor to product_type•string
Filter by a comma-separated list of product types.
product_type:snowboard- Anchor to publication_ids•string
Filter by a comma-separated list of publication IDs that are associated with the product.
publication_ids:184111530305,184111694145- Anchor to publishable_status•string
Deprecated: This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use published_status for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the channel
appID (Channel.app.id) and one of the valid status values.* {channel_app_id}-unset* {channel_app_id}-pending* {channel_app_id}-approved* {channel_app_id}-not_approvedpublishable_status:580111-unsetpublishable_status:580111-pending- Anchor to 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:20Zpublished_at:<nowpublished_at:<=2024- Anchor to published_status•string
Filter resources by their visibility and publication state on a channel. Online store channel filtering: -
: Returns all resources in the online store channel, regardless of publication status. -published/visible: Returns resources that are published to the online store. -unpublished: Returns resources that are not published to the online store. Channel-specific filtering using the channelappID (Channel.app.id) with suffixes: -: Returns resources published to the specified channel. -: Same as(kept for backwards compatibility). -: Returns resources added to the channel but not yet published. -: Returns resources not added to the channel or not published. Other: -unavailable: Returns resources not published to any channel.online_store_channelpublishedvisibleunpublished* {channel_app_id}-published* {channel_app_id}-visible* {channel_app_id}-intended* {channel_app_id}-hiddenunavailablepublished_status:online_store_channelpublished_status:publishedpublished_status:580111-publishedpublished_status:580111-hiddenpublished_status:unavailable- Anchor to sku•string
Filter by the product variant
skufield. Learn more about SKUs.sku:XYZ-12345- Anchor to status•string
Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an
status in online stores, sales channels, and apps.activeDefaultarchiveddraftstatus:active,draft- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to updated_at•time
Filter by the date and time when the product was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<='2024'- Anchor to variant_title•string
Filter by the product variant
titlefield.variant_title:'Special ski wax'- Anchor to vendor•string
Filter by the origin or source of the product. Learn more about vendors and managing vendor information.
vendor:Snowdevilvendor:Snowdevil OR vendor:Icedevil
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to productSavedSearchesproduct•Saved
Saved Searches Search Connection! non-null Returns a list of the shop's product saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to productsCountproducts•Count
Count Count of products. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to 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- Anchor to 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- Anchor to combined_listing_role•string
Filter by the role of the product in a combined listing.
parentchildno_rolecombined_listing_role:parent- Anchor to created_at•time
Filter by the date and time when the product was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'- Anchor to delivery_profile_id•id
Filter by the delivery profile
idfield.delivery_profile_id:108179161409- Anchor to error_feedback•string
Filter by products with publishing errors.
- Anchor to handle•string
Filter by a comma-separated list of product handles.
handle:the-minimal-snowboard- Anchor to has_only_composites•boolean
Filter by products that have only composite variants.
has_only_composites:true- Anchor to 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- Anchor to has_variant_with_components•boolean
Filter by products that have variants with associated components.
has_variant_with_components:true- Anchor to inventory_total•integer
Filter by inventory count.
inventory_total:0inventory_total:>150inventory_total:>=200- Anchor to 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:truemetafields.product.material:"gid://shopify/Metaobject/43458085"- Anchor to out_of_stock_somewhere•boolean
Filter by products that are out of stock in at least one location.
out_of_stock_somewhere:true- Anchor to product_configuration_owner•string
Filter by the app
idfield.product_configuration_owner:10001- Anchor to product_publication_status•string
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the channel
appID (Channel.app.id) and one of the valid values. For simple visibility checks, use published_status instead.* {channel_app_id}-approved* {channel_app_id}-rejected* {channel_app_id}-needs_action* {channel_app_id}-awaiting_review* {channel_app_id}-published* {channel_app_id}-demoted* {channel_app_id}-scheduled* {channel_app_id}-provisionally_publishedproduct_publication_status:189769876-approved- Anchor to product_type•string
Filter by a comma-separated list of product types.
product_type:snowboard- Anchor to publication_ids•string
Filter by a comma-separated list of publication IDs that are associated with the product.
publication_ids:184111530305,184111694145- Anchor to publishable_status•string
Deprecated: This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use published_status for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the channel
appID (Channel.app.id) and one of the valid status values.* {channel_app_id}-unset* {channel_app_id}-pending* {channel_app_id}-approved* {channel_app_id}-not_approvedpublishable_status:580111-unsetpublishable_status:580111-pending- Anchor to 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:20Zpublished_at:<nowpublished_at:<=2024- Anchor to published_status•string
Filter resources by their visibility and publication state on a channel. Online store channel filtering: -
: Returns all resources in the online store channel, regardless of publication status. -published/visible: Returns resources that are published to the online store. -unpublished: Returns resources that are not published to the online store. Channel-specific filtering using the channelappID (Channel.app.id) with suffixes: -: Returns resources published to the specified channel. -: Same as(kept for backwards compatibility). -: Returns resources added to the channel but not yet published. -: Returns resources not added to the channel or not published. Other: -unavailable: Returns resources not published to any channel.online_store_channelpublishedvisibleunpublished* {channel_app_id}-published* {channel_app_id}-visible* {channel_app_id}-intended* {channel_app_id}-hiddenunavailablepublished_status:online_store_channelpublished_status:publishedpublished_status:580111-publishedpublished_status:580111-hiddenpublished_status:unavailable- Anchor to sku•string
Filter by the product variant
skufield. Learn more about SKUs.sku:XYZ-12345- Anchor to status•string
Filter by a comma-separated list of statuses. You can use statuses to manage inventory. Shopify only displays products with an
status in online stores, sales channels, and apps.activeDefaultarchiveddraftstatus:active,draft- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to updated_at•time
Filter by the date and time when the product was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<='2024'- Anchor to variant_title•string
Filter by the product variant
titlefield.variant_title:'Special ski wax'- Anchor to vendor•string
Filter by the origin or source of the product. Learn more about vendors and managing vendor information.
vendor:Snowdevilvendor:Snowdevil OR vendor:Icedevil
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to productTagsproduct•String
Tags Connection Returns tags added to
Productobjects in the shop. Provides a paginated list of tag strings.The maximum page size is 5000 tags per request. Tags are returned as simple strings through a
. The maximum page size is 5000.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to productTypesproduct•String
Types Connection Returns a paginated list of product types assigned to products in the store. The maximum page size is 1000. The maximum page size is 1000.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to productVariantproduct•Product
Variant Variant Retrieves a product variant by its ID.
A product variant is a specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
Use the
query when you need to:- Access essential product variant data (for example, title, price, image, and metafields).
- Build product detail pages and manage inventory.
- Handle international sales with localized pricing and content.
- Manage product variants that are part of a bundle or selling plan.
Learn more about working with Shopify's product model.
- •ID!required
The ID of the
to return.
Arguments
- Anchor to productVariantByIdentifierproduct•Product
Variant By Identifier Variant Return a product variant by an identifier.
- Anchor to identifieridentifier•Product
Variant Identifier Input! required The identifier of the product variant.
Arguments
- Anchor to productVariantsproduct•Product
Variants Variant Connection! non-null Retrieves a list of product variants associated with a product.
A product variant is a specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
Use the
query when you need to:- Search for product variants by attributes such as SKU, barcode, or inventory quantity.
- Filter product variants by attributes, such as whether they're gift cards or have custom metafields.
- Fetch product variants for bulk operations, such as updating prices or inventory.
- Preload data for product variants, such as inventory items, selected options, or associated products.
The
query supports pagination to handle large product catalogs and saved searches for frequently used product variant queries.The
query returns product variants with their associated metadata, including:- Basic product variant information (for example, title, SKU, barcode, price, and inventory)
- Media attachments (for example, images and videos)
- Associated products, selling plans, bundles, and metafields
Learn more about working with Shopify's product model.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Product
Key Variant Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to collection•string
Filter by the ID of the collection that the product variant belongs to.
collection:465903092033- Anchor to delivery_profile_id•id
Filter by the product variant delivery profile ID (
).delivery_profile_id:108179161409- Anchor to exclude_composite•boolean
Filter by product variants that aren't composites.
exclude_composite:true- Anchor to exclude_variants_with_components•boolean
Filter by whether there are components that are associated with the product variants in a bundle.
exclude_variants_with_components:true- Anchor to inventory_quantity•integer
Filter by an aggregate of inventory across all locations where the product variant is stocked.
inventory_quantity:10- Anchor to location_id•id
Filter by the location ID for the product variant.
location_id:88511152449- Anchor to managed•boolean
Filter by whether there is fulfillment service tracking associated with the product variants.
managed:true- Anchor to managed_by•string
Filter by the fulfillment service that tracks the number of items in stock for the product variant.
managed_by:shopify- Anchor to option1•string
Filter by a custom property that a shop owner uses to define product variants.
option1:small- Anchor to option2•string
Filter by a custom property that a shop owner uses to define product variants.
option2:medium- Anchor to option3•string
Filter by a custom property that a shop owner uses to define product variants.
option3:large- Anchor to product_ids•string
Filter by a comma-separated list of product IDs.
product_ids:8474977763649,8474977796417- Anchor to product_publication_status•string
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the channel
appID (Channel.app.id) and one of the valid values. For simple visibility checks, use published_status instead.* {channel_app_id}-approved* {channel_app_id}-rejected* {channel_app_id}-needs_action* {channel_app_id}-awaiting_review* {channel_app_id}-published* {channel_app_id}-demoted* {channel_app_id}-scheduled* {channel_app_id}-provisionally_publishedproduct_publication_status:189769876-approved- Anchor to product_status•string
Filter by a comma-separated list of product statuses.
product_status:ACTIVE,DRAFT- Anchor to product_type•string
Filter by the product type that's associated with the product variants.
product_type:snowboard- Anchor to publishable_status•string
Deprecated: This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use published_status for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the channel
appID (Channel.app.id) and one of the valid status values.* {channel_app_id}-unset* {channel_app_id}-pending* {channel_app_id}-approved* {channel_app_id}-not_approvedpublishable_status:580111-unsetpublishable_status:580111-pending- Anchor to published_status•string
Filter resources by their visibility and publication state on a channel. Online store channel filtering: -
: Returns all resources in the online store channel, regardless of publication status. -published/visible: Returns resources that are published to the online store. -unpublished: Returns resources that are not published to the online store. Channel-specific filtering using the channelappID (Channel.app.id) with suffixes: -: Returns resources published to the specified channel. -: Same as(kept for backwards compatibility). -: Returns resources added to the channel but not yet published. -: Returns resources not added to the channel or not published. Other: -unavailable: Returns resources not published to any channel.online_store_channelpublishedvisibleunpublished* {channel_app_id}-published* {channel_app_id}-visible* {channel_app_id}-intended* {channel_app_id}-hiddenunavailablepublished_status:online_store_channelpublished_status:publishedpublished_status:580111-publishedpublished_status:580111-hiddenpublished_status:unavailable- Anchor to requires_components•boolean
Filter by whether the product variant can only be purchased with components. Learn more.
requires_components:true- Anchor to sku•string
Filter by the product variant
skufield. Learn more about SKUs.sku:XYZ-12345- Anchor to tag_not•string
Filter by objects that don’t have the specified tag.
tag_not:my_tag- Anchor to updated_at•time
Filter by date and time when the product variant was updated.
updated_at:>2020-10-21T23:39:20Zupdated_at:<nowupdated_at:<=2024- Anchor to vendor•string
Filter by the origin or source of the product variant. Learn more about vendors and managing vendor information.
vendor:Snowdevilvendor:Snowdevil OR vendor:Icedevil
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Valid values:
Example:
Example:
Example:
Example:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to productVariantsCountproduct•Count
Variants Count Count of product variants. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
No supported search fields.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to productVendorsproduct•String
Vendors Connection The list of vendors added to products. The maximum page size is 1000.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to publicApiVersionspublic•[Api
Api Versions Version!]! non-null The list of publicly-accessible Admin API versions, including supported versions, the release candidate, and unstable versions.
- Anchor to publicationpublication•Publication
Retrieves a
Publicationby.Returns
nullif the publication doesn't exist.- •ID!required
The ID of the Publication to return.
Arguments
- •ID!
- Anchor to publicationspublications•Publication
Connection! non-null Returns a paginated list of
Publication.- Anchor to catalogTypecatalog•Catalog
Type Type Filter publications by catalog type.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to publicationsCountpublications•Count
Count Count of publications. Limited to a maximum of 10000 by default.
- Anchor to catalogTypecatalog•Catalog
Type Type Filter publications by catalog type.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to publishedProductsCountpublished•Count
Products Count Returns a count of published products by publication ID. Limited to a maximum of 10000 by default.
- Anchor to publicationIdpublication•ID!
Id required The ID of the publication that the products are published to.
- Anchor to limitlimit•IntDefault:10000
The maximum number of products to count.
Arguments
- Anchor to refundrefund•Refund
Retrieves a refund by its ID. A refund represents a financial record of money returned to a customer from an order. It provides a comprehensive view of all refunded amounts, transactions, and restocking instructions associated with returning products or correcting order issues.
Use the
refundquery to retrieve information associated with the following workflows:- Displaying refund details in order management interfaces
- Building customer service tools for reviewing refund history
- Creating reports on refunded amounts and reasons
- Auditing refund transactions and payment gateway records
- Tracking inventory impacts from refunded items
A refund is associated with an order and includes refund line items that specify which items were refunded. Each refund processes through order transactions that handle the actual money transfer back to the customer.
- •ID!required
The ID of the Refund to return.
Arguments
- Anchor to returnreturn•Return
Retrieves a return by its ID. A return represents the intent of a buyer to ship one or more items from an order back to a merchant or a third-party fulfillment location.
Use the
returnquery to retrieve information associated with the following workflows:A return is associated with an order and can include multiple return line items. Each return has a status, which indicates the state of the return.
- •ID!required
The globally-unique ID of the return to retrieve.
Arguments
- •ID!
- Anchor to returnableFulfillmentreturnable•Returnable
Fulfillment Fulfillment Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to returnableFulfillmentsreturnable•Returnable
Fulfillments Fulfillment Connection! non-null List of returnable fulfillments.
- Anchor to orderIdorder•ID!
Id required Order ID that will scope all returnable fulfillments.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to returnCalculatereturn•Calculated
Calculate Return Calculates the financial outcome of a
Returnwithout creating it. Use this query to preview return costs before initiating the actual return process.The calculation provides detailed breakdowns of refund amounts, taxes,
charges, return shipping fees, and order-level discount adjustments based on theobjects that customers select for return.Learn more about building for return management.
- Anchor to inputinput•Calculate
Return Input! required The input fields for calculating a return.
Arguments
- Anchor to returnReasonDefinitionsreturn•Return
Reason Definitions Reason Definition Connection! non-null Returns the full library of available return reason definitions.
Use this query to retrieve the standardized return reasons available for creating returns. Filter by IDs or handles to get specific definitions.
Only non-deleted reasons should be shown to customers when creating new returns. Deleted reasons have been replaced with better alternatives and are no longer recommended. However, they remain valid options and may still appear on existing returns.
- •[ID!]
A list of return reason definition IDs to filter by.
- Anchor to handleshandles•[String!]
A list of return reason definition handles to filter by.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Return
Key Reason Definition Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to reverseDeliveryreverse•Reverse
Delivery Delivery Lookup a reverse delivery by ID.
- •ID!required
The ID of the ReverseDelivery to return.
Arguments
- •ID!
- Anchor to reverseFulfillmentOrderreverse•Reverse
Fulfillment Order Fulfillment Order Lookup a reverse fulfillment order by ID.
- •ID!required
The ID of the reverse fulfillment order to return.
Arguments
- •ID!
- Anchor to scriptTagscript•Script
Tag Tag - Theme app extensions
If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.
Script tag deprecationScript tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.
Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to scriptTagsscript•Script
Tags Tag Connection! non-null - Theme app extensions
If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.
Script tag deprecationScript tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.
A list of script tags.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- •URL
The source URL of the script tag to filter by.
Arguments
- Anchor to segmentsegment•Segment
Retrieves a customer
Segmentby ID. Segments are dynamic groups of customers that meet specific criteria defined through ShopifyQL queries.Use segments for targeted marketing campaigns, analyzing customer behavior, or creating personalized experiences. Each segment includes its name, creation date, and the query that defines which
Customerobjects belong to it.- •ID!required
Find a segment by ID.
Arguments
- •ID!
- Anchor to segmentFilterssegment•Segment
Filters Filter Connection! non-null A list of filters.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
Arguments
- Anchor to segmentFilterSuggestionssegment•Segment
Filter Suggestions Filter Connection! non-null A list of filter suggestions associated with a segment. A segment is a group of members (commonly customers) that meet specific criteria.
- Anchor to searchsearch•String!required
Returns the elements of a list by keyword or term.
- Anchor to firstfirst•Int!required
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
Arguments
- Anchor to segmentMigrationssegment•Segment
Migrations Migration Connection! non-null A list of a shop's segment migrations.
- Anchor to savedSearchIdsaved•ID
Search Id Search a segment migration by its saved search ID.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
Arguments
- Anchor to segmentssegments•Segment
Connection! non-null Returns a paginated list of
Segmentobjects for the shop. Segments are dynamic groups of customers that meet specific criteria defined through ShopifyQL queries. You can filter segments by search query and sort them by creation date or other criteria.The query supports standard pagination arguments and returns a
containing segment details including names, creation dates, and the query definitions that determine segment membership.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Segment
Key Sort Keys Default:CREATION_DATE Sort the underlying list by the given key.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to segmentsCountsegments•Count
Count The number of segments for a shop. Limited to a maximum of 10000 by default.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to segmentValueSuggestionssegment•Segment
Value Suggestions Value Connection! non-null The list of suggested values corresponding to a particular filter for a segment. A segment is a group of members, such as customers, that meet specific criteria.
- Anchor to searchsearch•String!required
Returns the elements of a list by keyword or term.
- Anchor to filterQueryNamefilter•String
Query Name Returns the elements of a list by filter handle.
- Anchor to functionParameterQueryNamefunction•String
Parameter Query Name Returns the elements of a list by filter parameter name.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
Arguments
- Anchor to sellingPlanGroupselling•Selling
Plan Group Plan Group Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to sellingPlanGroupsselling•Selling
Plan Groups Plan Group Connection! non-null Retrieves a paginated list of
objects that belong to the app making the API call. Selling plan groups are selling methods like subscriptions, preorders, or other purchase options that merchants offer to customers.Each group has one or more
objects that define specific billing and delivery schedules, pricing adjustments, and policies. Use thequeryargument to search by name or filter results by other criteria.Learn more about building selling plans.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Selling
Key Plan Group Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to app_id•id
CURRENTDefaultALL* (numeric app ID)- Anchor to category•string
A comma-separated list of categories.
SUBSCRIPTIONPRE_ORDERTRY_BEFORE_YOU_BUYOTHER- Anchor to created_at•time
- Anchor to delivery_frequency•string
- Anchor to name•string
- Anchor to percentage_off•float
Example:
Valid values:
Valid values:
Arguments
- Anchor to serverPixelserver•Server
Pixel Pixel The server pixel configured by the app.
- Anchor to shopshop•Shop!non-null
Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains business and store management settings for the shop.
- Anchor to shopBillingPreferencesshop•Shop
Billing Preferences Billing Preferences! non-null The shop's billing preferences, including the currency for paying for apps and services. Use this to create app charges in the merchant's local billing currency, helping them budget their app spend without exposure to exchange rate fluctuations.
- Anchor to shopifyFunctionshopify•Shopify
Function Function Returns a Shopify Function by its ID. Functions enable you to customize Shopify's backend logic at defined parts of the commerce loop.
- •String!required
The ID of the Shopify Function.
Arguments
- •String!
- Anchor to shopifyFunctionsshopify•Shopify
Functions Function Connection! non-null Returns Shopify Functions owned by the querying API client installed on the shop. Functions enable you to customize Shopify's backend logic at specific points in the commerce loop, such as discounts, checkout validation, and fulfillment.
You can filter the results by API type to find specific function implementations, or by whether they provide a merchant configuration interface in the Shopify Admin.
The response includes details about each function's configuration, including its title, description, API version, and the input query used to provide data to the function logic.
Learn more about building functions.
- Anchor to apiTypeapi•String
Type Filter the functions by the API type.
- Anchor to useCreationUiuse•Boolean
Creation Ui Filter the functions by whether or not the function uses the creation UI in the Admin.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to shopifyPaymentsAccountshopify•Shopify
Payments Account Payments Account Returns the Shopify Payments account information for the shop. Includes current balances across all currencies, payout schedules, and bank account configurations.
The account includes
records showing charges, refunds, and adjustments that affect your balance. Also includesrecords andhistory between the account and connectedconfigurations.- Anchor to shopifyqlQueryshopifyql•Shopifyql
Query Query Response Executes a ShopifyQL query to analyze store data and returns results in a tabular format.
The response includes column metadata with names, data types, and display names, along with the actual data rows. If the query contains syntax errors, then the response provides parse error messages instead of table data.
Read the ShopifyQL reference documentation for more information on how to write ShopifyQL queries.
- Anchor to queryquery•String!required
A ShopifyQL query string following the ShopifyQL syntax. Queries must include
to specify the data source (such assales,orders, orcustomers) andto select metrics and dimensions. Example:.
Arguments
- Anchor to shopLocalesshop•[Shop
Locales Locale!]! non-null Returns the locales enabled on a shop. Each locale represents a language for translations and determines how content displays to customers in different markets.
Use the optional
publishedargument to filter for only the locales that are visible to customers. The response includes the ISO locale code, whether it's the shop's primary locale, and whichobjects use each locale.- Anchor to publishedpublished•BooleanDefault:false
Return only published locales.
Arguments
- Anchor to shopPayPaymentRequestReceiptshop•Shop
Pay Payment Request Receipt Pay Payment Request Receipt Returns a Shop Pay payment request receipt.
- Anchor to tokentoken•String!required
Unique identifier of the payment request receipt.
Arguments
- Anchor to shopPayPaymentRequestReceiptsshop•Shop
Pay Payment Request Receipts Pay Payment Request Receipt Connection Returns a list of Shop Pay payment request receipts.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Shop
Key Pay Payment Request Receipts Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to created_at•time
Filter by the creation date of the payment request receipt.
created_at:2021-01-01created_at:2021-01-01..2021-01-02created_at:<nowcreated_at:<2024-01-01- Anchor to source_identifier•string
Filter by the source identifier of the payment request receipt.
source_identifier:1282823- Anchor to state•string
Filter by the state of the payment request receipt. Options include: - COMPLETED - FAILED - PENDING - PROCESSING
state:COMPLETED
Example:
Example:
Example:
Arguments
- Anchor to staffMemberstaff•Staff
Member Member Retrieves a staff member by ID. If no ID is provided, the query returns the staff member that's making the request. A staff member is a user who can access the Shopify admin to manage store operations.
Provides staff member details such as email, name, and shop owner status. When querying the current user (with or without an ID), additional private data becomes available.
- •ID
The ID of the staff member to return. If no ID is provided, then the staff member making the query (if any) is returned.
Arguments
- Anchor to staffMembersstaff•Staff
Members Member Connection Returns a paginated list of
objects for the shop. Staff members are users who can access the Shopify admin to manage store operations.Supports filtering by account type, email, and name, with an option to sort results. The query returns a
for cursor-based pagination.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Staff
Key Members Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to standardMetafieldDefinitionTemplatesstandard•Standard
Metafield Definition Templates Metafield Definition Template Connection! non-null Retrieves preset metafield definition templates for common use cases. Each template provides a reserved namespace and key combination for specific purposes like product subtitles, care guides, or ISBN numbers. Use these templates to create standardized metafields across your store. Filter templates by constraint status or exclude those you've already activated.
See the list of standard metafield definitions for available templates.
- Anchor to constraintSubtypeconstraint•Metafield
Subtype Definition Constraint Subtype Identifier Filter standard metafield definitions based on whether they apply to a given resource subtype.
- Anchor to constraintStatusconstraint•Metafield
Status Definition Constraint Status Filter standard metafield definitions based on whether they are constrained.
- Anchor to excludeActivatedexclude•Boolean
Activated Default:false Filter standard metafield definitions that have already been activated.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to storeCreditAccountstore•Store
Credit Account Credit Account Retrieves a
by ID. Store credit accounts hold monetary balances that account owners can use at checkout. The owner is either aCustomeror a.- •ID!required
The ID of the store credit account to return.
Arguments
- •ID!
- Anchor to subscriptionBillingAttemptsubscription•Subscription
Billing Attempt Billing Attempt Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to subscriptionBillingAttemptssubscription•Subscription
Billing Attempts Billing Attempt Connection! non-null Returns subscription billing attempts on a store.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Subscription
Key Billing Attempts Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to subscriptionBillingCyclesubscription•Subscription
Billing Cycle Billing Cycle Returns a subscription billing cycle found either by cycle index or date.
- Anchor to billingCycleInputbilling•Subscription
Cycle Input Billing Cycle Input! required Input object used to select and use billing cycles.
Arguments
- Anchor to subscriptionBillingCycleBulkResultssubscription•Subscription
Billing Cycle Bulk Results Billing Cycle Connection! non-null Retrieves the results of the asynchronous job for the subscription billing cycle bulk action based on the specified job ID. This query can be used to obtain the billing cycles that match the criteria defined in the subscriptionBillingCycleBulkSearch and subscriptionBillingCycleBulkCharge mutations.
- Anchor to jobIdjob•ID!
Id required The ID of the billing cycle bulk operation job.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to subscriptionBillingCyclessubscription•Subscription
Billing Cycles Billing Cycle Connection! non-null Returns subscription billing cycles for a contract ID.
- Anchor to contractIdcontract•ID!
Id required The ID of the subscription contract to retrieve billing cycles for.
- Anchor to billingCyclesDateRangeSelectorbilling•Subscription
Cycles Date Range Selector Billing Cycles Date Range Selector Select subscription billing cycles within a date range.
- Anchor to billingCyclesIndexRangeSelectorbilling•Subscription
Cycles Index Range Selector Billing Cycles Index Range Selector Select subscription billing cycles within an index range.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Subscription
Key Billing Cycles Sort Keys Default:CYCLE_INDEX 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.
Arguments
- Anchor to subscriptionContractsubscription•Subscription
Contract Contract The contract tracks the subscription's lifecycle through various statuses, and links to related billing attempts, generated
Orderobjects, and the customer's.- •ID!required
The ID of the Subscription Contract to return.
Arguments
- •ID!
- Anchor to subscriptionContractssubscription•Subscription
Contracts Contract Connection! non-null Returns a
containing subscription contracts. Subscription contracts are agreements between customers and merchants for recurring purchases with defined billing and delivery schedules.Filter results with the
queryargument. You can paginate results using standard cursor-based pagination.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Subscription
Key Contracts Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to subscriptionDraftsubscription•Subscription
Draft Draft Returns a Subscription Draft resource by ID.
- •ID!required
The ID of the Subscription Draft to return.
Arguments
- •ID!
- Anchor to subscriptionGatewaysubscription•Subscription
Gateway Gateway Gateway used for subscription charges.
- Anchor to subscriptionMigrationGatewayssubscription•[Subscription
Migration Gateways Migration Gateway!]! non-null The list of payment gateways that can be used for subscription contract migrations.
- Anchor to taxonomytaxonomy•Taxonomy
Access to Shopify's standardized product taxonomy for categorizing products. The
Taxonomyorganizes products into a hierarchical tree structure with categories, attributes, and values.Query categories using search terms, or navigate the hierarchy by requesting children, siblings, or descendants of specific categories. Each
includes its position in the tree, parent-child relationships, and associated attributes for that product category.- Anchor to tenderTransactionstender•Tender
Transactions Transaction Connection! non-null Transactions representing a movement of money between customers and the shop. Each transaction records the amount, payment method, processing details, and the associated
Order.Positive amounts indicate customer payments to the merchant. Negative amounts represent refunds from the merchant to the customer. Use the
queryparameter to filter transactions by attributes such as transaction ID, processing date, and point-of-sale device ID.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to themetheme•Online
Store Theme Returns an
by its ID. Use this query to retrieve theme metadata and access the theme'sfiles, which include templates, assets, translations, and configuration files.- •ID!required
The ID of the theme.
Arguments
- •ID!
- Anchor to themesthemes•Online
Store Theme Connection Returns a paginated list of
objects for the online store. Themes control the appearance and layout of the storefront.You can filter themes by
roleto find specific theme types, such asfor the published theme andfor draft themes.- Anchor to rolesroles•[Theme
Role!] The theme roles to filter by.
- Anchor to namesnames•[String!]
The theme names to filter by. Use '*' to match zero or more characters.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to translatableResourcetranslatable•Translatable
Resource Resource Retrieves a resource that has translatable fields. Returns the resource's
Translationobjects for different locales and markets, along with the originaland digest values needed to register new translations. Provides access to existing translations, translatable content with digest hashes for translation registration, and nested translatable resources likeobjects orMetafieldobjects.Learn more about managing translated content.
- Anchor to resourceIdresource•ID!
Id required Find a translatable resource by ID.
Arguments
- Anchor to translatableResourcestranslatable•Translatable
Resources Resource Connection! non-null Returns a paginated list of
objects for a specific resource type. Each resource provides translatable content and digest values needed for themutation.Learn more about managing translated content.
Learn more about managing translated content.
- Anchor to resourceTyperesource•Translatable
Type Resource Type! required Return only resources of a type.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to translatableResourcesByIdstranslatable•Translatable
Resources By Ids Resource Connection! non-null Returns a paginated list of
objects for the specified resource IDs. Each resource provides translatable content and digest values needed for themutation.Learn more about managing translated content.
- Anchor to resourceIdsresource•[ID!]!
Ids required Return only resources for given IDs.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to urlRedirecturl•Url
Redirect Redirect Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to urlRedirectImporturl•Url
Redirect Import Redirect Import Returns a
resource by ID.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to urlRedirectsurl•Url
Redirects Redirect Connection! non-null A list of redirects for a shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Url
Key Redirect Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to urlRedirectSavedSearchesurl•Saved
Redirect Saved Searches Search Connection! non-null A list of the shop's URL redirect saved searches.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to urlRedirectsCounturl•Count
Redirects Count Count of redirects. Limited to a maximum of 10000 by default.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to savedSearchIdsaved•ID
Search Id - Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to validationvalidation•Validation
Validation available on the shop.
- •ID!required
The ID of the validation.
Arguments
- •ID!
- Anchor to validationsvalidations•Validation
Connection! non-null Validations available on the shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Validation
Key Sort Keys Default:ID 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.
Arguments
- Anchor to webhookSubscriptionwebhook•Webhook
Subscription Subscription Returns a webhook subscription by ID.
Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your
shopify.app.tomlmay be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read About managing webhook subscriptions.- •ID!required
The ID of the
to return.
Arguments
- •ID!
- Anchor to webhookSubscriptionswebhook•Webhook
Subscriptions Subscription Connection! non-null Retrieves a paginated list of webhook subscriptions created using the API for the current app and shop.
NoteReturns only shop-scoped subscriptions, not app-scoped subscriptions configured in TOML files.
Subscription details include event topics, endpoint URIs, filtering rules, field inclusion settings, and metafield namespace permissions. Results support cursor-based pagination that you can filter by topic, format, or custom search criteria.
Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your
shopify.app.tomlmay be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read About managing webhook subscriptions.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Webhook
Key Subscription Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to callbackUrlcallback•URL
Url Deprecated - •String
URI to filter by. Supports an HTTPS URL, a Google Pub/Sub URI (pubsub://{project-id}:{topic-id}) or an Amazon EventBridge event source ARN.
- Anchor to formatformat•Webhook
Subscription Format Response format to filter by.
- Anchor to topicstopics•[Webhook
Subscription Topic!] List of webhook subscription topics to filter by.
Arguments
- Anchor to webhookSubscriptionsCountwebhook•Count
Subscriptions Count The count of webhook subscriptions.
Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your
shopify.app.tomlmay be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read About managing webhook subscriptions. Limited to a maximum of 10000 by default.- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.
Arguments
- Anchor to webPixelweb•Web
Pixel Pixel Returns a web pixel by ID.
- •ID
The ID of the
object to return.
Arguments
- Anchor to webPresencesweb•Market
Presences Web Presence Connection The web presences for the shop.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Deprecated fields
- Anchor to automaticDiscountautomatic•Discount
Discount Automatic Deprecated - Anchor to automaticDiscountNodesautomatic•Discount
Discount Nodes Automatic Node Connection! non-nullDeprecated - Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Automatic
Key Discount Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to status•string
Filter by the discount status.
activeexpiredscheduledstatus:scheduled- Anchor to type•string
Filter by the discount type.
allall_with_appappbxgyfixed_amountpercentagetype:bxgy
Example:
Valid values:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to automaticDiscountsautomatic•Discount
Discounts Automatic Connection! non-nullDeprecated - Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Automatic
Key Discount Sort Keys Default:CREATED_AT 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to status•string
Filter by the discount status.
activeexpiredscheduledstatus:scheduled- Anchor to type•string
Filter by the discount type.
allall_with_appappbxgyfixed_amountpercentagetype:bxgy
Example:
Valid values:
Example:
Valid values:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to codeDiscountNodescode•Discount
Discount Nodes Code Node Connection! non-nullDeprecated - Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Code
Key Discount Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Normanquery=title:green hoodie- Anchor to combines_with•string
Filter by the discount classes that you can use in combination with Shopify discount types.
order_discountsproduct_discountsshipping_discountscombines_with:product_discounts- Anchor to created_at•time
Filter by the date and time when the discount was created.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'- Anchor to discount_type•string
Filter by the discount type.
bogofixed_amountfree_shippingpercentagediscount_type:fixed_amount- Anchor to ends_at•time
Filter by the date and time when the discount expires and is no longer available for customer use.
ends_at:>'2020-10-21T23:39:20Z'ends_at:<nowends_at:<='2024'- Anchor to starts_at•time
Filter by the date and time, in the shop's timezone, when the discount becomes active and is available for customer use.
starts_at:>'2020-10-21T23:39:20Z'starts_at:<nowstarts_at:<='2024'- Anchor to status•string
Filter by the status of the discount.
activeexpiredscheduledstatus:scheduled- Anchor to times_used•integer
Filter by the number of times the discount has been used. For example, if a "Buy 3, Get 1 Free" t-shirt discount is automatically applied in 200 transactions, then the discount has been used 200 times.
This value is updated asynchronously. As a result, it might be different than the actual usage count.times_used:0times_used:>150times_used:>=200- Anchor to title•string
Filter by the discount name that displays to customers.
title:Black Friday Sale- Anchor to type•string
Filter by the discount type.
allall_with_appappbxgyfixed_amountfree_shippingpercentagetype:percentage- Anchor to updated_at•time
Filter by the date and time when the discount was last updated.
updated_at:>'2020-10-21T23:39:20Z'updated_at:<nowupdated_at:<='2024'
Example:
Valid values:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
Example:
Valid values:
Example:
Example:
- Anchor to savedSearchIdsaved•ID
Search Id The ID of a saved search. The search’s query string is used as the query argument.
Arguments
- Anchor to collectionByHandlecollection•Collection
By Handle Deprecated - Anchor to handlehandle•String!required
The handle of the collection.
Arguments
- Anchor to currentBulkOperationcurrent•Bulk
Bulk Operation Operation Deprecated - Anchor to typetype•Bulk
Operation Type Default:QUERY The current bulk operation's type.
Arguments
- Anchor to deletionEventsdeletion•Deletion
Events Event Connection! non-nullDeprecated - Anchor to subjectTypessubject•[Deletion
Types Event Subject Type!] List of subject types to filter by.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Deletion
Key Event Sort Keys Default:ID 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.
- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Arguments
- Anchor to locationsAvailableForDeliveryProfileslocations•[Location!]
Available For Delivery Profiles Deprecated - Anchor to marketByGeographymarket•Market
By Geography Deprecated - Anchor to countryCodecountry•Country
Code Code! required The code for the country where the customer is.
Arguments
- Anchor to primaryMarketprimary•Market!
Market non-nullDeprecated - Anchor to productByHandleproduct•Product
By Handle Deprecated - Anchor to handlehandle•String!required
A unique string that identifies the product. Handles are automatically generated based on the product's title, and are always lowercase. Whitespace and special characters are replaced with a hyphen:
-. If there are multiple consecutive whitespace or special characters, then they're replaced with a single hyphen. Whitespace or special characters at the beginning are removed. If a duplicate product title is used, then the handle is auto-incremented by one. For example, if you had two products calledPotion, then their handles would bepotionandpotion-1. After a product has been created, changing the product title doesn't update the handle.
Arguments
- Anchor to productTaxonomyNodesproduct•Product
Taxonomy Nodes Taxonomy Node Connection! non-nullDeprecated - Anchor to searchsearch•String
Searches the product taxonomy for matching nodes.
- Anchor to childrenOfchildren•ID
Of The ID of the node associated with the child nodes to return.
- Anchor to siblingsOfsiblings•ID
Of The ID of the node associated with the sibling nodes to return.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
Arguments