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 Fields and connectionsFields and connections
- 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.
- 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!]!non-null
Tags List of all article tags.
- 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 an automatic discount 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!]!non-null
Locales 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
object 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 List of Cart transform objects owned by the current API client.
- Anchor to cashTrackingSessioncash•Cash
Tracking Session Tracking Session Lookup a cash tracking session 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
Returns a Catalog resource by ID.
- 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.
- 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
Returns a Collection resource by ID.
- 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 Returns a list of 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.
- 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
object by ID.- Anchor to companyContactcompany•Company
Contact Contact Returns a
object by ID.
- Anchor to companyContactRolecompany•Company
Contact Role Contact Role Returns a
object by ID.
- Anchor to companyLocationcompany•Company
Location Location Returns a
object 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 segment members query 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.
- Anchor to discountRedeemCodeBulkCreationdiscount•Discount
Redeem Code Bulk Creation Redeem Code Bulk Creation Returns a bulk code creation 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 dispute details based on ID.
- Anchor to disputeEvidencedispute•Shopify
Evidence Payments Dispute Evidence Returns dispute evidence details based on ID.
- Anchor to disputesdisputes•Shopify
Payments Dispute Connection!non-null All disputes related to the Shop.
- Anchor to domaindomain•Domain
Lookup a Domain by ID.
- Anchor to draftOrderdraft•Draft
Order Order Returns a DraftOrder resource by ID.
- 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 DraftOrderTag 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 Returns a paginated list of files that have been uploaded to Shopify.
- 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 Fulfillment order 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.
- 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.
- 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 MarketingActivity resource by ID.
- Anchor to marketingEventmarketing•Marketing
Event Event Returns a MarketingEvent resource by ID.
- Anchor to marketingEventsmarketing•Marketing
Events Event Connection!non-null A list of marketing events associated with the marketing app.
- Anchor to marketLocalizableResourcemarket•Market
Localizable Resource Localizable Resource A resource that can have localized values for different markets.
- Anchor to marketLocalizableResourcesmarket•Market
Localizable Resources Localizable Resource Connection!non-null Resources that can have localized values for different markets.
- Anchor to marketLocalizableResourcesByIdsmarket•Market
Localizable Resources By Ids Localizable Resource Connection!non-null Resources that can have localized values for different markets.
- Anchor to marketsmarkets•Market
Connection!non-null The markets configured for the shop.
- •Menu
Returns a Menu resource by ID.
- •Menu
Connection!non-null The shop's menus.
- Anchor to metafieldDefinitionmetafield
Definition