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 List of abandoned checkouts. Includes checkouts that were recovered after being abandoned.
- 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 abandonmentabandonment•Abandonment
Returns an abandonment by ID.
- Anchor to abandonmentByAbandonedCheckoutIdabandonment•Abandonment
By Abandoned Checkout Id Returns an Abandonment by the Abandoned Checkout ID.
- •App
Lookup an App by ID or return the currently authenticated App.
- Anchor to appByHandleapp•App
By Handle Fetches app by handle. Returns null if the app doesn't exist.
- Anchor to appByKeyapp•App
By Key Fetches an app by its client ID. Returns null if the app doesn't exist.
- Anchor to appDiscountTypeapp•App
Discount Type Discount Type An app discount type.
- Anchor to appDiscountTypesapp•[App
Discount Types Discount Type!]! non-null A list of app discount types installed by apps.
- Anchor to appInstallationapp•App
Installation Installation Lookup an AppInstallation by ID or return the AppInstallation for the currently authenticated App.
- Anchor to appInstallationsapp•App
Installations Installation Connection! non-null A list of app installations. To use this query, you need to contact Shopify Support to grant your custom app the
access scope. Public apps can't be granted this access scope.
- Anchor to articlearticle•Article
Returns an Article resource by ID.
- Anchor to articlesarticles•Article
Connection! non-null List of the shop's articles.
- 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 the
argument to receive only fulfillment orders that have been requested to be fulfilled.
- Anchor to automaticDiscountNodeautomatic•Discount
Discount Node Automatic Node Returns a
resource by ID.
- Anchor to automaticDiscountNodesautomatic•Discount
Discount Nodes Automatic Node Connection! non-null Returns a list of automatic discounts.
- Anchor to automaticDiscountSavedSearchesautomatic•Saved
Discount Saved Searches Search Connection! non-null List of the shop's automatic discount saved searches.
- 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 availableLocalesavailable•[Locale!]!
Locales non-null A list of available locales.
- Anchor to blogblog•Blog
Returns a Blog resource by ID.
- Anchor to blogsblogs•Blog
Connection! non-null List of the shop's blogs.
- Anchor to blogsCountblogs•Count
Count Count of blogs.
- Anchor to businessEntitiesbusiness•[Business
Entities Entity!]! non-null Returns a list of Business Entities associated with the shop.
- Anchor to businessEntitybusiness•Business
Entity Entity Returns a Business Entity by ID.
- Anchor to carrierServicecarrier•Delivery
Service Carrier Service Returns a
resource by ID.
- Anchor to carrierServicescarrier•Delivery
Services Carrier Service Connection! non-null Retrieve a list of CarrierServices.
- 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 cashTrackingSessioncash•Cash
Tracking Session Tracking Session Returns a
resource by 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 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
catalog
query 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.
- Anchor to catalogOperationscatalog•[Resource
Operations Operation!]! non-null Returns the most recent catalog operations for the shop.
- Anchor to catalogscatalogs•Catalog
Connection! non-null The catalogs belonging to the shop.
- Anchor to catalogsCountcatalogs•Count
Count The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default.
- Anchor to checkoutBrandingcheckout•Checkout
Branding Branding Returns the visual customizations for checkout for a given checkout profile.
To learn more about updating checkout branding settings, refer to the checkoutBrandingUpsert mutation and the checkout branding tutorial.
- Anchor to checkoutProfilecheckout•Checkout
Profile Profile A checkout profile on a shop.
- Anchor to checkoutProfilescheckout•Checkout
Profiles Profile Connection! non-null List of checkout profiles on a shop.
- Anchor to codeDiscountNodecode•Discount
Discount Node Code Node Returns a code discount resource by ID.
- Anchor to codeDiscountNodeByCodecode•Discount
Discount Node By Code Code Node Returns a code discount identified by its discount code.
- Anchor to codeDiscountNodescode•Discount
Discount Nodes Code Node Connection! non-null Returns a list of code-based discounts.
- Anchor to codeDiscountSavedSearchescode•Saved
Discount Saved Searches Search Connection! non-null List of the shop's code discount saved searches.
- 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
collection
query 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.
- 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
collections
query 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
collections
query supports pagination for large catalogs and saved searches for frequently used collection queries.The
collections
query 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 collectionSavedSearchescollection•Saved
Saved Searches Search Connection! non-null Returns a list of the shop's collection saved searches.
- Anchor to collectionsCountcollections•Count
Count Count of collections. Limited to a maximum of 10000 by default.
- Anchor to commentcomment•Comment
Returns a Comment resource by ID.
- Anchor to commentscomments•Comment
Connection! non-null List of the shop's comments.
- Anchor to companiescompanies•Company
Connection! non-null Returns the list of companies in the shop.
- Anchor to companiesCountcompanies•Count
Count The number of companies for a shop.
- Anchor to companycompany•Company
Returns a
Company
resource by ID.- Anchor to companyContactcompany•Company
Contact Contact Returns a
resource by ID.
- Anchor to companyContactRolecompany•Company
Contact Role Contact Role Returns a
resource by ID.
- Anchor to companyLocationcompany•Company
Location Location Returns a
resource by ID.
- Anchor to companyLocationscompany•Company
Locations Location Connection! non-null Returns the list of company locations in the shop.
- Anchor to currentAppInstallationcurrent•App
App Installation Installation! non-null Return the AppInstallation for the currently authenticated App.
- Anchor to currentBulkOperationcurrent•Bulk
Bulk Operation Operation Returns the current app's most recent BulkOperation. Apps can run one bulk query and one bulk mutation operation at a time, by shop.
- Anchor to currentStaffMembercurrent•Staff
Staff Member Member The staff member making the API request.
- Anchor to customercustomer•Customer
Returns a
Customer
resource by ID.- Anchor to customerAccountPagecustomer•Customer
Account Page Account Page Returns a customer account page.
- Anchor to customerAccountPagescustomer•Customer
Account Pages Account Page Connection List of the shop's customer account pages.
- Anchor to customerByIdentifiercustomer•Customer
By Identifier Return a customer by an identifier.
- Anchor to customerMergeJobStatuscustomer•Customer
Merge Job Status Merge Request Returns the status of a customer merge request job.
- Anchor to customerMergePreviewcustomer•Customer
Merge Preview Merge Preview! non-null Returns a preview of a customer merge request.
- Anchor to customerPaymentMethodcustomer•Customer
Payment Method Payment Method Returns a CustomerPaymentMethod resource by its 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
customers
query supports pagination and sorting.- Anchor to customerSavedSearchescustomer•Saved
Saved Searches Search Connection! non-null List of the shop's customer saved searches.
- Anchor to customersCountcustomers•Count
Count The number of customers.
- Anchor to customerSegmentMemberscustomer•Customer
Segment Members Segment Member Connection! non-null The list of members, such as customers, that's associated with an individual segment. The maximum page size is 1000.
- Anchor to customerSegmentMembershipcustomer•Segment
Segment Membership Membership Response! non-null Whether a member, which is a customer, belongs to a segment.
- Anchor to customerSegmentMembersQuerycustomer•Customer
Segment Members Query Segment Members Query Returns a
resource by ID.
- Anchor to deliveryCustomizationdelivery•Delivery
Customization Customization The delivery customization.
- Anchor to deliveryCustomizationsdelivery•Delivery
Customizations Customization Connection! non-null The delivery customizations.
- Anchor to deliveryProfiledelivery•Delivery
Profile Profile Returns a Delivery Profile resource by ID.
- Anchor to deliveryProfilesdelivery•Delivery
Profiles Profile Connection! non-null Returns a list of saved delivery profiles.
- Anchor to deliveryPromiseParticipantsdelivery•Delivery
Promise Participants Promise Participant Connection Returns delivery promise participants.
- Anchor to deliveryPromiseProviderdelivery•Delivery
Promise Provider Promise Provider Lookup a delivery promise provider.
- Anchor to deliveryPromiseSettingsdelivery•Delivery
Promise Settings Promise Setting! non-null Represents the delivery promise settings for a shop.
- 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.
- Anchor to discountNodediscount•Discount
Node Node Returns a discount resource by ID.
- Anchor to discountNodesdiscount•Discount
Nodes Node Connection! non-null Returns a list of discounts.
- Anchor to discountNodesCountdiscount•Count
Nodes Count The total number of discounts for the shop. Limited to a maximum of 10000 by default.
- Anchor to discountRedeemCodeBulkCreationdiscount•Discount
Redeem Code Bulk Creation Redeem Code Bulk Creation Returns a
resource by 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 disputedispute•Shopify
Payments Dispute Returns a
resource by ID.
- Anchor to disputeEvidencedispute•Shopify
Evidence Payments Dispute Evidence Returns a
resource by ID.
- Anchor to disputesdisputes•Shopify
Payments Dispute Connection! non-null All disputes related to the Shop.
- Anchor to domaindomain•Domain
Returns a
Domain
resource by 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.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null List of saved draft orders.
- Anchor to draftOrderSavedSearchesdraft•Saved
Order Saved Searches Search Connection! non-null List of the shop's draft order saved searches.
- Anchor to draftOrderTagdraft•Draft
Order Tag Order Tag Returns a
resource by ID.
- Anchor to eventevent•Event
Get a single event by its id.
- Anchor to eventsevents•Event
Connection The paginated list of events associated with the store.
- Anchor to eventsCountevents•Count
Count Count of events. Limited to a maximum of 10000.
- 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
files
query 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 fileSavedSearchesfile•Saved
Saved Searches Search Connection! non-null A list of the shop's file saved searches.
- Anchor to fulfillmentfulfillment•Fulfillment
Returns a Fulfillment resource by 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.
- 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 fulfillmentServicefulfillment•Fulfillment
Service Service Returns a FulfillmentService resource by ID.
- Anchor to giftCardgift•Gift
Card Card Returns a gift card resource by ID.
- Anchor to giftCardsgift•Gift
Cards Card Connection! non-null Returns a list of gift cards.
- 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 inventoryIteminventory•Inventory
Item Item Returns an InventoryItem object by ID.
- Anchor to inventoryItemsinventory•Inventory
Items Item Connection! non-null Returns a list of inventory items.
- Anchor to inventoryLevelinventory•Inventory
Level Level Returns an InventoryLevel object by ID.
- Anchor to inventoryPropertiesinventory•Inventory
Properties Properties! non-null General inventory properties for the shop.
- •Job
Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.
- Anchor to locationlocation•Location
Returns an inventory Location resource by ID.
- Anchor to locationslocations•Location
Connection! non-null Returns a list of active inventory locations.
- 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 locationsCountlocations•Count
Count Returns the count of locations for the given shop. Limited to a maximum of 10000 by default.
- Anchor to manualHoldsFulfillmentOrdersmanual•Fulfillment
Holds Fulfillment Orders Order Connection! non-null Returns a list of fulfillment orders that are on hold.
- Anchor to marketmarket•Market
Returns a
Market
resource by ID.- Anchor to marketByGeographymarket•Market
By Geography Returns the applicable market for a customer based on where they are in the world.
- Anchor to marketingActivitiesmarketing•Marketing
Activities Activity Connection! non-null A list of marketing activities associated with the marketing app.
- Anchor to marketingActivitymarketing•Marketing
Activity Activity Returns a
resource by ID.
- Anchor to marketingEventmarketing
Event