123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502 |
- # Represents a collection of the general settings and information about the shop.
- type Shop implements HasMetafields&HasPublishedTranslations&Node{
- # A list of the shop's active alert messages that appear in the Shopify admin.
- alerts: [ShopAlert!]!
- # A list of the shop's product categories. Limit: 1000 product categories.
- allProductCategories: [ProductCategory!]!
- # The paginated list of fulfillment orders assigned to fulfillment services.
- assignedFulfillmentOrders(
- after: String
- assignmentStatus: FulfillmentOrderAssignmentStatus
- before: String
- first: Int
- last: Int
- locationIds: [ID!]
- reverse: Boolean = false
- sortKey: FulfillmentOrderSortKeys = ID
- ): FulfillmentOrderConnection!
- # The list of sales channels not currently installed on the shop.
- availableChannelApps(
- after: String
- before: String
- first: Int
- last: Int
- reverse: Boolean = false
- ): AppConnection!
- # The shop's billing address information.
- billingAddress: MailingAddress!
- # List of all channel definitions associated with a shop.
- channelDefinitionsForInstalledChannels: [AvailableChannelDefinitionsByChannel!]!
- # Specifies whether the shop supports checkouts via Checkout API.
- checkoutApiSupported: Boolean!
- # The public-facing contact email address for the shop.
- # Customers will use this email to communicate with the shop owner.
- contactEmail: String!
- # Countries that have been defined in shipping zones for the shop.
- countriesInShippingZones: CountriesInShippingZones!
- # The three letter code for the currency that the shop sells in.
- currencyCode: CurrencyCode!
- # How currencies are displayed on your store.
- currencyFormats: CurrencyFormats!
- # The presentment currency settings for the shop excluding the shop's own currency.
- currencySettings(
- after: String
- before: String
- first: Int
- last: Int
- reverse: Boolean = false
- ): CurrencySettingConnection!
- # Whether customer accounts are required, optional, or disabled for the shop.
- customerAccounts: ShopCustomerAccountsSetting!
- # A list of tags that have been added to customer accounts.
- customerTags(first: Int!): StringConnection!
- # The shop's meta description used in search engine results.
- description: String
- # A list of tags that have been added to draft orders.
- draftOrderTags(first: Int!): StringConnection!
- # The shop owner's email address.
- # Shopify will use this email address to communicate with the shop owner.
- email: String!
- # The presentment currencies enabled for the shop.
- enabledPresentmentCurrencies: [CurrencyCode!]!
- # The set of features enabled for the shop.
- features: ShopFeatures!
- # List of the shop's installed fulfillment services.
- fulfillmentServices: [FulfillmentService!]!
- # The shop's time zone as defined by the IANA.
- ianaTimezone: String!
- # A globally-unique identifier.
- id: ID!
- # The number of pendings orders on the shop.
- # Limited to a maximum of 10000.
- limitedPendingOrderCount: LimitedPendingOrderCount!
- # The approval signals for a shop to support onboarding to channel apps.
- merchantApprovalSignals: MerchantApprovalSignals
- # Returns a metafield by namespace and key that belongs to the resource.
- metafield(key: String!namespace: String!): Metafield
- # List of metafields that belong to the resource.
- metafields(
- after: String
- before: String
- first: Int
- last: Int
- namespace: String
- reverse: Boolean = false
- ): MetafieldConnection!
- # The shop's .myshopify.com domain name.
- myshopifyDomain: String!
- # The shop's name.
- name: String!
- # The shop's settings related to navigation.
- navigationSettings: [NavigationItem!]!
- # The prefix that appears before order numbers.
- orderNumberFormatPrefix: String!
- # The suffix that appears after order numbers.
- orderNumberFormatSuffix: String!
- # A list of tags that have been added to orders.
- orderTags(first: Int!sort: ShopTagSort = ALPHABETICAL): StringConnection!
- # The shop's settings related to payments.
- paymentSettings: PaymentSettings!
- # The shop's billing plan.
- plan: ShopPlan!
- # The primary domain of the shop's online store.
- primaryDomain: Domain!
- # Returns a private metafield by namespace and key that belongs to the resource.
- privateMetafield(key: String!namespace: String!): PrivateMetafield
- # List of private metafields that belong to the resource.
- privateMetafields(
- after: String
- before: String
- first: Int
- last: Int
- namespace: String
- reverse: Boolean = false
- ): PrivateMetafieldConnection!
- # The list of all images of all products for the shop.
- productImages(
- after: String
- before: String
- first: Int
- last: Int
- reverse: Boolean = false
- sortKey: ProductImageSortKeys = CREATED_AT
- ): ImageConnection!
- # A list of tags that have been added to products.
- productTags(first: Int!): StringConnection!
- # The list of types added to products.
- productTypes(first: Int!): StringConnection!
- # The list of vendors added to products.
- productVendors(first: Int!): StringConnection!
- # The number of publications for the shop.
- publicationCount: Int!
- # The shop's limits for specific resources. For example, the maximum number ofvariants allowed per product, or the maximum number of locations allowed.
- resourceLimits: ShopResourceLimits!
- # The URL of the rich text editor that can be used for mobile devices.
- richTextEditorUrl: URL!
- # Fetches a list of admin search results by a specified query.
- search(
- after: String
- first: Int!
- query: String!
- types: [SearchResultType!]
- ): SearchResultConnection!
- # The list of search filter options for the shop. These can be used to filter productvisibility for the shop.
- searchFilters: SearchFilterOptions!
- # Whether the shop has outstanding setup steps.
- setupRequired: Boolean!
- # The list of countries that the shop ships to.
- shipsToCountries: [CountryCode!]!
- # The list of all legal policies associated with a shop.
- shopPolicies: [ShopPolicy!]!
- # The paginated list of the shop's staff members.
- staffMembers(
- after: String
- before: String
- first: Int
- last: Int
- reverse: Boolean = false
- ): StaffMemberConnection!
- # The storefront access token of a private application. These are scoped per-application.
- storefrontAccessTokens(
- after: String
- before: String
- first: Int
- last: Int
- reverse: Boolean = false
- ): StorefrontAccessTokenConnection!
- # Whether the shop charges taxes for shipping.
- taxShipping: Boolean!
- # Whether applicable taxes are included in the shop's product prices.
- taxesIncluded: Boolean!
- # The shop's time zone abbreviation.
- timezoneAbbreviation: String!
- # The shop's time zone offset.
- timezoneOffset: String!
- # The shop's time zone offset expressed as a number of minutes.
- timezoneOffsetMinutes: Int!
- # Whether transactional SMS sent by Shopify have been disabled for a shop.
- transactionalSmsDisabled: Boolean!
- # The translations associated with the resource.
- translations(locale: String!marketId: ID): [PublishedTranslation!]!
- # The shop's unit system for weights and measures.
- unitSystem: UnitSystem!
- # Fetches a list of images uploaded to the shop by their IDs.
- uploadedImagesByIds(imageIds: [ID!]!): [Image!]!
- # The URL of the shop's online store.
- url: URL!
- # The shop's primary unit of weight for products and shipping.
- weightUnit: WeightUnit!
- }
- # The list of all the countries from the combined shipping zones for the shop.
- type CountriesInShippingZones {
- # The list of all the countries from all the combined shipping zones.
- countryCodes: [CountryCode!]!
- # Whether 'Rest of World' has been defined in any of the shipping zones.
- includeRestOfWorld: Boolean!
- }
- # Currency formats configured for the merchant. These formats are available to use within Liquid.
- type CurrencyFormats {
- # Money without currency in HTML.
- moneyFormat: FormattedString!
- # Money without currency in emails.
- moneyInEmailsFormat: String!
- # Money with currency in HTML.
- moneyWithCurrencyFormat: FormattedString!
- # Money with currency in emails.
- moneyWithCurrencyInEmailsFormat: String!
- }
- # Represents the feature set available to the shop.
- # Most fields specify whether a feature is enabled for a shop, and some fields return information
- # related to specific features.
- type ShopFeatures {
- # Whether a shop has access to Avalara AvaTax.
- avalaraAvatax: Boolean!
- # The branding of the shop, which influences its look and feel in the Shopify admin.
- branding: ShopBranding!
- # Whether a shop's online store can have CAPTCHA protection.
- captcha: Boolean!
- # Whether a shop's online store can have CAPTCHA protection for domains not managed by Shopify.
- captchaExternalDomains: Boolean!
- # Whether a shop has access to the Google Analytics dynamic remarketing feature.
- dynamicRemarketing: Boolean!
- # Whether a shop can be migrated to use Shopify subscriptions.
- eligibleForSubscriptionMigration: Boolean!
- # Whether a shop is configured properly to sell subscriptions.
- eligibleForSubscriptions: Boolean!
- # Whether a shop can create gift cards.
- giftCards: Boolean!
- # Whether a shop displays Harmonized System codes on products. This is used for customs when shipping
- # internationally.
- harmonizedSystemCode: Boolean!
- # Whether a shop can enable international domains.
- internationalDomains: Boolean!
- # Whether a shop can enable international price overrides.
- internationalPriceOverrides: Boolean!
- # Whether a shop can enable international price rules.
- internationalPriceRules: Boolean!
- # Whether a shop has enabled a legacy subscription gateway to handle older subscriptions.
- legacySubscriptionGatewayEnabled: Boolean!
- # Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial
- # or don't have a storefront.
- liveView: Boolean!
- # Whether a shop has access to the onboarding visual.
- onboardingVisual: Boolean!
- # Whether a shop is configured to sell subscriptions with PayPal Express.
- paypalExpressSubscriptionGatewayStatus: PaypalExpressSubscriptionsGatewayStatus!
- # Whether a shop has access to all reporting features.
- reports: Boolean!
- # Whether a shop has ever had subscription products.
- sellsSubscriptions: Boolean!
- # Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful.
- showMetrics: Boolean!
- # Whether a shop has an online store.
- storefront: Boolean!
- # Whether a shop is using Shopify Balance.
- usingShopifyBalance: Boolean!
- }
- # The total number of pending orders on a shop if less then a maximum, or that maximum.
- # The atMax field indicates when this maximum has been reached.
- type LimitedPendingOrderCount {
- # This is set when the number of pending orders has reached the maximum.
- atMax: Boolean!
- # The number of pendings orders on the shop.
- # Limited to a maximum of 10000.
- count: Int!
- }
- # Merchant approval for accelerated onboarding to channel integration apps.
- type MerchantApprovalSignals {
- # Whether the shop's Shopify Payments account identity is verified.
- # Returns false if the identity is unverified or if the shop doesn't have a Shopify Payments account.
- identityVerified: Boolean!
- # Whether Shopify has pre-verified the merchant's business for onboarding to channel integration apps.
- # Returns false if the shop is not marked for verification.
- verifiedByShopify: Boolean!
- }
- # Settings related to payments.
- type PaymentSettings {
- # List of the digital wallets which the shop supports.
- supportedDigitalWallets: [DigitalWallet!]!
- }
- # The billing plan of the shop.
- type ShopPlan {
- # The name of the shop's billing plan.
- displayName: String!
- # Whether the shop is a partner development shop for testing purposes.
- partnerDevelopment: Boolean!
- # Whether the shop has a Shopify Plus subscription.
- shopifyPlus: Boolean!
- }
- # Policy that a merchant has configured for their store, such as their refund or privacy policy.
- type ShopPolicy implements HasPublishedTranslations&Node {
- # The text of the policy. The maximum size is 512kb.
- body: HTML!
- # A globally-unique identifier.
- id: ID!
- # The translations associated with the resource.
- translations(locale: String! marketId: ID): [PublishedTranslation!]!
- # The shop policy type.
- type: ShopPolicyType!
- # The public URL of the policy.
- url: URL!
- }
- # Resource limits of a shop.
- type ShopResourceLimits {
- # Maximum number of locations allowed.
- locationLimit: Int!
- # Maximum number of product options allowed.
- maxProductOptions: Int!
- # The maximum number of variants allowed per product.
- maxProductVariants: Int!
- # Whether the shop has reached the limit of the number of URL redirects it can make for resources.
- redirectLimitReached: Boolean!
- # The maximum number of variants allowed per shop.
- # If the shop has unlimited SKUs, then the quantity used cannot be retrieved.
- skuResourceLimits: ResourceLimit!
- }
- # A resource limit represents the limits that the resource has.
- type ResourceLimit {
- # Whether the resource is available.
- available: Boolean!
- # Quantity available. If null the quantity available is unlimited.
- quantityAvailable: Int
- # Quantity limit of the resource. If null the quantity is unlimited.
- quantityLimit: Int
- # Quantity used of the resource. If null the quantity used cannot be retrieved.
- quantityUsed: Int
- }
- # Represents an individual result returned from a search.
- type SearchResult {
- # Returns the search result description text.
- description: String
- # Returns the Image resource presented to accompany a search result.
- image: Image
- # Returns the ID of the resource returned in the search result.
- reference: Node!
- # Returns the resource title.
- title: String!
- # Returns the absolute URL to the resource in the search result.
- url: URL!
- }
- # A list of search filters along with their specific options in value and label pair for filtering.
- type SearchFilterOptions {
- # A list of options that can be use to filter product availability.
- productAvailability: [FilterOption!]!
- }
- # A saved search is a representation of a search query saved in the admin.
- type SavedSearch implements LegacyInteroperability&Node {
- # The filters of a saved search.
- filters: [SearchFilter!]!
- # A globally-unique identifier.
- id: ID!
- # The ID of the corresponding resource in the REST Admin API.
- legacyResourceId: UnsignedInt64!
- # The name of a saved search.
- name: String!
- # The query string of a saved search. This includes search terms and filters.
- query: String!
- # The type of resource this saved search is searching in.
- resourceType: SearchResultType!
- # The search terms of a saved search.
- searchTerms: String!
- }
- # A filter in a search query represented by a key value pair.
- type SearchFilter {
- # The key of the search filter.
- key: String!
- # The value of the search filter.
- value: String!
- }
- # A filter option is one possible value in a search filter.
- type FilterOption {
- # The filter option's label for display purposes.
- label: String!
- # The filter option's value.
- value: String!
- }
|