{
"data": { "__schema": { "queryType": { "name": "QueryRoot" }, "mutationType": { "name": "Mutation" }, "subscriptionType": null, "types": [ { "kind": "OBJECT", "name": "ApiVersion", "description": "A version of the API.", "fields": [ { "name": "displayName", "description": "The human-readable name of the version.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "supported", "description": "Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/concepts/about-apis/versioning).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AppliedGiftCard", "description": "Details about the gift card used on the checkout.", "fields": [ { "name": "amountUsed", "description": "The amount that was taken from the gift card by applying it.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `amountUsedV2` instead" }, { "name": "amountUsedV2", "description": "The amount that was taken from the gift card by applying it.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "balance", "description": "The amount left on the gift card.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `balanceV2` instead" }, { "name": "balanceV2", "description": "The amount left on the gift card.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastCharacters", "description": "The last characters of the gift card.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "presentmentAmountUsed", "description": "The amount that was applied to the checkout in its currency.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Article", "description": "An article in an online store blog.", "fields": [ { "name": "author", "description": "The article's author.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleAuthor", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `authorV2` instead" }, { "name": "authorV2", "description": "The article's author.", "args": [ ], "type": { "kind": "OBJECT", "name": "ArticleAuthor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "blog", "description": "The blog that the article belongs to.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Blog", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "comments", "description": "List of comments posted on the article.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CommentConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "content", "description": "Stripped content of the article, single line with HTML tags removed.", "args": [ { "name": "truncateAt", "description": "Truncates string after the given length.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "contentHtml", "description": "The content of the article, complete with HTML formatting.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "excerpt", "description": "Stripped excerpt of the article, single line with HTML tags removed.", "args": [ { "name": "truncateAt", "description": "Truncates string after the given length.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "excerptHtml", "description": "The excerpt of the article, complete with HTML formatting.", "args": [ ], "type": { "kind": "SCALAR", "name": "HTML", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "A human-friendly unique string for the Article automatically generated from its title.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "image", "description": "The image associated with the article.", "args": [ { "name": "maxWidth", "description": "Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "maxHeight", "description": "Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "crop", "description": "Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead.", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null }, "defaultValue": null }, { "name": "scale", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "1" } ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "publishedAt", "description": "The date and time when the article was published.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "seo", "description": "The article’s SEO information.", "args": [ ], "type": { "kind": "OBJECT", "name": "SEO", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "A categorization that a article can be tagged with.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The article’s name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The url pointing to the article accessible from the web.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ArticleAuthor", "description": "The author of an article.", "fields": [ { "name": "bio", "description": "The author's bio.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The author’s email.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "The author's first name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "The author's last name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The author's full name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ArticleConnection", "description": "An auto-generated type for paginating through multiple Articles.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ArticleEdge", "description": "An auto-generated type which holds one Article and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ArticleEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Article", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ArticleSortKeys", "description": "The set of valid sort keys for the Article query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "BLOG_TITLE", "description": "Sort by the `blog_title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "AUTHOR", "description": "Sort by the `author` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPDATED_AT", "description": "Sort by the `updated_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "PUBLISHED_AT", "description": "Sort by the `published_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Attribute", "description": "Represents a generic custom attribute.", "fields": [ { "name": "key", "description": "Key or name of the attribute.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "Value of the attribute.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AttributeInput", "description": "Specifies the input fields required for an attribute.", "fields": null, "inputFields": [ { "name": "key", "description": "Key or name of the attribute.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "value", "description": "Value of the attribute.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AutomaticDiscountApplication", "description": "Automatic discount applications capture the intentions of a discount that was automatically applied.\n", "fields": [ { "name": "allocationMethod", "description": "The method by which the discount's value is allocated to its entitled items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetSelection", "description": "Which lines of targetType that the discount is allocated over.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetType", "description": "The type of line that the discount is applicable towards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of the discount application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AvailableShippingRates", "description": "A collection of available shipping rates for a checkout.", "fields": [ { "name": "ready", "description": "Whether or not the shipping rates are ready.\nThe `shippingRates` field is `null` when this value is `false`.\nThis field should be polled until its value becomes `true`.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingRates", "description": "The fetched shipping rates. `null` until the `ready` field is `true`.", "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ShippingRate", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Blog", "description": "An online store blog.", "fields": [ { "name": "articleByHandle", "description": "Find an article by its handle.", "args": [ { "name": "handle", "description": "The handle of the article.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Article", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "articles", "description": "List of the blog's articles.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ArticleSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "authors", "description": "The authors who have contributed to the blog.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleAuthor", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "A human-friendly unique string for the Blog automatically generated from its title.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "seo", "description": "The blog's SEO information.", "args": [ ], "type": { "kind": "OBJECT", "name": "SEO", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The blogs’s title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The url pointing to the blog accessible from the web.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BlogConnection", "description": "An auto-generated type for paginating through multiple Blogs.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BlogEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BlogEdge", "description": "An auto-generated type which holds one Blog and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of BlogEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Blog", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BlogSortKeys", "description": "The set of valid sort keys for the Blog query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "HANDLE", "description": "Sort by the `handle` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "SCALAR", "name": "Boolean", "description": "Represents `true` or `false` values.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CardBrand", "description": "Card brand, such as Visa or Mastercard, which can be used for payments.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "VISA", "description": "Visa.", "isDeprecated": false, "deprecationReason": null }, { "name": "MASTERCARD", "description": "Mastercard.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOVER", "description": "Discover.", "isDeprecated": false, "deprecationReason": null }, { "name": "AMERICAN_EXPRESS", "description": "American Express.", "isDeprecated": false, "deprecationReason": null }, { "name": "DINERS_CLUB", "description": "Diners Club.", "isDeprecated": false, "deprecationReason": null }, { "name": "JCB", "description": "JCB.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Checkout", "description": "A container for all the information required to checkout items and pay.", "fields": [ { "name": "appliedGiftCards", "description": "The gift cards used on the checkout.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AppliedGiftCard", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "availableShippingRates", "description": "The available shipping rates for this Checkout.\nShould only be used when checkout `requiresShipping` is `true` and\nthe shipping address is valid.\n", "args": [ ], "type": { "kind": "OBJECT", "name": "AvailableShippingRates", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "completedAt", "description": "The date and time when the checkout was completed.", "args": [ ], "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The date and time when the checkout was created.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currencyCode", "description": "The currency code for the Checkout.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customAttributes", "description": "A list of extra information that is added to the checkout.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customer", "description": "The customer associated with the checkout.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": true, "deprecationReason": "This field will always return null. If you have an authentication token for the customer, you can use the `customer` field on the query root to retrieve it." }, { "name": "discountApplications", "description": "Discounts that have been applied on the checkout.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountApplicationConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The email attached to this checkout.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lineItems", "description": "A list of line item objects, each one containing information about an item in the checkout.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutLineItemConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lineItemsSubtotalPrice", "description": "The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "note", "description": "The note associated with the checkout.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "order", "description": "The resulting order from a paid checkout.", "args": [ ], "type": { "kind": "OBJECT", "name": "Order", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "orderStatusUrl", "description": "The Order Status Page for this Checkout, null when checkout is not completed.", "args": [ ], "type": { "kind": "SCALAR", "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentDue", "description": "The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `paymentDueV2` instead" }, { "name": "paymentDueV2", "description": "The amount left to be paid. This is equal to the cost of the line items, duties, taxes and shipping minus discounts and gift cards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "ready", "description": "Whether or not the Checkout is ready and can be completed. Checkouts may\nhave asynchronous operations that can take time to finish. If you want\nto complete a checkout or ensure all the fields are populated and up to\ndate, polling is required until the value is true.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiresShipping", "description": "States whether or not the fulfillment requires shipping.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingAddress", "description": "The shipping address to where the line items will be shipped.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingDiscountAllocations", "description": "The discounts that have been allocated onto the shipping line by discount applications.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingLine", "description": "Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object.", "args": [ ], "type": { "kind": "OBJECT", "name": "ShippingRate", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subtotalPrice", "description": "Price of the checkout before shipping and taxes.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `subtotalPriceV2` instead" }, { "name": "subtotalPriceV2", "description": "Price of the checkout before duties, shipping and taxes.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "taxExempt", "description": "Specifies if the Checkout is tax exempt.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "taxesIncluded", "description": "Specifies if taxes are included in the line item and shipping line prices.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalDuties", "description": "The sum of all the duties applied to the line items in the checkout.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalPrice", "description": "The sum of all the prices of all the items in the checkout, taxes and discounts included.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `totalPriceV2` instead" }, { "name": "totalPriceV2", "description": "The sum of all the prices of all the items in the checkout, duties, taxes and discounts included.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalTax", "description": "The sum of all the taxes applied to the line items and shipping lines in the checkout.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `totalTaxV2` instead" }, { "name": "totalTaxV2", "description": "The sum of all the taxes applied to the line items and shipping lines in the checkout.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The date and time when the checkout was last updated.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "webUrl", "description": "The url pointing to the checkout accessible from the web.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CheckoutAttributesUpdateInput", "description": "Specifies the fields required to update a checkout's attributes.", "fields": null, "inputFields": [ { "name": "note", "description": "The text of an optional note that a shop owner can attach to the checkout.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "customAttributes", "description": "A list of extra information that is added to the checkout.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } }, "defaultValue": null }, { "name": "allowPartialAddresses", "description": "Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of the addresses is still done at completion time. Defaults to `false` with\neach operation.\n", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutAttributesUpdatePayload", "description": "Return type for `checkoutAttributesUpdate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CheckoutAttributesUpdateV2Input", "description": "Specifies the fields required to update a checkout's attributes.", "fields": null, "inputFields": [ { "name": "note", "description": "The text of an optional note that a shop owner can attach to the checkout.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "customAttributes", "description": "A list of extra information that is added to the checkout.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } }, "defaultValue": null }, { "name": "allowPartialAddresses", "description": "Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of the addresses is still done at completion time. Defaults to `false` with \neach operation.\n", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutAttributesUpdateV2Payload", "description": "Return type for `checkoutAttributesUpdateV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteFreePayload", "description": "Return type for `checkoutCompleteFree` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteWithCreditCardPayload", "description": "Return type for `checkoutCompleteWithCreditCard` mutation.", "fields": [ { "name": "checkout", "description": "The checkout on which the payment was applied.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payment", "description": "A representation of the attempted payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "Payment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteWithCreditCardV2Payload", "description": "Return type for `checkoutCompleteWithCreditCardV2` mutation.", "fields": [ { "name": "checkout", "description": "The checkout on which the payment was applied.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payment", "description": "A representation of the attempted payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "Payment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentPayload", "description": "Return type for `checkoutCompleteWithTokenizedPayment` mutation.", "fields": [ { "name": "checkout", "description": "The checkout on which the payment was applied.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payment", "description": "A representation of the attempted payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "Payment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentV2Payload", "description": "Return type for `checkoutCompleteWithTokenizedPaymentV2` mutation.", "fields": [ { "name": "checkout", "description": "The checkout on which the payment was applied.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payment", "description": "A representation of the attempted payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "Payment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", "description": "Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation.", "fields": [ { "name": "checkout", "description": "The checkout on which the payment was applied.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payment", "description": "A representation of the attempted payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "Payment", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CheckoutCreateInput", "description": "Specifies the fields required to create a checkout.", "fields": null, "inputFields": [ { "name": "email", "description": "The email with which the customer wants to checkout.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "lineItems", "description": "A list of line item objects, each one containing information about an item in the checkout.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemInput", "ofType": null } } }, "defaultValue": null }, { "name": "shippingAddress", "description": "The shipping address to where the line items will be shipped.", "type": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null }, "defaultValue": null }, { "name": "note", "description": "The text of an optional note that a shop owner can attach to the checkout.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "customAttributes", "description": "A list of extra information that is added to the checkout.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } }, "defaultValue": null }, { "name": "allowPartialAddresses", "description": "Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of addresses is still done at completion time. Defaults to `null`.\n", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "presentmentCurrencyCode", "description": "The three-letter currency code of one of the shop's enabled presentment currencies.\nIncluding this field creates a checkout in the specified currency. By default, new\ncheckouts are created in the shop's primary currency.\n This argument is deprecated: Use `country` field instead.", "type": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCreatePayload", "description": "Return type for `checkoutCreate` mutation.", "fields": [ { "name": "checkout", "description": "The new checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCustomerAssociatePayload", "description": "Return type for `checkoutCustomerAssociate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customer", "description": "The associated customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCustomerAssociateV2Payload", "description": "Return type for `checkoutCustomerAssociateV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customer", "description": "The associated customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCustomerDisassociatePayload", "description": "Return type for `checkoutCustomerDisassociate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutCustomerDisassociateV2Payload", "description": "Return type for `checkoutCustomerDisassociateV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutDiscountCodeApplyPayload", "description": "Return type for `checkoutDiscountCodeApply` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutDiscountCodeApplyV2Payload", "description": "Return type for `checkoutDiscountCodeApplyV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutDiscountCodeRemovePayload", "description": "Return type for `checkoutDiscountCodeRemove` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutEmailUpdatePayload", "description": "Return type for `checkoutEmailUpdate` mutation.", "fields": [ { "name": "checkout", "description": "The checkout object with the updated email.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutEmailUpdateV2Payload", "description": "Return type for `checkoutEmailUpdateV2` mutation.", "fields": [ { "name": "checkout", "description": "The checkout object with the updated email.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CheckoutErrorCode", "description": "Possible error codes that could be returned by CheckoutUserError.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BLANK", "description": "The input value is blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID", "description": "The input value is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_LONG", "description": "The input value is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRESENT", "description": "The input value needs to be blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "LESS_THAN", "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "deprecationReason": null }, { "name": "GREATER_THAN_OR_EQUAL_TO", "description": "The input value should be greater than or equal to the minimum value allowed.", "isDeprecated": false, "deprecationReason": null }, { "name": "LESS_THAN_OR_EQUAL_TO", "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALREADY_COMPLETED", "description": "Checkout is already completed.", "isDeprecated": false, "deprecationReason": null }, { "name": "LOCKED", "description": "Checkout is locked.", "isDeprecated": false, "deprecationReason": null }, { "name": "NOT_SUPPORTED", "description": "Input value is not supported.", "isDeprecated": false, "deprecationReason": null }, { "name": "BAD_DOMAIN", "description": "Input email contains an invalid domain name.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_FOR_COUNTRY", "description": "Input Zip is invalid for country provided.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", "description": "Input Zip is invalid for country and province provided.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_STATE_IN_COUNTRY", "description": "Invalid state in country.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_PROVINCE_IN_COUNTRY", "description": "Invalid province in country.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_REGION_IN_COUNTRY", "description": "Invalid region in country.", "isDeprecated": false, "deprecationReason": null }, { "name": "SHIPPING_RATE_EXPIRED", "description": "Shipping rate expired.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_UNUSABLE", "description": "Gift card cannot be applied to a checkout that contains a gift card.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_DISABLED", "description": "Gift card is disabled.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_CODE_INVALID", "description": "Gift card code is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_ALREADY_APPLIED", "description": "Gift card has already been applied.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_CURRENCY_MISMATCH", "description": "Gift card currency does not match checkout currency.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_EXPIRED", "description": "Gift card is expired.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_DEPLETED", "description": "Gift card has no funds left.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT_CARD_NOT_FOUND", "description": "Gift card was not found.", "isDeprecated": false, "deprecationReason": null }, { "name": "CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE", "description": "Cart does not meet discount requirements notice.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOUNT_EXPIRED", "description": "Discount expired.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOUNT_DISABLED", "description": "Discount disabled.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOUNT_LIMIT_REACHED", "description": "Discount limit reached.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOUNT_NOT_FOUND", "description": "Discount not found.", "isDeprecated": false, "deprecationReason": null }, { "name": "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE", "description": "Customer already used once per customer discount notice.", "isDeprecated": false, "deprecationReason": null }, { "name": "EMPTY", "description": "Checkout is already completed.", "isDeprecated": false, "deprecationReason": null }, { "name": "NOT_ENOUGH_IN_STOCK", "description": "Not enough in stock.", "isDeprecated": false, "deprecationReason": null }, { "name": "MISSING_PAYMENT_INPUT", "description": "Missing payment input.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOTAL_PRICE_MISMATCH", "description": "The amount of the payment does not match the value to be paid.", "isDeprecated": false, "deprecationReason": null }, { "name": "LINE_ITEM_NOT_FOUND", "description": "Line item was not found in checkout.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNABLE_TO_APPLY", "description": "Unable to apply discount.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOUNT_ALREADY_APPLIED", "description": "Discount already applied.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutGiftCardApplyPayload", "description": "Return type for `checkoutGiftCardApply` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutGiftCardRemovePayload", "description": "Return type for `checkoutGiftCardRemove` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutGiftCardRemoveV2Payload", "description": "Return type for `checkoutGiftCardRemoveV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutGiftCardsAppendPayload", "description": "Return type for `checkoutGiftCardsAppend` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItem", "description": "A single line item in the checkout, grouped by variant and attributes.", "fields": [ { "name": "customAttributes", "description": "Extra information in the form of an array of Key-Value pairs about the line item.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountAllocations", "description": "The discounts that have been allocated onto the checkout line item by discount applications.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantity", "description": "The quantity of the line item.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "Title of the line item. Defaults to the product's title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "unitPrice", "description": "Unit price of the line item.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "variant", "description": "Product variant of the line item.", "args": [ ], "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemConnection", "description": "An auto-generated type for paginating through multiple CheckoutLineItems.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutLineItemEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemEdge", "description": "An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of CheckoutLineItemEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutLineItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemInput", "description": "Specifies the input fields to create a line item on a checkout.", "fields": null, "inputFields": [ { "name": "customAttributes", "description": "Extra information in the form of an array of Key-Value pairs about the line item.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } }, "defaultValue": null }, { "name": "quantity", "description": "The quantity of the line item.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "variantId", "description": "The identifier of the product variant for the line item.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemUpdateInput", "description": "Specifies the input fields to update a line item on the checkout.", "fields": null, "inputFields": [ { "name": "id", "description": "The identifier of the line item.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "variantId", "description": "The variant identifier of the line item.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "quantity", "description": "The quantity of the line item.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "customAttributes", "description": "Extra information in the form of an array of Key-Value pairs about the line item.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AttributeInput", "ofType": null } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemsAddPayload", "description": "Return type for `checkoutLineItemsAdd` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemsRemovePayload", "description": "Return type for `checkoutLineItemsRemove` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemsReplacePayload", "description": "Return type for `checkoutLineItemsReplace` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutLineItemsUpdatePayload", "description": "Return type for `checkoutLineItemsUpdate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutShippingAddressUpdatePayload", "description": "Return type for `checkoutShippingAddressUpdate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutShippingAddressUpdateV2Payload", "description": "Return type for `checkoutShippingAddressUpdateV2` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutShippingLineUpdatePayload", "description": "Return type for `checkoutShippingLineUpdate` mutation.", "fields": [ { "name": "checkout", "description": "The updated checkout object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `checkoutUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheckoutUserError", "description": "Represents an error that happens during execution of a checkout mutation.", "fields": [ { "name": "code", "description": "The error code.", "args": [ ], "type": { "kind": "ENUM", "name": "CheckoutErrorCode", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "field", "description": "The path to the input field that caused the error.", "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": "The error message.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Collection", "description": "A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.", "fields": [ { "name": "description", "description": "Stripped description of the collection, single line with HTML tags removed.", "args": [ { "name": "truncateAt", "description": "Truncates string after the given length.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "descriptionHtml", "description": "The description of the collection, complete with HTML formatting.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "A human-friendly unique string for the collection automatically generated from its title.\nLimit of 255 characters.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "image", "description": "Image associated with the collection.", "args": [ { "name": "maxWidth", "description": "Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "maxHeight", "description": "Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "crop", "description": "Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead.", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null }, "defaultValue": null }, { "name": "scale", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "1" } ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "products", "description": "List of products in the collection.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductCollectionSortKeys", "ofType": null }, "defaultValue": "COLLECTION_DEFAULT" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The collection’s name. Limit of 255 characters.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The date and time when the collection was last modified.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CollectionConnection", "description": "An auto-generated type for paginating through multiple Collections.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CollectionEdge", "description": "An auto-generated type which holds one Collection and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of CollectionEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CollectionSortKeys", "description": "The set of valid sort keys for the Collection query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPDATED_AT", "description": "Sort by the `updated_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Comment", "description": "A comment on an article.", "fields": [ { "name": "author", "description": "The comment’s author.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CommentAuthor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "content", "description": "Stripped content of the comment, single line with HTML tags removed.", "args": [ { "name": "truncateAt", "description": "Truncates string after the given length.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "contentHtml", "description": "The content of the comment, complete with HTML formatting.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommentAuthor", "description": "The author of a comment.", "fields": [ { "name": "email", "description": "The author's email.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The author’s name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommentConnection", "description": "An auto-generated type for paginating through multiple Comments.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CommentEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommentEdge", "description": "An auto-generated type which holds one Comment and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of CommentEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Comment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CountryCode", "description": "ISO 3166-1 alpha-2 country codes with some differences.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AF", "description": "Afghanistan.", "isDeprecated": false, "deprecationReason": null }, { "name": "AX", "description": "Åland Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "AL", "description": "Albania.", "isDeprecated": false, "deprecationReason": null }, { "name": "DZ", "description": "Algeria.", "isDeprecated": false, "deprecationReason": null }, { "name": "AD", "description": "Andorra.", "isDeprecated": false, "deprecationReason": null }, { "name": "AO", "description": "Angola.", "isDeprecated": false, "deprecationReason": null }, { "name": "AI", "description": "Anguilla.", "isDeprecated": false, "deprecationReason": null }, { "name": "AG", "description": "Antigua & Barbuda.", "isDeprecated": false, "deprecationReason": null }, { "name": "AR", "description": "Argentina.", "isDeprecated": false, "deprecationReason": null }, { "name": "AM", "description": "Armenia.", "isDeprecated": false, "deprecationReason": null }, { "name": "AW", "description": "Aruba.", "isDeprecated": false, "deprecationReason": null }, { "name": "AC", "description": "Ascension Island.", "isDeprecated": false, "deprecationReason": null }, { "name": "AU", "description": "Australia.", "isDeprecated": false, "deprecationReason": null }, { "name": "AT", "description": "Austria.", "isDeprecated": false, "deprecationReason": null }, { "name": "AZ", "description": "Azerbaijan.", "isDeprecated": false, "deprecationReason": null }, { "name": "BS", "description": "Bahamas.", "isDeprecated": false, "deprecationReason": null }, { "name": "BH", "description": "Bahrain.", "isDeprecated": false, "deprecationReason": null }, { "name": "BD", "description": "Bangladesh.", "isDeprecated": false, "deprecationReason": null }, { "name": "BB", "description": "Barbados.", "isDeprecated": false, "deprecationReason": null }, { "name": "BY", "description": "Belarus.", "isDeprecated": false, "deprecationReason": null }, { "name": "BE", "description": "Belgium.", "isDeprecated": false, "deprecationReason": null }, { "name": "BZ", "description": "Belize.", "isDeprecated": false, "deprecationReason": null }, { "name": "BJ", "description": "Benin.", "isDeprecated": false, "deprecationReason": null }, { "name": "BM", "description": "Bermuda.", "isDeprecated": false, "deprecationReason": null }, { "name": "BT", "description": "Bhutan.", "isDeprecated": false, "deprecationReason": null }, { "name": "BO", "description": "Bolivia.", "isDeprecated": false, "deprecationReason": null }, { "name": "BA", "description": "Bosnia & Herzegovina.", "isDeprecated": false, "deprecationReason": null }, { "name": "BW", "description": "Botswana.", "isDeprecated": false, "deprecationReason": null }, { "name": "BV", "description": "Bouvet Island.", "isDeprecated": false, "deprecationReason": null }, { "name": "BR", "description": "Brazil.", "isDeprecated": false, "deprecationReason": null }, { "name": "IO", "description": "British Indian Ocean Territory.", "isDeprecated": false, "deprecationReason": null }, { "name": "BN", "description": "Brunei.", "isDeprecated": false, "deprecationReason": null }, { "name": "BG", "description": "Bulgaria.", "isDeprecated": false, "deprecationReason": null }, { "name": "BF", "description": "Burkina Faso.", "isDeprecated": false, "deprecationReason": null }, { "name": "BI", "description": "Burundi.", "isDeprecated": false, "deprecationReason": null }, { "name": "KH", "description": "Cambodia.", "isDeprecated": false, "deprecationReason": null }, { "name": "CA", "description": "Canada.", "isDeprecated": false, "deprecationReason": null }, { "name": "CV", "description": "Cape Verde.", "isDeprecated": false, "deprecationReason": null }, { "name": "BQ", "description": "Caribbean Netherlands.", "isDeprecated": false, "deprecationReason": null }, { "name": "KY", "description": "Cayman Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "CF", "description": "Central African Republic.", "isDeprecated": false, "deprecationReason": null }, { "name": "TD", "description": "Chad.", "isDeprecated": false, "deprecationReason": null }, { "name": "CL", "description": "Chile.", "isDeprecated": false, "deprecationReason": null }, { "name": "CN", "description": "China.", "isDeprecated": false, "deprecationReason": null }, { "name": "CX", "description": "Christmas Island.", "isDeprecated": false, "deprecationReason": null }, { "name": "CC", "description": "Cocos (Keeling) Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "CO", "description": "Colombia.", "isDeprecated": false, "deprecationReason": null }, { "name": "KM", "description": "Comoros.", "isDeprecated": false, "deprecationReason": null }, { "name": "CG", "description": "Congo - Brazzaville.", "isDeprecated": false, "deprecationReason": null }, { "name": "CD", "description": "Congo - Kinshasa.", "isDeprecated": false, "deprecationReason": null }, { "name": "CK", "description": "Cook Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "CR", "description": "Costa Rica.", "isDeprecated": false, "deprecationReason": null }, { "name": "HR", "description": "Croatia.", "isDeprecated": false, "deprecationReason": null }, { "name": "CU", "description": "Cuba.", "isDeprecated": false, "deprecationReason": null }, { "name": "CW", "description": "Curaçao.", "isDeprecated": false, "deprecationReason": null }, { "name": "CY", "description": "Cyprus.", "isDeprecated": false, "deprecationReason": null }, { "name": "CZ", "description": "Czechia.", "isDeprecated": false, "deprecationReason": null }, { "name": "CI", "description": "Côte d’Ivoire.", "isDeprecated": false, "deprecationReason": null }, { "name": "DK", "description": "Denmark.", "isDeprecated": false, "deprecationReason": null }, { "name": "DJ", "description": "Djibouti.", "isDeprecated": false, "deprecationReason": null }, { "name": "DM", "description": "Dominica.", "isDeprecated": false, "deprecationReason": null }, { "name": "DO", "description": "Dominican Republic.", "isDeprecated": false, "deprecationReason": null }, { "name": "EC", "description": "Ecuador.", "isDeprecated": false, "deprecationReason": null }, { "name": "EG", "description": "Egypt.", "isDeprecated": false, "deprecationReason": null }, { "name": "SV", "description": "El Salvador.", "isDeprecated": false, "deprecationReason": null }, { "name": "GQ", "description": "Equatorial Guinea.", "isDeprecated": false, "deprecationReason": null }, { "name": "ER", "description": "Eritrea.", "isDeprecated": false, "deprecationReason": null }, { "name": "EE", "description": "Estonia.", "isDeprecated": false, "deprecationReason": null }, { "name": "SZ", "description": "Eswatini.", "isDeprecated": false, "deprecationReason": null }, { "name": "ET", "description": "Ethiopia.", "isDeprecated": false, "deprecationReason": null }, { "name": "FK", "description": "Falkland Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "FO", "description": "Faroe Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "FJ", "description": "Fiji.", "isDeprecated": false, "deprecationReason": null }, { "name": "FI", "description": "Finland.", "isDeprecated": false, "deprecationReason": null }, { "name": "FR", "description": "France.", "isDeprecated": false, "deprecationReason": null }, { "name": "GF", "description": "French Guiana.", "isDeprecated": false, "deprecationReason": null }, { "name": "PF", "description": "French Polynesia.", "isDeprecated": false, "deprecationReason": null }, { "name": "TF", "description": "French Southern Territories.", "isDeprecated": false, "deprecationReason": null }, { "name": "GA", "description": "Gabon.", "isDeprecated": false, "deprecationReason": null }, { "name": "GM", "description": "Gambia.", "isDeprecated": false, "deprecationReason": null }, { "name": "GE", "description": "Georgia.", "isDeprecated": false, "deprecationReason": null }, { "name": "DE", "description": "Germany.", "isDeprecated": false, "deprecationReason": null }, { "name": "GH", "description": "Ghana.", "isDeprecated": false, "deprecationReason": null }, { "name": "GI", "description": "Gibraltar.", "isDeprecated": false, "deprecationReason": null }, { "name": "GR", "description": "Greece.", "isDeprecated": false, "deprecationReason": null }, { "name": "GL", "description": "Greenland.", "isDeprecated": false, "deprecationReason": null }, { "name": "GD", "description": "Grenada.", "isDeprecated": false, "deprecationReason": null }, { "name": "GP", "description": "Guadeloupe.", "isDeprecated": false, "deprecationReason": null }, { "name": "GT", "description": "Guatemala.", "isDeprecated": false, "deprecationReason": null }, { "name": "GG", "description": "Guernsey.", "isDeprecated": false, "deprecationReason": null }, { "name": "GN", "description": "Guinea.", "isDeprecated": false, "deprecationReason": null }, { "name": "GW", "description": "Guinea-Bissau.", "isDeprecated": false, "deprecationReason": null }, { "name": "GY", "description": "Guyana.", "isDeprecated": false, "deprecationReason": null }, { "name": "HT", "description": "Haiti.", "isDeprecated": false, "deprecationReason": null }, { "name": "HM", "description": "Heard & McDonald Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "VA", "description": "Vatican City.", "isDeprecated": false, "deprecationReason": null }, { "name": "HN", "description": "Honduras.", "isDeprecated": false, "deprecationReason": null }, { "name": "HK", "description": "Hong Kong SAR.", "isDeprecated": false, "deprecationReason": null }, { "name": "HU", "description": "Hungary.", "isDeprecated": false, "deprecationReason": null }, { "name": "IS", "description": "Iceland.", "isDeprecated": false, "deprecationReason": null }, { "name": "IN", "description": "India.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Indonesia.", "isDeprecated": false, "deprecationReason": null }, { "name": "IR", "description": "Iran.", "isDeprecated": false, "deprecationReason": null }, { "name": "IQ", "description": "Iraq.", "isDeprecated": false, "deprecationReason": null }, { "name": "IE", "description": "Ireland.", "isDeprecated": false, "deprecationReason": null }, { "name": "IM", "description": "Isle of Man.", "isDeprecated": false, "deprecationReason": null }, { "name": "IL", "description": "Israel.", "isDeprecated": false, "deprecationReason": null }, { "name": "IT", "description": "Italy.", "isDeprecated": false, "deprecationReason": null }, { "name": "JM", "description": "Jamaica.", "isDeprecated": false, "deprecationReason": null }, { "name": "JP", "description": "Japan.", "isDeprecated": false, "deprecationReason": null }, { "name": "JE", "description": "Jersey.", "isDeprecated": false, "deprecationReason": null }, { "name": "JO", "description": "Jordan.", "isDeprecated": false, "deprecationReason": null }, { "name": "KZ", "description": "Kazakhstan.", "isDeprecated": false, "deprecationReason": null }, { "name": "KE", "description": "Kenya.", "isDeprecated": false, "deprecationReason": null }, { "name": "KI", "description": "Kiribati.", "isDeprecated": false, "deprecationReason": null }, { "name": "KP", "description": "North Korea.", "isDeprecated": false, "deprecationReason": null }, { "name": "XK", "description": "Kosovo.", "isDeprecated": false, "deprecationReason": null }, { "name": "KW", "description": "Kuwait.", "isDeprecated": false, "deprecationReason": null }, { "name": "KG", "description": "Kyrgyzstan.", "isDeprecated": false, "deprecationReason": null }, { "name": "LA", "description": "Laos.", "isDeprecated": false, "deprecationReason": null }, { "name": "LV", "description": "Latvia.", "isDeprecated": false, "deprecationReason": null }, { "name": "LB", "description": "Lebanon.", "isDeprecated": false, "deprecationReason": null }, { "name": "LS", "description": "Lesotho.", "isDeprecated": false, "deprecationReason": null }, { "name": "LR", "description": "Liberia.", "isDeprecated": false, "deprecationReason": null }, { "name": "LY", "description": "Libya.", "isDeprecated": false, "deprecationReason": null }, { "name": "LI", "description": "Liechtenstein.", "isDeprecated": false, "deprecationReason": null }, { "name": "LT", "description": "Lithuania.", "isDeprecated": false, "deprecationReason": null }, { "name": "LU", "description": "Luxembourg.", "isDeprecated": false, "deprecationReason": null }, { "name": "MO", "description": "Macao SAR.", "isDeprecated": false, "deprecationReason": null }, { "name": "MG", "description": "Madagascar.", "isDeprecated": false, "deprecationReason": null }, { "name": "MW", "description": "Malawi.", "isDeprecated": false, "deprecationReason": null }, { "name": "MY", "description": "Malaysia.", "isDeprecated": false, "deprecationReason": null }, { "name": "MV", "description": "Maldives.", "isDeprecated": false, "deprecationReason": null }, { "name": "ML", "description": "Mali.", "isDeprecated": false, "deprecationReason": null }, { "name": "MT", "description": "Malta.", "isDeprecated": false, "deprecationReason": null }, { "name": "MQ", "description": "Martinique.", "isDeprecated": false, "deprecationReason": null }, { "name": "MR", "description": "Mauritania.", "isDeprecated": false, "deprecationReason": null }, { "name": "MU", "description": "Mauritius.", "isDeprecated": false, "deprecationReason": null }, { "name": "YT", "description": "Mayotte.", "isDeprecated": false, "deprecationReason": null }, { "name": "MX", "description": "Mexico.", "isDeprecated": false, "deprecationReason": null }, { "name": "MD", "description": "Moldova.", "isDeprecated": false, "deprecationReason": null }, { "name": "MC", "description": "Monaco.", "isDeprecated": false, "deprecationReason": null }, { "name": "MN", "description": "Mongolia.", "isDeprecated": false, "deprecationReason": null }, { "name": "ME", "description": "Montenegro.", "isDeprecated": false, "deprecationReason": null }, { "name": "MS", "description": "Montserrat.", "isDeprecated": false, "deprecationReason": null }, { "name": "MA", "description": "Morocco.", "isDeprecated": false, "deprecationReason": null }, { "name": "MZ", "description": "Mozambique.", "isDeprecated": false, "deprecationReason": null }, { "name": "MM", "description": "Myanmar (Burma).", "isDeprecated": false, "deprecationReason": null }, { "name": "NA", "description": "Namibia.", "isDeprecated": false, "deprecationReason": null }, { "name": "NR", "description": "Nauru.", "isDeprecated": false, "deprecationReason": null }, { "name": "NP", "description": "Nepal.", "isDeprecated": false, "deprecationReason": null }, { "name": "NL", "description": "Netherlands.", "isDeprecated": false, "deprecationReason": null }, { "name": "AN", "description": "Netherlands Antilles.", "isDeprecated": false, "deprecationReason": null }, { "name": "NC", "description": "New Caledonia.", "isDeprecated": false, "deprecationReason": null }, { "name": "NZ", "description": "New Zealand.", "isDeprecated": false, "deprecationReason": null }, { "name": "NI", "description": "Nicaragua.", "isDeprecated": false, "deprecationReason": null }, { "name": "NE", "description": "Niger.", "isDeprecated": false, "deprecationReason": null }, { "name": "NG", "description": "Nigeria.", "isDeprecated": false, "deprecationReason": null }, { "name": "NU", "description": "Niue.", "isDeprecated": false, "deprecationReason": null }, { "name": "NF", "description": "Norfolk Island.", "isDeprecated": false, "deprecationReason": null }, { "name": "MK", "description": "North Macedonia.", "isDeprecated": false, "deprecationReason": null }, { "name": "NO", "description": "Norway.", "isDeprecated": false, "deprecationReason": null }, { "name": "OM", "description": "Oman.", "isDeprecated": false, "deprecationReason": null }, { "name": "PK", "description": "Pakistan.", "isDeprecated": false, "deprecationReason": null }, { "name": "PS", "description": "Palestinian Territories.", "isDeprecated": false, "deprecationReason": null }, { "name": "PA", "description": "Panama.", "isDeprecated": false, "deprecationReason": null }, { "name": "PG", "description": "Papua New Guinea.", "isDeprecated": false, "deprecationReason": null }, { "name": "PY", "description": "Paraguay.", "isDeprecated": false, "deprecationReason": null }, { "name": "PE", "description": "Peru.", "isDeprecated": false, "deprecationReason": null }, { "name": "PH", "description": "Philippines.", "isDeprecated": false, "deprecationReason": null }, { "name": "PN", "description": "Pitcairn Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "PL", "description": "Poland.", "isDeprecated": false, "deprecationReason": null }, { "name": "PT", "description": "Portugal.", "isDeprecated": false, "deprecationReason": null }, { "name": "QA", "description": "Qatar.", "isDeprecated": false, "deprecationReason": null }, { "name": "CM", "description": "Cameroon.", "isDeprecated": false, "deprecationReason": null }, { "name": "RE", "description": "Réunion.", "isDeprecated": false, "deprecationReason": null }, { "name": "RO", "description": "Romania.", "isDeprecated": false, "deprecationReason": null }, { "name": "RU", "description": "Russia.", "isDeprecated": false, "deprecationReason": null }, { "name": "RW", "description": "Rwanda.", "isDeprecated": false, "deprecationReason": null }, { "name": "BL", "description": "St. Barthélemy.", "isDeprecated": false, "deprecationReason": null }, { "name": "SH", "description": "St. Helena.", "isDeprecated": false, "deprecationReason": null }, { "name": "KN", "description": "St. Kitts & Nevis.", "isDeprecated": false, "deprecationReason": null }, { "name": "LC", "description": "St. Lucia.", "isDeprecated": false, "deprecationReason": null }, { "name": "MF", "description": "St. Martin.", "isDeprecated": false, "deprecationReason": null }, { "name": "PM", "description": "St. Pierre & Miquelon.", "isDeprecated": false, "deprecationReason": null }, { "name": "WS", "description": "Samoa.", "isDeprecated": false, "deprecationReason": null }, { "name": "SM", "description": "San Marino.", "isDeprecated": false, "deprecationReason": null }, { "name": "ST", "description": "São Tomé & Príncipe.", "isDeprecated": false, "deprecationReason": null }, { "name": "SA", "description": "Saudi Arabia.", "isDeprecated": false, "deprecationReason": null }, { "name": "SN", "description": "Senegal.", "isDeprecated": false, "deprecationReason": null }, { "name": "RS", "description": "Serbia.", "isDeprecated": false, "deprecationReason": null }, { "name": "SC", "description": "Seychelles.", "isDeprecated": false, "deprecationReason": null }, { "name": "SL", "description": "Sierra Leone.", "isDeprecated": false, "deprecationReason": null }, { "name": "SG", "description": "Singapore.", "isDeprecated": false, "deprecationReason": null }, { "name": "SX", "description": "Sint Maarten.", "isDeprecated": false, "deprecationReason": null }, { "name": "SK", "description": "Slovakia.", "isDeprecated": false, "deprecationReason": null }, { "name": "SI", "description": "Slovenia.", "isDeprecated": false, "deprecationReason": null }, { "name": "SB", "description": "Solomon Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "SO", "description": "Somalia.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZA", "description": "South Africa.", "isDeprecated": false, "deprecationReason": null }, { "name": "GS", "description": "South Georgia & South Sandwich Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "KR", "description": "South Korea.", "isDeprecated": false, "deprecationReason": null }, { "name": "SS", "description": "South Sudan.", "isDeprecated": false, "deprecationReason": null }, { "name": "ES", "description": "Spain.", "isDeprecated": false, "deprecationReason": null }, { "name": "LK", "description": "Sri Lanka.", "isDeprecated": false, "deprecationReason": null }, { "name": "VC", "description": "St. Vincent & Grenadines.", "isDeprecated": false, "deprecationReason": null }, { "name": "SD", "description": "Sudan.", "isDeprecated": false, "deprecationReason": null }, { "name": "SR", "description": "Suriname.", "isDeprecated": false, "deprecationReason": null }, { "name": "SJ", "description": "Svalbard & Jan Mayen.", "isDeprecated": false, "deprecationReason": null }, { "name": "SE", "description": "Sweden.", "isDeprecated": false, "deprecationReason": null }, { "name": "CH", "description": "Switzerland.", "isDeprecated": false, "deprecationReason": null }, { "name": "SY", "description": "Syria.", "isDeprecated": false, "deprecationReason": null }, { "name": "TW", "description": "Taiwan.", "isDeprecated": false, "deprecationReason": null }, { "name": "TJ", "description": "Tajikistan.", "isDeprecated": false, "deprecationReason": null }, { "name": "TZ", "description": "Tanzania.", "isDeprecated": false, "deprecationReason": null }, { "name": "TH", "description": "Thailand.", "isDeprecated": false, "deprecationReason": null }, { "name": "TL", "description": "Timor-Leste.", "isDeprecated": false, "deprecationReason": null }, { "name": "TG", "description": "Togo.", "isDeprecated": false, "deprecationReason": null }, { "name": "TK", "description": "Tokelau.", "isDeprecated": false, "deprecationReason": null }, { "name": "TO", "description": "Tonga.", "isDeprecated": false, "deprecationReason": null }, { "name": "TT", "description": "Trinidad & Tobago.", "isDeprecated": false, "deprecationReason": null }, { "name": "TA", "description": "Tristan da Cunha.", "isDeprecated": false, "deprecationReason": null }, { "name": "TN", "description": "Tunisia.", "isDeprecated": false, "deprecationReason": null }, { "name": "TR", "description": "Turkey.", "isDeprecated": false, "deprecationReason": null }, { "name": "TM", "description": "Turkmenistan.", "isDeprecated": false, "deprecationReason": null }, { "name": "TC", "description": "Turks & Caicos Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "TV", "description": "Tuvalu.", "isDeprecated": false, "deprecationReason": null }, { "name": "UG", "description": "Uganda.", "isDeprecated": false, "deprecationReason": null }, { "name": "UA", "description": "Ukraine.", "isDeprecated": false, "deprecationReason": null }, { "name": "AE", "description": "United Arab Emirates.", "isDeprecated": false, "deprecationReason": null }, { "name": "GB", "description": "United Kingdom.", "isDeprecated": false, "deprecationReason": null }, { "name": "US", "description": "United States.", "isDeprecated": false, "deprecationReason": null }, { "name": "UM", "description": "U.S. Outlying Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "UY", "description": "Uruguay.", "isDeprecated": false, "deprecationReason": null }, { "name": "UZ", "description": "Uzbekistan.", "isDeprecated": false, "deprecationReason": null }, { "name": "VU", "description": "Vanuatu.", "isDeprecated": false, "deprecationReason": null }, { "name": "VE", "description": "Venezuela.", "isDeprecated": false, "deprecationReason": null }, { "name": "VN", "description": "Vietnam.", "isDeprecated": false, "deprecationReason": null }, { "name": "VG", "description": "British Virgin Islands.", "isDeprecated": false, "deprecationReason": null }, { "name": "WF", "description": "Wallis & Futuna.", "isDeprecated": false, "deprecationReason": null }, { "name": "EH", "description": "Western Sahara.", "isDeprecated": false, "deprecationReason": null }, { "name": "YE", "description": "Yemen.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZM", "description": "Zambia.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZW", "description": "Zimbabwe.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZZ", "description": "Unknown Region.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CreditCard", "description": "Credit card information used for a payment.", "fields": [ { "name": "brand", "description": "The brand of the credit card.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiryMonth", "description": "The expiry month of the credit card.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiryYear", "description": "The expiry year of the credit card.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstDigits", "description": "The credit card's BIN number.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "The first name of the card holder.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastDigits", "description": "The last 4 digits of the credit card.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "The last name of the card holder.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "maskedNumber", "description": "The masked credit card number with only the last 4 digits displayed.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreditCardPaymentInput", "description": "Specifies the fields required to complete a checkout with\na Shopify vaulted credit card payment.\n", "fields": null, "inputFields": [ { "name": "amount", "description": "The amount of the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "defaultValue": null }, { "name": "idempotencyKey", "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "vaultId", "description": "The ID returned by Shopify's Card Vault.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "test", "description": "Executes the payment in test mode if possible. Defaults to `false`.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreditCardPaymentInputV2", "description": "Specifies the fields required to complete a checkout with\na Shopify vaulted credit card payment.\n", "fields": null, "inputFields": [ { "name": "paymentAmount", "description": "The amount and currency of the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, "defaultValue": null }, { "name": "idempotencyKey", "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "vaultId", "description": "The ID returned by Shopify's Card Vault.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "test", "description": "Executes the payment in test mode if possible. Defaults to `false`.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CropRegion", "description": "The part of the image that should remain after cropping.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CENTER", "description": "Keep the center of the image.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOP", "description": "Keep the top of the image.", "isDeprecated": false, "deprecationReason": null }, { "name": "BOTTOM", "description": "Keep the bottom of the image.", "isDeprecated": false, "deprecationReason": null }, { "name": "LEFT", "description": "Keep the left of the image.", "isDeprecated": false, "deprecationReason": null }, { "name": "RIGHT", "description": "Keep the right of the image.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "CurrencyCode", "description": "Currency codes.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "USD", "description": "United States Dollars (USD).", "isDeprecated": false, "deprecationReason": null }, { "name": "EUR", "description": "Euro (EUR).", "isDeprecated": false, "deprecationReason": null }, { "name": "GBP", "description": "United Kingdom Pounds (GBP).", "isDeprecated": false, "deprecationReason": null }, { "name": "CAD", "description": "Canadian Dollars (CAD).", "isDeprecated": false, "deprecationReason": null }, { "name": "AFN", "description": "Afghan Afghani (AFN).", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL", "description": "Albanian Lek (ALL).", "isDeprecated": false, "deprecationReason": null }, { "name": "DZD", "description": "Algerian Dinar (DZD).", "isDeprecated": false, "deprecationReason": null }, { "name": "AOA", "description": "Angolan Kwanza (AOA).", "isDeprecated": false, "deprecationReason": null }, { "name": "ARS", "description": "Argentine Pesos (ARS).", "isDeprecated": false, "deprecationReason": null }, { "name": "AMD", "description": "Armenian Dram (AMD).", "isDeprecated": false, "deprecationReason": null }, { "name": "AWG", "description": "Aruban Florin (AWG).", "isDeprecated": false, "deprecationReason": null }, { "name": "AUD", "description": "Australian Dollars (AUD).", "isDeprecated": false, "deprecationReason": null }, { "name": "BBD", "description": "Barbadian Dollar (BBD).", "isDeprecated": false, "deprecationReason": null }, { "name": "AZN", "description": "Azerbaijani Manat (AZN).", "isDeprecated": false, "deprecationReason": null }, { "name": "BDT", "description": "Bangladesh Taka (BDT).", "isDeprecated": false, "deprecationReason": null }, { "name": "BSD", "description": "Bahamian Dollar (BSD).", "isDeprecated": false, "deprecationReason": null }, { "name": "BHD", "description": "Bahraini Dinar (BHD).", "isDeprecated": false, "deprecationReason": null }, { "name": "BIF", "description": "Burundian Franc (BIF).", "isDeprecated": false, "deprecationReason": null }, { "name": "BZD", "description": "Belize Dollar (BZD).", "isDeprecated": false, "deprecationReason": null }, { "name": "BMD", "description": "Bermudian Dollar (BMD).", "isDeprecated": false, "deprecationReason": null }, { "name": "BTN", "description": "Bhutanese Ngultrum (BTN).", "isDeprecated": false, "deprecationReason": null }, { "name": "BAM", "description": "Bosnia and Herzegovina Convertible Mark (BAM).", "isDeprecated": false, "deprecationReason": null }, { "name": "BRL", "description": "Brazilian Real (BRL).", "isDeprecated": false, "deprecationReason": null }, { "name": "BOB", "description": "Bolivian Boliviano (BOB).", "isDeprecated": false, "deprecationReason": null }, { "name": "BWP", "description": "Botswana Pula (BWP).", "isDeprecated": false, "deprecationReason": null }, { "name": "BND", "description": "Brunei Dollar (BND).", "isDeprecated": false, "deprecationReason": null }, { "name": "BGN", "description": "Bulgarian Lev (BGN).", "isDeprecated": false, "deprecationReason": null }, { "name": "MMK", "description": "Burmese Kyat (MMK).", "isDeprecated": false, "deprecationReason": null }, { "name": "KHR", "description": "Cambodian Riel.", "isDeprecated": false, "deprecationReason": null }, { "name": "CVE", "description": "Cape Verdean escudo (CVE).", "isDeprecated": false, "deprecationReason": null }, { "name": "KYD", "description": "Cayman Dollars (KYD).", "isDeprecated": false, "deprecationReason": null }, { "name": "XAF", "description": "Central African CFA Franc (XAF).", "isDeprecated": false, "deprecationReason": null }, { "name": "CLP", "description": "Chilean Peso (CLP).", "isDeprecated": false, "deprecationReason": null }, { "name": "CNY", "description": "Chinese Yuan Renminbi (CNY).", "isDeprecated": false, "deprecationReason": null }, { "name": "COP", "description": "Colombian Peso (COP).", "isDeprecated": false, "deprecationReason": null }, { "name": "KMF", "description": "Comorian Franc (KMF).", "isDeprecated": false, "deprecationReason": null }, { "name": "CDF", "description": "Congolese franc (CDF).", "isDeprecated": false, "deprecationReason": null }, { "name": "CRC", "description": "Costa Rican Colones (CRC).", "isDeprecated": false, "deprecationReason": null }, { "name": "HRK", "description": "Croatian Kuna (HRK).", "isDeprecated": false, "deprecationReason": null }, { "name": "CZK", "description": "Czech Koruny (CZK).", "isDeprecated": false, "deprecationReason": null }, { "name": "DKK", "description": "Danish Kroner (DKK).", "isDeprecated": false, "deprecationReason": null }, { "name": "DOP", "description": "Dominican Peso (DOP).", "isDeprecated": false, "deprecationReason": null }, { "name": "XCD", "description": "East Caribbean Dollar (XCD).", "isDeprecated": false, "deprecationReason": null }, { "name": "EGP", "description": "Egyptian Pound (EGP).", "isDeprecated": false, "deprecationReason": null }, { "name": "ETB", "description": "Ethiopian Birr (ETB).", "isDeprecated": false, "deprecationReason": null }, { "name": "XPF", "description": "CFP Franc (XPF).", "isDeprecated": false, "deprecationReason": null }, { "name": "FJD", "description": "Fijian Dollars (FJD).", "isDeprecated": false, "deprecationReason": null }, { "name": "GMD", "description": "Gambian Dalasi (GMD).", "isDeprecated": false, "deprecationReason": null }, { "name": "GHS", "description": "Ghanaian Cedi (GHS).", "isDeprecated": false, "deprecationReason": null }, { "name": "GTQ", "description": "Guatemalan Quetzal (GTQ).", "isDeprecated": false, "deprecationReason": null }, { "name": "GYD", "description": "Guyanese Dollar (GYD).", "isDeprecated": false, "deprecationReason": null }, { "name": "GEL", "description": "Georgian Lari (GEL).", "isDeprecated": false, "deprecationReason": null }, { "name": "HTG", "description": "Haitian Gourde (HTG).", "isDeprecated": false, "deprecationReason": null }, { "name": "HNL", "description": "Honduran Lempira (HNL).", "isDeprecated": false, "deprecationReason": null }, { "name": "HKD", "description": "Hong Kong Dollars (HKD).", "isDeprecated": false, "deprecationReason": null }, { "name": "HUF", "description": "Hungarian Forint (HUF).", "isDeprecated": false, "deprecationReason": null }, { "name": "ISK", "description": "Icelandic Kronur (ISK).", "isDeprecated": false, "deprecationReason": null }, { "name": "INR", "description": "Indian Rupees (INR).", "isDeprecated": false, "deprecationReason": null }, { "name": "IDR", "description": "Indonesian Rupiah (IDR).", "isDeprecated": false, "deprecationReason": null }, { "name": "ILS", "description": "Israeli New Shekel (NIS).", "isDeprecated": false, "deprecationReason": null }, { "name": "IQD", "description": "Iraqi Dinar (IQD).", "isDeprecated": false, "deprecationReason": null }, { "name": "JMD", "description": "Jamaican Dollars (JMD).", "isDeprecated": false, "deprecationReason": null }, { "name": "JPY", "description": "Japanese Yen (JPY).", "isDeprecated": false, "deprecationReason": null }, { "name": "JEP", "description": "Jersey Pound.", "isDeprecated": false, "deprecationReason": null }, { "name": "JOD", "description": "Jordanian Dinar (JOD).", "isDeprecated": false, "deprecationReason": null }, { "name": "KZT", "description": "Kazakhstani Tenge (KZT).", "isDeprecated": false, "deprecationReason": null }, { "name": "KES", "description": "Kenyan Shilling (KES).", "isDeprecated": false, "deprecationReason": null }, { "name": "KWD", "description": "Kuwaiti Dinar (KWD).", "isDeprecated": false, "deprecationReason": null }, { "name": "KGS", "description": "Kyrgyzstani Som (KGS).", "isDeprecated": false, "deprecationReason": null }, { "name": "LAK", "description": "Laotian Kip (LAK).", "isDeprecated": false, "deprecationReason": null }, { "name": "LVL", "description": "Latvian Lati (LVL).", "isDeprecated": false, "deprecationReason": null }, { "name": "LBP", "description": "Lebanese Pounds (LBP).", "isDeprecated": false, "deprecationReason": null }, { "name": "LSL", "description": "Lesotho Loti (LSL).", "isDeprecated": false, "deprecationReason": null }, { "name": "LRD", "description": "Liberian Dollar (LRD).", "isDeprecated": false, "deprecationReason": null }, { "name": "LTL", "description": "Lithuanian Litai (LTL).", "isDeprecated": false, "deprecationReason": null }, { "name": "MGA", "description": "Malagasy Ariary (MGA).", "isDeprecated": false, "deprecationReason": null }, { "name": "MKD", "description": "Macedonia Denar (MKD).", "isDeprecated": false, "deprecationReason": null }, { "name": "MOP", "description": "Macanese Pataca (MOP).", "isDeprecated": false, "deprecationReason": null }, { "name": "MWK", "description": "Malawian Kwacha (MWK).", "isDeprecated": false, "deprecationReason": null }, { "name": "MVR", "description": "Maldivian Rufiyaa (MVR).", "isDeprecated": false, "deprecationReason": null }, { "name": "MXN", "description": "Mexican Pesos (MXN).", "isDeprecated": false, "deprecationReason": null }, { "name": "MYR", "description": "Malaysian Ringgits (MYR).", "isDeprecated": false, "deprecationReason": null }, { "name": "MUR", "description": "Mauritian Rupee (MUR).", "isDeprecated": false, "deprecationReason": null }, { "name": "MDL", "description": "Moldovan Leu (MDL).", "isDeprecated": false, "deprecationReason": null }, { "name": "MAD", "description": "Moroccan Dirham.", "isDeprecated": false, "deprecationReason": null }, { "name": "MNT", "description": "Mongolian Tugrik.", "isDeprecated": false, "deprecationReason": null }, { "name": "MZN", "description": "Mozambican Metical.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAD", "description": "Namibian Dollar.", "isDeprecated": false, "deprecationReason": null }, { "name": "NPR", "description": "Nepalese Rupee (NPR).", "isDeprecated": false, "deprecationReason": null }, { "name": "ANG", "description": "Netherlands Antillean Guilder.", "isDeprecated": false, "deprecationReason": null }, { "name": "NZD", "description": "New Zealand Dollars (NZD).", "isDeprecated": false, "deprecationReason": null }, { "name": "NIO", "description": "Nicaraguan Córdoba (NIO).", "isDeprecated": false, "deprecationReason": null }, { "name": "NGN", "description": "Nigerian Naira (NGN).", "isDeprecated": false, "deprecationReason": null }, { "name": "NOK", "description": "Norwegian Kroner (NOK).", "isDeprecated": false, "deprecationReason": null }, { "name": "OMR", "description": "Omani Rial (OMR).", "isDeprecated": false, "deprecationReason": null }, { "name": "PAB", "description": "Panamian Balboa (PAB).", "isDeprecated": false, "deprecationReason": null }, { "name": "PKR", "description": "Pakistani Rupee (PKR).", "isDeprecated": false, "deprecationReason": null }, { "name": "PGK", "description": "Papua New Guinean Kina (PGK).", "isDeprecated": false, "deprecationReason": null }, { "name": "PYG", "description": "Paraguayan Guarani (PYG).", "isDeprecated": false, "deprecationReason": null }, { "name": "PEN", "description": "Peruvian Nuevo Sol (PEN).", "isDeprecated": false, "deprecationReason": null }, { "name": "PHP", "description": "Philippine Peso (PHP).", "isDeprecated": false, "deprecationReason": null }, { "name": "PLN", "description": "Polish Zlotych (PLN).", "isDeprecated": false, "deprecationReason": null }, { "name": "QAR", "description": "Qatari Rial (QAR).", "isDeprecated": false, "deprecationReason": null }, { "name": "RON", "description": "Romanian Lei (RON).", "isDeprecated": false, "deprecationReason": null }, { "name": "RUB", "description": "Russian Rubles (RUB).", "isDeprecated": false, "deprecationReason": null }, { "name": "RWF", "description": "Rwandan Franc (RWF).", "isDeprecated": false, "deprecationReason": null }, { "name": "WST", "description": "Samoan Tala (WST).", "isDeprecated": false, "deprecationReason": null }, { "name": "SAR", "description": "Saudi Riyal (SAR).", "isDeprecated": false, "deprecationReason": null }, { "name": "STD", "description": "Sao Tome And Principe Dobra (STD).", "isDeprecated": false, "deprecationReason": null }, { "name": "RSD", "description": "Serbian dinar (RSD).", "isDeprecated": false, "deprecationReason": null }, { "name": "SCR", "description": "Seychellois Rupee (SCR).", "isDeprecated": false, "deprecationReason": null }, { "name": "SGD", "description": "Singapore Dollars (SGD).", "isDeprecated": false, "deprecationReason": null }, { "name": "SDG", "description": "Sudanese Pound (SDG).", "isDeprecated": false, "deprecationReason": null }, { "name": "SYP", "description": "Syrian Pound (SYP).", "isDeprecated": false, "deprecationReason": null }, { "name": "ZAR", "description": "South African Rand (ZAR).", "isDeprecated": false, "deprecationReason": null }, { "name": "KRW", "description": "South Korean Won (KRW).", "isDeprecated": false, "deprecationReason": null }, { "name": "SSP", "description": "South Sudanese Pound (SSP).", "isDeprecated": false, "deprecationReason": null }, { "name": "SBD", "description": "Solomon Islands Dollar (SBD).", "isDeprecated": false, "deprecationReason": null }, { "name": "LKR", "description": "Sri Lankan Rupees (LKR).", "isDeprecated": false, "deprecationReason": null }, { "name": "SRD", "description": "Surinamese Dollar (SRD).", "isDeprecated": false, "deprecationReason": null }, { "name": "SZL", "description": "Swazi Lilangeni (SZL).", "isDeprecated": false, "deprecationReason": null }, { "name": "SEK", "description": "Swedish Kronor (SEK).", "isDeprecated": false, "deprecationReason": null }, { "name": "CHF", "description": "Swiss Francs (CHF).", "isDeprecated": false, "deprecationReason": null }, { "name": "TWD", "description": "Taiwan Dollars (TWD).", "isDeprecated": false, "deprecationReason": null }, { "name": "THB", "description": "Thai baht (THB).", "isDeprecated": false, "deprecationReason": null }, { "name": "TZS", "description": "Tanzanian Shilling (TZS).", "isDeprecated": false, "deprecationReason": null }, { "name": "TTD", "description": "Trinidad and Tobago Dollars (TTD).", "isDeprecated": false, "deprecationReason": null }, { "name": "TND", "description": "Tunisian Dinar (TND).", "isDeprecated": false, "deprecationReason": null }, { "name": "TRY", "description": "Turkish Lira (TRY).", "isDeprecated": false, "deprecationReason": null }, { "name": "TMT", "description": "Turkmenistani Manat (TMT).", "isDeprecated": false, "deprecationReason": null }, { "name": "UGX", "description": "Ugandan Shilling (UGX).", "isDeprecated": false, "deprecationReason": null }, { "name": "UAH", "description": "Ukrainian Hryvnia (UAH).", "isDeprecated": false, "deprecationReason": null }, { "name": "AED", "description": "United Arab Emirates Dirham (AED).", "isDeprecated": false, "deprecationReason": null }, { "name": "UYU", "description": "Uruguayan Pesos (UYU).", "isDeprecated": false, "deprecationReason": null }, { "name": "UZS", "description": "Uzbekistan som (UZS).", "isDeprecated": false, "deprecationReason": null }, { "name": "VUV", "description": "Vanuatu Vatu (VUV).", "isDeprecated": false, "deprecationReason": null }, { "name": "VND", "description": "Vietnamese đồng (VND).", "isDeprecated": false, "deprecationReason": null }, { "name": "XOF", "description": "West African CFA franc (XOF).", "isDeprecated": false, "deprecationReason": null }, { "name": "YER", "description": "Yemeni Rial (YER).", "isDeprecated": false, "deprecationReason": null }, { "name": "ZMW", "description": "Zambian Kwacha (ZMW).", "isDeprecated": false, "deprecationReason": null }, { "name": "BYN", "description": "Belarusian Ruble (BYN).", "isDeprecated": false, "deprecationReason": null }, { "name": "BYR", "description": "Belarusian Ruble (BYR).", "isDeprecated": true, "deprecationReason": "`BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead." }, { "name": "DJF", "description": "Djiboutian Franc (DJF).", "isDeprecated": false, "deprecationReason": null }, { "name": "ERN", "description": "Eritrean Nakfa (ERN).", "isDeprecated": false, "deprecationReason": null }, { "name": "FKP", "description": "Falkland Islands Pounds (FKP).", "isDeprecated": false, "deprecationReason": null }, { "name": "GIP", "description": "Gibraltar Pounds (GIP).", "isDeprecated": false, "deprecationReason": null }, { "name": "GNF", "description": "Guinean Franc (GNF).", "isDeprecated": false, "deprecationReason": null }, { "name": "IRR", "description": "Iranian Rial (IRR).", "isDeprecated": false, "deprecationReason": null }, { "name": "KID", "description": "Kiribati Dollar (KID).", "isDeprecated": false, "deprecationReason": null }, { "name": "LYD", "description": "Libyan Dinar (LYD).", "isDeprecated": false, "deprecationReason": null }, { "name": "MRU", "description": "Mauritanian Ouguiya (MRU).", "isDeprecated": false, "deprecationReason": null }, { "name": "SLL", "description": "Sierra Leonean Leone (SLL).", "isDeprecated": false, "deprecationReason": null }, { "name": "SHP", "description": "Saint Helena Pounds (SHP).", "isDeprecated": false, "deprecationReason": null }, { "name": "SOS", "description": "Somali Shilling (SOS).", "isDeprecated": false, "deprecationReason": null }, { "name": "TJS", "description": "Tajikistani Somoni (TJS).", "isDeprecated": false, "deprecationReason": null }, { "name": "TOP", "description": "Tongan Pa'anga (TOP).", "isDeprecated": false, "deprecationReason": null }, { "name": "VEF", "description": "Venezuelan Bolivares (VEF).", "isDeprecated": true, "deprecationReason": "`VEF` is deprecated. Use `VES` available from version `2020-10` onwards instead." }, { "name": "VES", "description": "Venezuelan Bolivares (VES).", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Customer", "description": "A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.", "fields": [ { "name": "acceptsMarketing", "description": "Indicates whether the customer has consented to be sent marketing material via email.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "addresses", "description": "A list of addresses for the customer.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddressConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The date and time when the customer was created.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "defaultAddress", "description": "The customer’s default address.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayName", "description": "The customer’s name, email or phone number.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The customer’s email address.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "The customer’s first name.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A unique identifier for the customer.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastIncompleteCheckout", "description": "The customer's most recently updated, incomplete checkout.", "args": [ ], "type": { "kind": "OBJECT", "name": "Checkout", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "The customer’s last name.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "orders", "description": "The orders associated with the customer.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "OrderSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `processed_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "phone", "description": "The customer’s phone number.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "A comma separated list of tags that have been added to the customer.\nAdditional access scope required: unauthenticated_read_customer_tags.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The date and time when the customer information was updated.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAccessToken", "description": "A CustomerAccessToken represents the unique token required to make modifications to the customer object.", "fields": [ { "name": "accessToken", "description": "The customer’s access token.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": "The date and time when the customer access token expires.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CustomerAccessTokenCreateInput", "description": "Specifies the input fields required to create a customer access token.", "fields": null, "inputFields": [ { "name": "email", "description": "The email associated to the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "password", "description": "The login password to be used by the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAccessTokenCreatePayload", "description": "Return type for `customerAccessTokenCreate` mutation.", "fields": [ { "name": "customerAccessToken", "description": "The newly created customer access token object.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAccessTokenCreateWithMultipassPayload", "description": "Return type for `customerAccessTokenCreateWithMultipass` mutation.", "fields": [ { "name": "customerAccessToken", "description": "An access token object associated with the customer.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAccessTokenDeletePayload", "description": "Return type for `customerAccessTokenDelete` mutation.", "fields": [ { "name": "deletedAccessToken", "description": "The destroyed access token.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletedCustomerAccessTokenId", "description": "ID of the destroyed customer access token.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAccessTokenRenewPayload", "description": "Return type for `customerAccessTokenRenew` mutation.", "fields": [ { "name": "customerAccessToken", "description": "The renewed customer access token object.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerActivateByUrlPayload", "description": "Return type for `customerActivateByUrl` mutation.", "fields": [ { "name": "customer", "description": "The customer that was activated.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessToken", "description": "A new customer access token for the customer.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CustomerActivateInput", "description": "Specifies the input fields required to activate a customer.", "fields": null, "inputFields": [ { "name": "activationToken", "description": "The activation token required to activate the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "password", "description": "New password that will be set during activation.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerActivatePayload", "description": "Return type for `customerActivate` mutation.", "fields": [ { "name": "customer", "description": "The customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessToken", "description": "A newly created customer access token object for the customer.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAddressCreatePayload", "description": "Return type for `customerAddressCreate` mutation.", "fields": [ { "name": "customerAddress", "description": "The new customer address object.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAddressDeletePayload", "description": "Return type for `customerAddressDelete` mutation.", "fields": [ { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletedCustomerAddressId", "description": "ID of the deleted customer address.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerAddressUpdatePayload", "description": "Return type for `customerAddressUpdate` mutation.", "fields": [ { "name": "customerAddress", "description": "The customer’s updated mailing address.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CustomerCreateInput", "description": "Specifies the fields required to create a new customer.", "fields": null, "inputFields": [ { "name": "firstName", "description": "The customer’s first name.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "lastName", "description": "The customer’s last name.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "email", "description": "The customer’s email.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "phone", "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "password", "description": "The login password used by the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "acceptsMarketing", "description": "Indicates whether the customer has consented to be sent marketing material via email.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerCreatePayload", "description": "Return type for `customerCreate` mutation.", "fields": [ { "name": "customer", "description": "The created customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerDefaultAddressUpdatePayload", "description": "Return type for `customerDefaultAddressUpdate` mutation.", "fields": [ { "name": "customer", "description": "The updated customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CustomerErrorCode", "description": "Possible error codes that could be returned by CustomerUserError.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BLANK", "description": "The input value is blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID", "description": "The input value is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "TAKEN", "description": "The input value is already taken.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_LONG", "description": "The input value is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_SHORT", "description": "The input value is too short.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNIDENTIFIED_CUSTOMER", "description": "Unidentified customer.", "isDeprecated": false, "deprecationReason": null }, { "name": "CUSTOMER_DISABLED", "description": "Customer is disabled.", "isDeprecated": false, "deprecationReason": null }, { "name": "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE", "description": "Input password starts or ends with whitespace.", "isDeprecated": false, "deprecationReason": null }, { "name": "CONTAINS_HTML_TAGS", "description": "Input contains HTML tags.", "isDeprecated": false, "deprecationReason": null }, { "name": "CONTAINS_URL", "description": "Input contains URL.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOKEN_INVALID", "description": "Invalid activation token.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALREADY_ENABLED", "description": "Customer already enabled.", "isDeprecated": false, "deprecationReason": null }, { "name": "NOT_FOUND", "description": "Address does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "BAD_DOMAIN", "description": "Input email contains an invalid domain name.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_MULTIPASS_REQUEST", "description": "Multipass token is not valid.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerRecoverPayload", "description": "Return type for `customerRecover` mutation.", "fields": [ { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerResetByUrlPayload", "description": "Return type for `customerResetByUrl` mutation.", "fields": [ { "name": "customer", "description": "The customer object which was reset.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessToken", "description": "A newly created customer access token object for the customer.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CustomerResetInput", "description": "Specifies the fields required to reset a customer’s password.", "fields": null, "inputFields": [ { "name": "resetToken", "description": "The reset token required to reset the customer’s password.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "password", "description": "New password that will be set as part of the reset password process.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerResetPayload", "description": "Return type for `customerReset` mutation.", "fields": [ { "name": "customer", "description": "The customer object which was reset.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessToken", "description": "A newly created customer access token object for the customer.", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CustomerUpdateInput", "description": "Specifies the fields required to update the Customer information.", "fields": null, "inputFields": [ { "name": "firstName", "description": "The customer’s first name.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "lastName", "description": "The customer’s last name.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "email", "description": "The customer’s email.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "phone", "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_. To remove the phone number, specify `null`.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "password", "description": "The login password used by the customer.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "acceptsMarketing", "description": "Indicates whether the customer has consented to be sent marketing material via email.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerUpdatePayload", "description": "Return type for `customerUpdate` mutation.", "fields": [ { "name": "customer", "description": "The updated customer object.", "args": [ ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessToken", "description": "The newly created customer access token. If the customer's password is updated, all previous access tokens\n(including the one used to perform this mutation) become invalid, and a new token is generated.\n", "args": [ ], "type": { "kind": "OBJECT", "name": "CustomerAccessToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUserErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userErrors", "description": "The list of errors that occurred from executing the mutation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserError", "ofType": null } } } }, "isDeprecated": true, "deprecationReason": "Use `customerUserErrors` instead" } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CustomerUserError", "description": "Represents an error that happens during execution of a customer mutation.", "fields": [ { "name": "code", "description": "The error code.", "args": [ ], "type": { "kind": "ENUM", "name": "CustomerErrorCode", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "field", "description": "The path to the input field that caused the error.", "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": "The error message.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "DateTime", "description": "An ISO-8601 encoded UTC date time string. Example value: `\"2019-07-03T20:47:55Z\"`.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Decimal", "description": "A signed decimal number, which supports arbitrary precision and is serialized as a string. Example value: `\"29.99\"`.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DigitalWallet", "description": "Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "APPLE_PAY", "description": "Apple Pay.", "isDeprecated": false, "deprecationReason": null }, { "name": "ANDROID_PAY", "description": "Android Pay.", "isDeprecated": false, "deprecationReason": null }, { "name": "GOOGLE_PAY", "description": "Google Pay.", "isDeprecated": false, "deprecationReason": null }, { "name": "SHOPIFY_PAY", "description": "Shopify Pay.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "DiscountAllocation", "description": "An amount discounting the line that has been allocated by a discount.\n", "fields": [ { "name": "allocatedAmount", "description": "Amount of discount allocated.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountApplication", "description": "The discount this allocated amount originated from.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "DiscountApplication", "description": "Discount applications capture the intentions of a discount source at\nthe time of application.\n", "fields": [ { "name": "allocationMethod", "description": "The method by which the discount's value is allocated to its entitled items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetSelection", "description": "Which lines of targetType that the discount is allocated over.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetType", "description": "The type of line that the discount is applicable towards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of the discount application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "AutomaticDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "DiscountCodeApplication", "ofType": null }, { "kind": "OBJECT", "name": "ManualDiscountApplication", "ofType": null }, { "kind": "OBJECT", "name": "ScriptDiscountApplication", "ofType": null } ] }, { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "description": "The method by which the discount's value is allocated onto its entitled lines.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ACROSS", "description": "The value is spread across all entitled lines.", "isDeprecated": false, "deprecationReason": null }, { "name": "EACH", "description": "The value is applied onto every entitled line.", "isDeprecated": false, "deprecationReason": null }, { "name": "ONE", "description": "The value is specifically applied onto a particular line.", "isDeprecated": true, "deprecationReason": "Use ACROSS instead." } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "DiscountApplicationConnection", "description": "An auto-generated type for paginating through multiple DiscountApplications.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountApplicationEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DiscountApplicationEdge", "description": "An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of DiscountApplicationEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "description": "Which lines on the order that the discount is allocated over, of the type\ndefined by the Discount Application's target_type.\n", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ALL", "description": "The discount is allocated onto all the lines.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENTITLED", "description": "The discount is allocated onto only the lines it is entitled for.", "isDeprecated": false, "deprecationReason": null }, { "name": "EXPLICIT", "description": "The discount is allocated onto explicitly chosen lines.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "DiscountApplicationTargetType", "description": "The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.\n", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "LINE_ITEM", "description": "The discount applies onto line items.", "isDeprecated": false, "deprecationReason": null }, { "name": "SHIPPING_LINE", "description": "The discount applies onto shipping lines.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "DiscountCodeApplication", "description": "Discount code applications capture the intentions of a discount code at\nthe time that it is applied.\n", "fields": [ { "name": "allocationMethod", "description": "The method by which the discount's value is allocated to its entitled items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "applicable", "description": "Specifies whether the discount code was applied successfully.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "code", "description": "The string identifying the discount code that was used at the time of application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetSelection", "description": "Which lines of targetType that the discount is allocated over.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetType", "description": "The type of line that the discount is applicable towards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of the discount application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "DisplayableError", "description": "Represents an error in the input of a mutation.", "fields": [ { "name": "field", "description": "The path to the input field that caused the error.", "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": "The error message.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "CheckoutUserError", "ofType": null }, { "kind": "OBJECT", "name": "CustomerUserError", "ofType": null }, { "kind": "OBJECT", "name": "UserError", "ofType": null } ] }, { "kind": "OBJECT", "name": "Domain", "description": "Represents a web address.", "fields": [ { "name": "host", "description": "The host name of the domain (eg: `example.com`).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sslEnabled", "description": "Whether SSL is enabled or not.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL of the domain (eg: `https://example.com`).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExternalVideo", "description": "Represents a video hosted outside of Shopify.", "fields": [ { "name": "alt", "description": "A word or phrase to share the nature or contents of a media.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "embeddedUrl", "description": "The URL.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "host", "description": "The host of the external video.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaHost", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mediaContentType", "description": "The media content type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImage", "description": "The preview image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Float", "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Fulfillment", "description": "Represents a single fulfillment in an order.", "fields": [ { "name": "fulfillmentLineItems", "description": "List of the fulfillment's line items.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItemConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "trackingCompany", "description": "The name of the tracking company.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "trackingInfo", "description": "Tracking information associated with the fulfillment,\nsuch as the tracking number and tracking URL.\n", "args": [ { "name": "first", "description": "Truncate the array result to this size.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentTrackingInfo", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FulfillmentLineItem", "description": "Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item.", "fields": [ { "name": "lineItem", "description": "The associated order's line item.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderLineItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantity", "description": "The amount fulfilled in this fulfillment.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FulfillmentLineItemConnection", "description": "An auto-generated type for paginating through multiple FulfillmentLineItems.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItemEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FulfillmentLineItemEdge", "description": "An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of FulfillmentLineItemEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FulfillmentTrackingInfo", "description": "Tracking information associated with the fulfillment.", "fields": [ { "name": "number", "description": "The tracking number of the fulfillment.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL to track the fulfillment.", "args": [ ], "type": { "kind": "SCALAR", "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "HTML", "description": "A string containing HTML code. Example value: `\"<p>Grey cotton knit sweater.</p>\"`.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "HasMetafields", "description": "Represents information about the metafields associated to the specified resource.", "fields": [ { "name": "metafield", "description": "Returns a metafield found by namespace and key.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "key", "description": "Identifier for the metafield (maximum of 30 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "metafields", "description": "A paginated list of metafields associated with the resource.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } ] }, { "kind": "SCALAR", "name": "ID", "description": "Represents a unique identifier, often used to refetch an object or as key for a cache.\nThe ID type appears in a JSON response as a String, but it is not intended to be human-readable.\nWhen expected as an input type, any string (such as \"4\") or integer (such as 4) input value will be accepted as an ID.\n\nAdmin API example value: `\"gid://shopify/Product/10079785100\"`.\n\nStorefront API example value: `\"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMDc5Nzg1MTAw\"`.\n", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Image", "description": "Represents an image resource.", "fields": [ { "name": "altText", "description": "A word or phrase to share the nature or contents of an image.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": "The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A unique identifier for the image.", "args": [ ], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalSrc", "description": "The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "src", "description": "The location of the image as a URL.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Previously an image had a single `src` field. This could either return the original image\nlocation or a URL that contained transformations such as sizing or scale.\n\nThese transformations were specified by arguments on the parent field.\n\nNow an image has two distinct URL fields: `originalSrc` and `transformedSrc`.\n\n* `originalSrc` - the original unmodified image URL\n* `transformedSrc` - the image URL with the specified transformations included\n\nTo migrate to the new fields, image transformations should be moved from the parent field to `transformedSrc`.\n\nBefore:\n```graphql\n{\n shop {\n productImages(maxWidth: 200, scale: 2) {\n edges {\n node {\n src\n }\n }\n }\n }\n}\n```\n\nAfter:\n```graphql\n{\n shop {\n productImages {\n edges {\n node {\n transformedSrc(maxWidth: 200, scale: 2)\n }\n }\n }\n }\n}\n```\n" }, { "name": "transformedSrc", "description": "The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type does not support will be ignored.\n", "args": [ { "name": "maxWidth", "description": "Image width in pixels between 1 and 5760.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "maxHeight", "description": "Image height in pixels between 1 and 5760.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "crop", "description": "Crops the image according to the specified region.", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null }, "defaultValue": null }, { "name": "scale", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "1" }, { "name": "preferredContentType", "description": "Best effort conversion of image into content type (SVG -> PNG, Anything -> JGP, Anything -> WEBP are supported).", "type": { "kind": "ENUM", "name": "ImageContentType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": "The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ImageConnection", "description": "An auto-generated type for paginating through multiple Images.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ImageContentType", "description": "List of supported image content types.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PNG", "description": "A PNG image.", "isDeprecated": false, "deprecationReason": null }, { "name": "JPG", "description": "A JPG image.", "isDeprecated": false, "deprecationReason": null }, { "name": "WEBP", "description": "A WEBP image.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ImageEdge", "description": "An auto-generated type which holds one Image and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ImageEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Int", "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MailingAddress", "description": "Represents a mailing address for customers and shipping.", "fields": [ { "name": "address1", "description": "The first line of the address. Typically the street address or PO Box number.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "address2", "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "city", "description": "The name of the city, district, village, or town.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "company", "description": "The name of the customer's company or organization.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "country", "description": "The name of the country.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "countryCode", "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `countryCodeV2` instead" }, { "name": "countryCodeV2", "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", "args": [ ], "type": { "kind": "ENUM", "name": "CountryCode", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "The first name of the customer.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "formatted", "description": "A formatted version of the address, customized by the provided arguments.", "args": [ { "name": "withName", "description": "Whether to include the customer's name in the formatted address.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "withCompany", "description": "Whether to include the customer's company in the formatted address.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "true" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "formattedArea", "description": "A comma-separated list of the values for city, province, and country.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "The last name of the customer.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "latitude", "description": "The latitude coordinate of the customer address.", "args": [ ], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "longitude", "description": "The longitude coordinate of the customer address.", "args": [ ], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The full name of the customer, based on firstName and lastName.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "phone", "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "province", "description": "The region of the address, such as the province, state, or district.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "provinceCode", "description": "The two-letter code for the region.\n\nFor example, ON.\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "zip", "description": "The zip or postal code of the address.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MailingAddressConnection", "description": "An auto-generated type for paginating through multiple MailingAddresses.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddressEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MailingAddressEdge", "description": "An auto-generated type which holds one MailingAddress and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of MailingAddressEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "description": "Specifies the fields accepted to create or update a mailing address.", "fields": null, "inputFields": [ { "name": "address1", "description": "The first line of the address. Typically the street address or PO Box number.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "address2", "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "city", "description": "The name of the city, district, village, or town.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "company", "description": "The name of the customer's company or organization.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "country", "description": "The name of the country.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "firstName", "description": "The first name of the customer.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "lastName", "description": "The last name of the customer.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "phone", "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "province", "description": "The region of the address, such as the province, state, or district.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "zip", "description": "The zip or postal code of the address.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ManualDiscountApplication", "description": "Manual discount applications capture the intentions of a discount that was manually created.\n", "fields": [ { "name": "allocationMethod", "description": "The method by which the discount's value is allocated to its entitled items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of the application.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetSelection", "description": "Which lines of targetType that the discount is allocated over.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetType", "description": "The type of line that the discount is applicable towards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of the discount application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "Media", "description": "Represents a media interface.", "fields": [ { "name": "alt", "description": "A word or phrase to share the nature or contents of a media.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mediaContentType", "description": "The media content type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImage", "description": "The preview image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "ExternalVideo", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Model3d", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "MediaConnection", "description": "An auto-generated type for paginating through multiple Media.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "MediaContentType", "description": "The possible content types for a media object.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "EXTERNAL_VIDEO", "description": "An externally hosted video.", "isDeprecated": false, "deprecationReason": null }, { "name": "IMAGE", "description": "A Shopify hosted image.", "isDeprecated": false, "deprecationReason": null }, { "name": "MODEL_3D", "description": "A 3d model.", "isDeprecated": false, "deprecationReason": null }, { "name": "VIDEO", "description": "A Shopify hosted video.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "MediaEdge", "description": "An auto-generated type which holds one Media and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of MediaEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Media", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "MediaHost", "description": "Host for a Media Resource.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "YOUTUBE", "description": "Host for YouTube embedded videos.", "isDeprecated": false, "deprecationReason": null }, { "name": "VIMEO", "description": "Host for Vimeo embedded videos.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "MediaImage", "description": "Represents a Shopify hosted image.", "fields": [ { "name": "alt", "description": "A word or phrase to share the nature or contents of a media.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "image", "description": "The image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mediaContentType", "description": "The media content type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImage", "description": "The preview image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Metafield", "description": "Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are\ncomprised of keys, values, and value types.\n", "fields": [ { "name": "createdAt", "description": "The date and time when the storefront metafield was created.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of a metafield.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "key", "description": "The key name for a metafield.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "namespace", "description": "The namespace for a metafield.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "parentResource", "description": "The parent object that the metafield belongs to.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "MetafieldParentResource", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The date and time when the storefront metafield was updated.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of a metafield.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "valueType", "description": "Represents the metafield value type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MetafieldValueType", "ofType": null } }, "isDeprecated": true, "deprecationReason": "`valueType` is deprecated and replaced by `type` in API version 2021-07." } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MetafieldConnection", "description": "An auto-generated type for paginating through multiple Metafields.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MetafieldEdge", "description": "An auto-generated type which holds one Metafield and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of MetafieldEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Metafield", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "MetafieldParentResource", "description": "A resource that the metafield belongs to.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } ] }, { "kind": "ENUM", "name": "MetafieldValueType", "description": "Metafield value types.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "STRING", "description": "A string metafield.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTEGER", "description": "An integer metafield.", "isDeprecated": false, "deprecationReason": null }, { "name": "JSON_STRING", "description": "A json string metafield.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Model3d", "description": "Represents a Shopify hosted 3D model.", "fields": [ { "name": "alt", "description": "A word or phrase to share the nature or contents of a media.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mediaContentType", "description": "The media content type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImage", "description": "The preview image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sources", "description": "The sources for a 3d model.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Model3dSource", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Model3dSource", "description": "Represents a source for a Shopify hosted 3d model.", "fields": [ { "name": "filesize", "description": "The filesize of the 3d model.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "format", "description": "The format of the 3d model.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mimeType", "description": "The MIME type of the 3d model.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL of the 3d model.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Money", "description": "A monetary value string. Example value: `\"100.57\"`.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "MoneyInput", "description": "Specifies the fields for a monetary value with currency.", "fields": null, "inputFields": [ { "name": "amount", "description": "Decimal money amount.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, "defaultValue": null }, { "name": "currencyCode", "description": "Currency of the money.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MoneyV2", "description": "A monetary value with currency.\n", "fields": [ { "name": "amount", "description": "Decimal money amount.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Decimal", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currencyCode", "description": "Currency of the money.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MoneyV2Connection", "description": "An auto-generated type for paginating through multiple MoneyV2s.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2Edge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MoneyV2Edge", "description": "An auto-generated type which holds one MoneyV2 and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of MoneyV2Edge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Mutation", "description": "The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start.", "fields": [ { "name": "checkoutAttributesUpdate", "description": "Updates the attributes of a checkout if `allowPartialAddresses` is `true`.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "input", "description": "The fields used to update a checkout's attributes.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutAttributesUpdateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutAttributesUpdatePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutAttributesUpdateV2` instead" }, { "name": "checkoutAttributesUpdateV2", "description": "Updates the attributes of a checkout if `allowPartialAddresses` is `true`.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "input", "description": "The checkout attributes to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutAttributesUpdateV2Input", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutAttributesUpdateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCompleteFree", "description": "Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteFreePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCompleteWithCreditCard", "description": "Completes a checkout using a credit card token from Shopify's Vault.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "payment", "description": "The credit card info to apply as a payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreditCardPaymentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteWithCreditCardPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutCompleteWithCreditCardV2` instead" }, { "name": "checkoutCompleteWithCreditCardV2", "description": "Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to [_request payment processing_](https://help.shopify.com/api/guides/sales-channel-sdk/getting-started#request-payment-processing).", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "payment", "description": "The credit card info to apply as a payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreditCardPaymentInputV2", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteWithCreditCardV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCompleteWithTokenizedPayment", "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "payment", "description": "The info to apply as a tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutCompleteWithTokenizedPaymentV2` instead" }, { "name": "checkoutCompleteWithTokenizedPaymentV2", "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "payment", "description": "The info to apply as a tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInputV2", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentV2Payload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutCompleteWithTokenizedPaymentV3` instead" }, { "name": "checkoutCompleteWithTokenizedPaymentV3", "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "payment", "description": "The info to apply as a tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInputV3", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCreate", "description": "Creates a new checkout.", "args": [ { "name": "input", "description": "The fields used to create a checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutCreateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCreatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCustomerAssociate", "description": "Associates a customer to the checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "customerAccessToken", "description": "The customer access token of the customer to associate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCustomerAssociatePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutCustomerAssociateV2` instead" }, { "name": "checkoutCustomerAssociateV2", "description": "Associates a customer to the checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "customerAccessToken", "description": "The customer access token of the customer to associate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCustomerAssociateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutCustomerDisassociate", "description": "Disassociates the current checkout customer from the checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCustomerDisassociatePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutCustomerDisassociateV2` instead" }, { "name": "checkoutCustomerDisassociateV2", "description": "Disassociates the current checkout customer from the checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutCustomerDisassociateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutDiscountCodeApply", "description": "Applies a discount to an existing checkout using a discount code.", "args": [ { "name": "discountCode", "description": "The discount code to apply to the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutDiscountCodeApplyPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutDiscountCodeApplyV2` instead" }, { "name": "checkoutDiscountCodeApplyV2", "description": "Applies a discount to an existing checkout using a discount code.", "args": [ { "name": "discountCode", "description": "The discount code to apply to the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutDiscountCodeApplyV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutDiscountCodeRemove", "description": "Removes the applied discount from an existing checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutDiscountCodeRemovePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutEmailUpdate", "description": "Updates the email on an existing checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "email", "description": "The email to update the checkout with.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutEmailUpdatePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutEmailUpdateV2` instead" }, { "name": "checkoutEmailUpdateV2", "description": "Updates the email on an existing checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "email", "description": "The email to update the checkout with.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutEmailUpdateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutGiftCardApply", "description": "Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards.", "args": [ { "name": "giftCardCode", "description": "The code of the gift card to apply on the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutGiftCardApplyPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutGiftCardsAppend` instead" }, { "name": "checkoutGiftCardRemove", "description": "Removes an applied gift card from the checkout.", "args": [ { "name": "appliedGiftCardId", "description": "The ID of the Applied Gift Card to remove from the Checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutGiftCardRemovePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutGiftCardRemoveV2` instead" }, { "name": "checkoutGiftCardRemoveV2", "description": "Removes an applied gift card from the checkout.", "args": [ { "name": "appliedGiftCardId", "description": "The ID of the Applied Gift Card to remove from the Checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutGiftCardRemoveV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutGiftCardsAppend", "description": "Appends gift cards to an existing checkout.", "args": [ { "name": "giftCardCodes", "description": "A list of gift card codes to append to the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutGiftCardsAppendPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutLineItemsAdd", "description": "Adds a list of line items to a checkout.", "args": [ { "name": "lineItems", "description": "A list of line item objects to add to the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemInput", "ofType": null } } } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutLineItemsAddPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutLineItemsRemove", "description": "Removes line items from an existing checkout.", "args": [ { "name": "checkoutId", "description": "The checkout on which to remove line items.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "lineItemIds", "description": "Line item ids to remove.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutLineItemsRemovePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutLineItemsReplace", "description": "Sets a list of line items to a checkout.", "args": [ { "name": "lineItems", "description": "A list of line item objects to set on the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemInput", "ofType": null } } } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutLineItemsReplacePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutLineItemsUpdate", "description": "Updates line items on a checkout.", "args": [ { "name": "checkoutId", "description": "The checkout on which to update line items.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "lineItems", "description": "Line items to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CheckoutLineItemUpdateInput", "ofType": null } } } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutLineItemsUpdatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutShippingAddressUpdate", "description": "Updates the shipping address of an existing checkout.", "args": [ { "name": "shippingAddress", "description": "The shipping address to where the line items will be shipped.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutShippingAddressUpdatePayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `checkoutShippingAddressUpdateV2` instead" }, { "name": "checkoutShippingAddressUpdateV2", "description": "Updates the shipping address of an existing checkout.", "args": [ { "name": "shippingAddress", "description": "The shipping address to where the line items will be shipped.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutShippingAddressUpdateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutShippingLineUpdate", "description": "Updates the shipping lines on an existing checkout.", "args": [ { "name": "checkoutId", "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "shippingRateHandle", "description": "A unique identifier to a Checkout’s shipping provider, price, and title combination, enabling the customer to select the availableShippingRates.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CheckoutShippingLineUpdatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessTokenCreate", "description": "Creates a customer access token.\nThe customer access token is required to modify the customer object in any way.\n", "args": [ { "name": "input", "description": "The fields used to create a customer access token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerAccessTokenCreateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAccessTokenCreatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessTokenCreateWithMultipass", "description": "Creates a customer access token using a multipass token instead of email and password.\nA customer record is created if customer does not exist. If a customer record already\nexists but the record is disabled, then it's enabled.\n", "args": [ { "name": "multipassToken", "description": "A valid multipass token to be authenticated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAccessTokenCreateWithMultipassPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessTokenDelete", "description": "Permanently destroys a customer access token.", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAccessTokenDeletePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAccessTokenRenew", "description": "Renews a customer access token.\n\nAccess token renewal must happen *before* a token expires.\nIf a token has already expired, a new one should be created instead via `customerAccessTokenCreate`.\n", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAccessTokenRenewPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerActivate", "description": "Activates a customer.", "args": [ { "name": "id", "description": "Specifies the customer to activate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "input", "description": "The fields used to activate a customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerActivateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerActivatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerActivateByUrl", "description": "Activates a customer with the activation url received from `customerCreate`.", "args": [ { "name": "activationUrl", "description": "The customer activation URL.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "defaultValue": null }, { "name": "password", "description": "A new password set during activation.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerActivateByUrlPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAddressCreate", "description": "Creates a new address for a customer.", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "address", "description": "The customer mailing address to create.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAddressCreatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAddressDelete", "description": "Permanently deletes the address of an existing customer.", "args": [ { "name": "id", "description": "Specifies the address to delete.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAddressDeletePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerAddressUpdate", "description": "Updates the address of an existing customer.", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "id", "description": "Specifies the customer address to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "address", "description": "The customer’s mailing address.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerAddressUpdatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerCreate", "description": "Creates a new customer.", "args": [ { "name": "input", "description": "The fields used to create a new customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerCreateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerCreatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerDefaultAddressUpdate", "description": "Updates the default address of an existing customer.", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "addressId", "description": "ID of the address to set as the new default for the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerDefaultAddressUpdatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerRecover", "description": "Sends a reset password email to the customer, as the first step in the reset password process.", "args": [ { "name": "email", "description": "The email address of the customer to recover.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerRecoverPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerReset", "description": "Resets a customer’s password with a token received from `CustomerRecover`.", "args": [ { "name": "id", "description": "Specifies the customer to reset.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "input", "description": "The fields used to reset a customer’s password.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerResetInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerResetPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerResetByUrl", "description": "Resets a customer’s password with the reset password url received from `CustomerRecover`.", "args": [ { "name": "resetUrl", "description": "The customer's reset password url.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "defaultValue": null }, { "name": "password", "description": "New password that will be set as part of the reset password process.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerResetByUrlPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUpdate", "description": "Updates an existing customer.", "args": [ { "name": "customerAccessToken", "description": "The access token used to identify the customer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "customer", "description": "The customer object input.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CustomerUpdateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CustomerUpdatePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "Node", "description": "An object with an ID to support global identification.", "fields": [ { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "AppliedGiftCard", "ofType": null }, { "kind": "OBJECT", "name": "Article", "ofType": null }, { "kind": "OBJECT", "name": "Blog", "ofType": null }, { "kind": "OBJECT", "name": "Checkout", "ofType": null }, { "kind": "OBJECT", "name": "CheckoutLineItem", "ofType": null }, { "kind": "OBJECT", "name": "Collection", "ofType": null }, { "kind": "OBJECT", "name": "Comment", "ofType": null }, { "kind": "OBJECT", "name": "ExternalVideo", "ofType": null }, { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, { "kind": "OBJECT", "name": "MediaImage", "ofType": null }, { "kind": "OBJECT", "name": "Metafield", "ofType": null }, { "kind": "OBJECT", "name": "Model3d", "ofType": null }, { "kind": "OBJECT", "name": "Order", "ofType": null }, { "kind": "OBJECT", "name": "Page", "ofType": null }, { "kind": "OBJECT", "name": "Payment", "ofType": null }, { "kind": "OBJECT", "name": "Product", "ofType": null }, { "kind": "OBJECT", "name": "ProductOption", "ofType": null }, { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "Order", "description": "An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information.", "fields": [ { "name": "cancelReason", "description": "The reason for the order's cancellation. Returns `null` if the order wasn't canceled.", "args": [ ], "type": { "kind": "ENUM", "name": "OrderCancelReason", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "canceledAt", "description": "The date and time when the order was canceled. Returns null if the order wasn't canceled.", "args": [ ], "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "currencyCode", "description": "The code of the currency used for the payment.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentSubtotalPrice", "description": "The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentTotalDuties", "description": "The total cost of duties for the order, including refunds.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentTotalPrice", "description": "The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentTotalTax", "description": "The total of all taxes applied to the order, excluding taxes for returned line items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerLocale", "description": "The locale code in which this specific order happened.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "customerUrl", "description": "The unique URL that the customer can use to access the order.", "args": [ ], "type": { "kind": "SCALAR", "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountApplications", "description": "Discounts that have been applied on the order.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountApplicationConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "edited", "description": "Whether the order has had any edits applied or not.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The customer's email address.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "financialStatus", "description": "The financial status of the order.", "args": [ ], "type": { "kind": "ENUM", "name": "OrderFinancialStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "fulfillmentStatus", "description": "The fulfillment status for the order.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OrderFulfillmentStatus", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lineItems", "description": "List of the order’s line items.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderLineItemConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "Unique identifier for the order that appears on the order.\nFor example, _#1000_ or _Store1001.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "orderNumber", "description": "A unique numeric identifier for the order for use by shop owner and customer.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalTotalDuties", "description": "The total cost of duties charged at checkout.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalTotalPrice", "description": "The total price of the order before any applied edits.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "phone", "description": "The customer's phone number for receiving SMS notifications.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "processedAt", "description": "The date and time when the order was imported.\nThis value can be set to dates in the past when importing from other systems.\nIf no value is provided, it will be auto-generated based on current date and time.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingAddress", "description": "The address to where the order will be shipped.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingDiscountAllocations", "description": "The discounts that have been allocated onto the shipping line by discount applications.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "statusUrl", "description": "The unique URL for the order's status page.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "subtotalPrice", "description": "Price of the order before shipping and taxes.", "args": [ ], "type": { "kind": "SCALAR", "name": "Money", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `subtotalPriceV2` instead" }, { "name": "subtotalPriceV2", "description": "Price of the order before duties, shipping and taxes.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "successfulFulfillments", "description": "List of the order’s successful fulfillments.", "args": [ { "name": "first", "description": "Truncate the array result to this size.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Fulfillment", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalPrice", "description": "The sum of all the prices of all the items in the order, taxes and discounts included (must be positive).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `totalPriceV2` instead" }, { "name": "totalPriceV2", "description": "The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalRefunded", "description": "The total amount that has been refunded.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `totalRefundedV2` instead" }, { "name": "totalRefundedV2", "description": "The total amount that has been refunded.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalShippingPrice", "description": "The total cost of shipping.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `totalShippingPriceV2` instead" }, { "name": "totalShippingPriceV2", "description": "The total cost of shipping.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalTax", "description": "The total cost of taxes.", "args": [ ], "type": { "kind": "SCALAR", "name": "Money", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `totalTaxV2` instead" }, { "name": "totalTaxV2", "description": "The total cost of taxes.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "OrderCancelReason", "description": "Represents the reason for the order's cancellation.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CUSTOMER", "description": "The customer wanted to cancel the order.", "isDeprecated": false, "deprecationReason": null }, { "name": "FRAUD", "description": "The order was fraudulent.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVENTORY", "description": "There was insufficient inventory.", "isDeprecated": false, "deprecationReason": null }, { "name": "DECLINED", "description": "Payment was declined.", "isDeprecated": false, "deprecationReason": null }, { "name": "OTHER", "description": "The order was canceled for an unlisted reason.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderConnection", "description": "An auto-generated type for paginating through multiple Orders.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderEdge", "description": "An auto-generated type which holds one Order and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of OrderEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Order", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "OrderFinancialStatus", "description": "Represents the order's current financial status.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PENDING", "description": "Displayed as **Pending**.", "isDeprecated": false, "deprecationReason": null }, { "name": "AUTHORIZED", "description": "Displayed as **Authorized**.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARTIALLY_PAID", "description": "Displayed as **Partially paid**.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARTIALLY_REFUNDED", "description": "Displayed as **Partially refunded**.", "isDeprecated": false, "deprecationReason": null }, { "name": "VOIDED", "description": "Displayed as **Voided**.", "isDeprecated": false, "deprecationReason": null }, { "name": "PAID", "description": "Displayed as **Paid**.", "isDeprecated": false, "deprecationReason": null }, { "name": "REFUNDED", "description": "Displayed as **Refunded**.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "OrderFulfillmentStatus", "description": "Represents the order's current fulfillment status.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "UNFULFILLED", "description": "Displayed as **Unfulfilled**.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARTIALLY_FULFILLED", "description": "Displayed as **Partially fulfilled**.", "isDeprecated": false, "deprecationReason": null }, { "name": "FULFILLED", "description": "Displayed as **Fulfilled**.", "isDeprecated": false, "deprecationReason": null }, { "name": "RESTOCKED", "description": "Displayed as **Restocked**.", "isDeprecated": false, "deprecationReason": null }, { "name": "PENDING_FULFILLMENT", "description": "Displayed as **Pending fulfillment**.", "isDeprecated": false, "deprecationReason": null }, { "name": "OPEN", "description": "Displayed as **Open**.", "isDeprecated": false, "deprecationReason": null }, { "name": "IN_PROGRESS", "description": "Displayed as **In progress**.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCHEDULED", "description": "Displayed as **Scheduled**.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderLineItem", "description": "Represents a single line in an order. There is one line item for each distinct product variant.", "fields": [ { "name": "currentQuantity", "description": "The number of entries associated to the line item minus the items that have been removed.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customAttributes", "description": "List of custom attributes associated to the line item.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Attribute", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountAllocations", "description": "The discounts that have been allocated onto the order line item by discount applications.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DiscountAllocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountedTotalPrice", "description": "The total price of the line item, including discounts, and displayed in the presentment currency.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalTotalPrice", "description": "The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it is displayed in the presentment currency.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantity", "description": "The number of products variants associated to the line item.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the product combined with title of the variant.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "variant", "description": "The product variant object associated to the line item.", "args": [ ], "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderLineItemConnection", "description": "An auto-generated type for paginating through multiple OrderLineItems.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderLineItemEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderLineItemEdge", "description": "An auto-generated type which holds one OrderLineItem and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of OrderLineItemEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OrderLineItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "OrderSortKeys", "description": "The set of valid sort keys for the Order query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PROCESSED_AT", "description": "Sort by the `processed_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOTAL_PRICE", "description": "Sort by the `total_price` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Page", "description": "Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.", "fields": [ { "name": "body", "description": "The description of the page, complete with HTML formatting.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bodySummary", "description": "Summary of the page body.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The timestamp of the page creation.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "A human-friendly unique string for the page automatically generated from its title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "seo", "description": "The page's SEO information.", "args": [ ], "type": { "kind": "OBJECT", "name": "SEO", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the page.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The timestamp of the latest page update.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The url pointing to the page accessible from the web.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PageConnection", "description": "An auto-generated type for paginating through multiple Pages.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PageEdge", "description": "An auto-generated type which holds one Page and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of PageEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Page", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PageInfo", "description": "Information about pagination in a connection.", "fields": [ { "name": "hasNextPage", "description": "Indicates if there are more pages to fetch.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasPreviousPage", "description": "Indicates if there are any pages prior to the current page.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PageSortKeys", "description": "The set of valid sort keys for the Page query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPDATED_AT", "description": "Sort by the `updated_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Payment", "description": "A payment applied to a checkout.", "fields": [ { "name": "amount", "description": "The amount of the payment.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `amountV2` instead" }, { "name": "amountV2", "description": "The amount of the payment.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "args": [ ], "type": { "kind": "OBJECT", "name": "MailingAddress", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkout", "description": "The checkout to which the payment belongs.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Checkout", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "creditCard", "description": "The credit card used for the payment in the case of direct payments.", "args": [ ], "type": { "kind": "OBJECT", "name": "CreditCard", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "errorMessage", "description": "A message describing a processing error during asynchronous processing.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "idempotencyKey", "description": "A client-side generated token to identify a payment and perform idempotent operations.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).\n", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "nextActionUrl", "description": "The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.", "args": [ ], "type": { "kind": "SCALAR", "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ready", "description": "Whether or not the payment is still processing asynchronously.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "test", "description": "A flag to indicate if the payment is to be done in test mode for gateways that support it.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "transaction", "description": "The actual transaction recorded by Shopify after having processed the payment with the gateway.", "args": [ ], "type": { "kind": "OBJECT", "name": "Transaction", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentSettings", "description": "Settings related to payments.", "fields": [ { "name": "acceptedCardBrands", "description": "List of the card brands which the shop accepts.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CardBrand", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "cardVaultUrl", "description": "The url pointing to the endpoint to vault credit cards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "countryCode", "description": "The country where the shop is located.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "currencyCode", "description": "The three-letter code for the shop's primary currency.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "enabledPresentmentCurrencies", "description": "A list of enabled currencies (ISO 4217 format) that the shop accepts. Merchants can enable currencies from their Shopify Payments settings in the Shopify admin.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shopifyPaymentsAccountId", "description": "The shop’s Shopify Payments account id.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "supportedDigitalWallets", "description": "List of the digital wallets which the shop supports.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DigitalWallet", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentTokenType", "description": "The valid values for the types of payment token.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "APPLE_PAY", "description": "Apple Pay token type.", "isDeprecated": false, "deprecationReason": null }, { "name": "VAULT", "description": "Vault payment token type.", "isDeprecated": false, "deprecationReason": null }, { "name": "SHOPIFY_PAY", "description": "Shopify Pay token type.", "isDeprecated": false, "deprecationReason": null }, { "name": "GOOGLE_PAY", "description": "Google Pay token type.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PricingPercentageValue", "description": "The value of the percentage pricing object.", "fields": [ { "name": "percentage", "description": "The percentage value of the object.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "PricingValue", "description": "The price value (fixed or percentage) for a discount application.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, { "kind": "OBJECT", "name": "PricingPercentageValue", "ofType": null } ] }, { "kind": "OBJECT", "name": "Product", "description": "A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.\nFor example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).", "fields": [ { "name": "availableForSale", "description": "Indicates if at least one product variant is available for sale.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "collections", "description": "List of collections a product belongs to.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "compareAtPriceRange", "description": "The compare at price of the product across all variants.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRange", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The date and time when the product was created.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "Stripped description of the product, single line with HTML tags removed.", "args": [ { "name": "truncateAt", "description": "Truncates string after the given length.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "descriptionHtml", "description": "The description of the product, complete with HTML formatting.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "A human-friendly unique string for the Product automatically generated from its title.\nThey are used by the Liquid templating language to refer to objects.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "images", "description": "List of images associated with the product.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductImageSortKeys", "ofType": null }, "defaultValue": "POSITION" }, { "name": "maxWidth", "description": "Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "maxHeight", "description": "Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "crop", "description": "Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead.", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null }, "defaultValue": null }, { "name": "scale", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "1" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ImageConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "media", "description": "The media associated with the product.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductMediaSortKeys", "ofType": null }, "defaultValue": "POSITION" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MediaConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "metafield", "description": "Returns a metafield found by namespace and key.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "key", "description": "Identifier for the metafield (maximum of 30 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "metafields", "description": "A paginated list of metafields associated with the resource.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "onlineStoreUrl", "description": "The URL used for viewing the resource on the shop's Online Store. May be null if the resource is currently not published to the Online Store sales channel.", "args": [ ], "type": { "kind": "SCALAR", "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "options", "description": "List of product options.", "args": [ { "name": "first", "description": "Truncate the array result to this size.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductOption", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "presentmentPriceRanges", "description": "List of price ranges in the presentment currencies for this shop.", "args": [ { "name": "presentmentCurrencies", "description": "Specifies the presentment currencies to return a price range in.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRangeConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `@inContext` instead." }, { "name": "priceRange", "description": "The price range.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRange", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productType", "description": "A categorization that a product can be tagged with, commonly used for filtering and searching.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "publishedAt", "description": "The date and time when the product was published to the channel.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "seo", "description": "The product's SEO information.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SEO", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "A comma separated list of tags that have been added to the product.\nAdditional access scope required for private apps: unauthenticated_read_product_tags.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The product’s title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalInventory", "description": "The total quantity of inventory in stock for this Product.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.\n", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "DateTime", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "variantBySelectedOptions", "description": "Find a product’s variant based on its selected options.\nThis is useful for converting a user’s selection of product options into a single matching variant.\nIf there is not a variant for the selected options, `null` will be returned.\n", "args": [ { "name": "selectedOptions", "description": "The input fields used for a selected option.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SelectedOptionInput", "ofType": null } } } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "variants", "description": "List of the product’s variants.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductVariantSortKeys", "ofType": null }, "defaultValue": "POSITION" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "vendor", "description": "The product’s vendor name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ProductCollectionSortKeys", "description": "The set of valid sort keys for the ProductCollection query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRICE", "description": "Sort by the `price` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "BEST_SELLING", "description": "Sort by the `best-selling` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATED", "description": "Sort by the `created` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "MANUAL", "description": "Sort by the `manual` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "COLLECTION_DEFAULT", "description": "Sort by the `collection-default` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductConnection", "description": "An auto-generated type for paginating through multiple Products.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductEdge", "description": "An auto-generated type which holds one Product and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ProductEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ProductImageSortKeys", "description": "The set of valid sort keys for the ProductImage query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CREATED_AT", "description": "Sort by the `created_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "POSITION", "description": "Sort by the `position` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "ProductMediaSortKeys", "description": "The set of valid sort keys for the ProductMedia query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "POSITION", "description": "Sort by the `position` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductOption", "description": "Product property names like \"Size\", \"Color\", and \"Material\" that the customers can select.\nVariants are selected based on permutations of these options.\n255 characters limit each.\n", "fields": [ { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The product option’s name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "values", "description": "The corresponding value to the product option name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductPriceRange", "description": "The price range of the product.", "fields": [ { "name": "maxVariantPrice", "description": "The highest variant's price.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "minVariantPrice", "description": "The lowest variant's price.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductPriceRangeConnection", "description": "An auto-generated type for paginating through multiple ProductPriceRanges.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRangeEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductPriceRangeEdge", "description": "An auto-generated type which holds one ProductPriceRange and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ProductPriceRangeEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductPriceRange", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ProductSortKeys", "description": "The set of valid sort keys for the Product query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRODUCT_TYPE", "description": "Sort by the `product_type` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "VENDOR", "description": "Sort by the `vendor` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPDATED_AT", "description": "Sort by the `updated_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATED_AT", "description": "Sort by the `created_at` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "BEST_SELLING", "description": "Sort by the `best_selling` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRICE", "description": "Sort by the `price` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariant", "description": "A product variant represents a different version of a product, such as differing sizes or differing colors.", "fields": [ { "name": "available", "description": "Indicates if the product variant is in stock.", "args": [ ], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `availableForSale` instead" }, { "name": "availableForSale", "description": "Indicates if the product variant is available for sale.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "compareAtPrice", "description": "The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`.", "args": [ ], "type": { "kind": "SCALAR", "name": "Money", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `compareAtPriceV2` instead" }, { "name": "compareAtPriceV2", "description": "The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentlyNotInStock", "description": "Whether a product is out of stock but still available for purchase (used for backorders).", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "image", "description": "Image associated with the product variant. This field falls back to the product image if no image is available.", "args": [ { "name": "maxWidth", "description": "Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "maxHeight", "description": "Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "crop", "description": "Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead.", "type": { "kind": "ENUM", "name": "CropRegion", "ofType": null }, "defaultValue": null }, { "name": "scale", "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "1" } ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "metafield", "description": "Returns a metafield found by namespace and key.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "key", "description": "Identifier for the metafield (maximum of 30 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Metafield", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "metafields", "description": "A paginated list of metafields associated with the resource.", "args": [ { "name": "namespace", "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MetafieldConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "presentmentPrices", "description": "List of prices and compare-at prices in the presentment currencies for this shop.", "args": [ { "name": "presentmentCurrencies", "description": "The presentment currencies prices should return in.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePairConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `@inContext` instead." }, { "name": "presentmentUnitPrices", "description": "List of unit prices in the presentment currencies for this shop.", "args": [ { "name": "presentmentCurrencies", "description": "Specify the currencies in which to return presentment unit prices.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } } }, "defaultValue": null }, { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2Connection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `@inContext` instead." }, { "name": "price", "description": "The product variant’s price.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `priceV2` instead" }, { "name": "priceV2", "description": "The product variant’s price.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "product", "description": "The product object that the product variant belongs to.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantityAvailable", "description": "The total sellable quantity of the variant for online sales channels.", "args": [ ], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiresShipping", "description": "Whether a customer needs to provide a shipping address when placing an order for the product variant.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "selectedOptions", "description": "List of product options applied to the variant.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SelectedOption", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sku", "description": "The SKU (stock keeping unit) associated with the variant.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The product variant’s title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "unitPrice", "description": "The unit price value for the variant based on the variant's measurement.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unitPriceMeasurement", "description": "The unit price measurement for the variant.", "args": [ ], "type": { "kind": "OBJECT", "name": "UnitPriceMeasurement", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "weight", "description": "The weight of the product variant in the unit system specified with `weight_unit`.", "args": [ ], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "weightUnit", "description": "Unit of measurement for weight.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "WeightUnit", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "HasMetafields", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariantConnection", "description": "An auto-generated type for paginating through multiple ProductVariants.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariantEdge", "description": "An auto-generated type which holds one ProductVariant and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ProductVariantEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariant", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariantPricePair", "description": "The compare-at price and price of a variant sharing a currency.\n", "fields": [ { "name": "compareAtPrice", "description": "The compare-at price of the variant with associated currency.", "args": [ ], "type": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "The price of the variant with associated currency.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariantPricePairConnection", "description": "An auto-generated type for paginating through multiple ProductVariantPricePairs.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePairEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductVariantPricePairEdge", "description": "An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of ProductVariantPricePairEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductVariantPricePair", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ProductVariantSortKeys", "description": "The set of valid sort keys for the ProductVariant query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TITLE", "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "SKU", "description": "Sort by the `sku` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "POSITION", "description": "Sort by the `position` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "ID", "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the\nresults by relevance to the search term(s). When no search query is specified, this sort key is not\ndeterministic and should not be used.\n", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "QueryRoot", "description": "The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.", "fields": [ { "name": "articles", "description": "List of the shop's articles.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ArticleSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "blogByHandle", "description": "Find a blog by its handle.", "args": [ { "name": "handle", "description": "The handle of the blog.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Blog", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "blogs", "description": "List of the shop's blogs.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "BlogSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BlogConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "collectionByHandle", "description": "Find a collection by its handle.", "args": [ { "name": "handle", "description": "The handle of the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "collections", "description": "List of the shop’s collections.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "CollectionSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `collection_type`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customer", "description": "Find a customer by its access token.", "args": [ { "name": "customerAccessToken", "description": "The customer access token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Customer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "Returns a specific node by ID.", "args": [ { "name": "id", "description": "The ID of the Node to return.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "INTERFACE", "name": "Node", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "nodes", "description": "Returns the list of nodes with the given IDs.", "args": [ { "name": "ids", "description": "The IDs of the Nodes to return.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Node", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageByHandle", "description": "Find a page by its handle.", "args": [ { "name": "handle", "description": "The handle of the page.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Page", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pages", "description": "List of the shop's pages.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "PageSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productByHandle", "description": "Find a product by its handle.", "args": [ { "name": "handle", "description": "The handle of the product.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Product", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "productRecommendations", "description": "Find recommended products related to a given `product_id`.\nTo learn more about how recommendations are generated, see\n[*Showing product recommendations on product pages*](https://help.shopify.com/themes/development/recommended-products).\n", "args": [ { "name": "productId", "description": "The id of the product.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Product", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productTags", "description": "Tags added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productTypes", "description": "List of product types for the shop's products that are published to your app.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "products", "description": "List of the shop’s products.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `available_for_sale`\n - `created_at`\n - `product_type`\n - `tag`\n - `title`\n - `updated_at`\n - `variants.price`\n - `vendor`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "publicApiVersions", "description": "The list of public Storefront API versions, including supported, release candidate and unstable versions.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ApiVersion", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shop", "description": "The shop associated with the storefront access token.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Shop", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SEO", "description": "SEO information.", "fields": [ { "name": "description", "description": "The meta description.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The SEO title.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ScriptDiscountApplication", "description": "Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script.\n", "fields": [ { "name": "allocationMethod", "description": "The method by which the discount's value is allocated to its entitled items.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationAllocationMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of the application as defined by the Script.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `title` instead" }, { "name": "targetSelection", "description": "Which lines of targetType that the discount is allocated over.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetSelection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetType", "description": "The type of line that the discount is applicable towards.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountApplicationTargetType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the application as defined by the Script.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The value of the discount application.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DiscountApplication", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SelectedOption", "description": "Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.\n", "fields": [ { "name": "name", "description": "The product option’s name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", "description": "The product option’s value.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SelectedOptionInput", "description": "Specifies the input fields required for a selected option.", "fields": null, "inputFields": [ { "name": "name", "description": "The product option’s name.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "value", "description": "The product option’s value.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ShippingRate", "description": "A shipping rate to be applied to a checkout.", "fields": [ { "name": "handle", "description": "Human-readable unique identifier for this shipping rate.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "Price of this shipping rate.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `priceV2` instead" }, { "name": "priceV2", "description": "Price of this shipping rate.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "Title of this shipping rate.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Shop", "description": "Shop represents a collection of the general settings and information about the shop.", "fields": [ { "name": "articles", "description": "List of the shop' articles.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ArticleSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ArticleConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.articles` instead." }, { "name": "blogs", "description": "List of the shop' blogs.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "BlogSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BlogConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.blogs` instead." }, { "name": "collectionByHandle", "description": "Find a collection by its handle.", "args": [ { "name": "handle", "description": "The handle of the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.collectionByHandle` instead." }, { "name": "collections", "description": "List of the shop’s collections.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "CollectionSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `collection_type`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.collections` instead." }, { "name": "currencyCode", "description": "The three-letter code for the currency that the shop accepts.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CurrencyCode", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `paymentSettings` instead" }, { "name": "description", "description": "A description of the shop.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "moneyFormat", "description": "A string representing the way currency is formatted when the currency isn’t specified.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The shop’s name.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentSettings", "description": "Settings related to payments.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primaryDomain", "description": "The shop’s primary domain.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Domain", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "privacyPolicy", "description": "The shop’s privacy policy.", "args": [ ], "type": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "productByHandle", "description": "Find a product by its handle.", "args": [ { "name": "handle", "description": "The handle of the product.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Product", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.productByHandle` instead." }, { "name": "productTags", "description": "A list of tags that have been added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.productTags` instead." }, { "name": "productTypes", "description": "List of the shop’s product types.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.productTypes` instead." }, { "name": "products", "description": "List of the shop’s products.", "args": [ { "name": "first", "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": "Returns the elements that come after the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "last", "description": "Returns up to the last `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "reverse", "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "sortKey", "description": "Sort the underlying list by the given key.", "type": { "kind": "ENUM", "name": "ProductSortKeys", "ofType": null }, "defaultValue": "ID" }, { "name": "query", "description": "Supported filter parameters:\n - `available_for_sale`\n - `created_at`\n - `product_type`\n - `tag`\n - `title`\n - `updated_at`\n - `variants.price`\n - `vendor`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters.\n", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `QueryRoot.products` instead." }, { "name": "refundPolicy", "description": "The shop’s refund policy.", "args": [ ], "type": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "shippingPolicy", "description": "The shop’s shipping policy.", "args": [ ], "type": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "shipsToCountries", "description": "Countries that the shop ships to.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CountryCode", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "shopifyPaymentsAccountId", "description": "The shop’s Shopify Payments account id.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use `paymentSettings` instead" }, { "name": "termsOfService", "description": "The shop’s terms of service.", "args": [ ], "type": { "kind": "OBJECT", "name": "ShopPolicy", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ShopPolicy", "description": "Policy that a merchant has configured for their store, such as their refund or privacy policy.", "fields": [ { "name": "body", "description": "Policy text, maximum size of 64kb.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "handle", "description": "Policy’s handle.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "Policy’s title.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "Public URL to the policy.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "URL", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "String", "description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StringConnection", "description": "An auto-generated type for paginating through multiple Strings.\n", "fields": [ { "name": "edges", "description": "A list of edges.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "StringEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information to aid in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StringEdge", "description": "An auto-generated type which holds one String and a cursor during pagination.\n", "fields": [ { "name": "cursor", "description": "A cursor for use in pagination.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The item at the end of StringEdge.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInput", "description": "Specifies the fields required to complete a checkout with\na tokenized payment.\n", "fields": null, "inputFields": [ { "name": "amount", "description": "The amount of the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "defaultValue": null }, { "name": "idempotencyKey", "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "The type of payment token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "paymentData", "description": "A simple string or JSON containing the required payment data for the tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "test", "description": "Executes the payment in test mode if possible. Defaults to `false`.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "identifier", "description": "Public Hash Key used for AndroidPay payments only.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInputV2", "description": "Specifies the fields required to complete a checkout with\na tokenized payment.\n", "fields": null, "inputFields": [ { "name": "paymentAmount", "description": "The amount and currency of the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, "defaultValue": null }, { "name": "idempotencyKey", "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "paymentData", "description": "A simple string or JSON containing the required payment data for the tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "test", "description": "Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "identifier", "description": "Public Hash Key used for AndroidPay payments only.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "type", "description": "The type of payment token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TokenizedPaymentInputV3", "description": "Specifies the fields required to complete a checkout with\na tokenized payment.\n", "fields": null, "inputFields": [ { "name": "paymentAmount", "description": "The amount and currency of the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MoneyInput", "ofType": null } }, "defaultValue": null }, { "name": "idempotencyKey", "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "billingAddress", "description": "The billing address for the payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "MailingAddressInput", "ofType": null } }, "defaultValue": null }, { "name": "paymentData", "description": "A simple string or JSON containing the required payment data for the tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "test", "description": "Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" }, { "name": "identifier", "description": "Public Hash Key used for AndroidPay payments only.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "type", "description": "The type of payment token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentTokenType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Transaction", "description": "An object representing exchange of money for a product or service.", "fields": [ { "name": "amount", "description": "The amount of money that the transaction was for.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Money", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `amountV2` instead" }, { "name": "amountV2", "description": "The amount of money that the transaction was for.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "kind", "description": "The kind of the transaction.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TransactionKind", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "The status of the transaction.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TransactionStatus", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `statusV2` instead" }, { "name": "statusV2", "description": "The status of the transaction.", "args": [ ], "type": { "kind": "ENUM", "name": "TransactionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "test", "description": "Whether the transaction was done in test mode or not.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "TransactionKind", "description": "The different kinds of order transactions.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SALE", "description": "An authorization and capture performed together in a single step.", "isDeprecated": false, "deprecationReason": null }, { "name": "CAPTURE", "description": "A transfer of the money that was reserved during the authorization stage.", "isDeprecated": false, "deprecationReason": null }, { "name": "AUTHORIZATION", "description": "An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.\n", "isDeprecated": false, "deprecationReason": null }, { "name": "EMV_AUTHORIZATION", "description": "An authorization for a payment taken with an EMV credit card reader.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANGE", "description": "Money returned to the customer when they have paid too much.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "TransactionStatus", "description": "Transaction statuses describe the status of a transaction.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PENDING", "description": "The transaction is pending.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUCCESS", "description": "The transaction succeeded.", "isDeprecated": false, "deprecationReason": null }, { "name": "FAILURE", "description": "The transaction failed.", "isDeprecated": false, "deprecationReason": null }, { "name": "ERROR", "description": "There was an error while processing the transaction.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "SCALAR", "name": "URL", "description": "An RFC 3986 and RFC 3987 compliant URI string.\n\nExample value: `\"https://johns-apparel.myshopify.com\"`.\n", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnitPriceMeasurement", "description": "The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).\n", "fields": [ { "name": "measuredType", "description": "The type of unit of measurement for the unit price measurement.", "args": [ ], "type": { "kind": "ENUM", "name": "UnitPriceMeasurementMeasuredType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantityUnit", "description": "The quantity unit for the unit price measurement.", "args": [ ], "type": { "kind": "ENUM", "name": "UnitPriceMeasurementMeasuredUnit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantityValue", "description": "The quantity value for the unit price measurement.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "referenceUnit", "description": "The reference unit for the unit price measurement.", "args": [ ], "type": { "kind": "ENUM", "name": "UnitPriceMeasurementMeasuredUnit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "referenceValue", "description": "The reference value for the unit price measurement.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "UnitPriceMeasurementMeasuredType", "description": "The accepted types of unit of measurement.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "VOLUME", "description": "Unit of measurements representing volumes.", "isDeprecated": false, "deprecationReason": null }, { "name": "WEIGHT", "description": "Unit of measurements representing weights.", "isDeprecated": false, "deprecationReason": null }, { "name": "LENGTH", "description": "Unit of measurements representing lengths.", "isDeprecated": false, "deprecationReason": null }, { "name": "AREA", "description": "Unit of measurements representing areas.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "UnitPriceMeasurementMeasuredUnit", "description": "The valid units of measurement for a unit price measurement.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ML", "description": "1000 milliliters equals 1 liter.", "isDeprecated": false, "deprecationReason": null }, { "name": "CL", "description": "100 centiliters equals 1 liter.", "isDeprecated": false, "deprecationReason": null }, { "name": "L", "description": "Metric system unit of volume.", "isDeprecated": false, "deprecationReason": null }, { "name": "M3", "description": "1 cubic meter equals 1000 liters.", "isDeprecated": false, "deprecationReason": null }, { "name": "MG", "description": "1000 milligrams equals 1 gram.", "isDeprecated": false, "deprecationReason": null }, { "name": "G", "description": "Metric system unit of weight.", "isDeprecated": false, "deprecationReason": null }, { "name": "KG", "description": "1 kilogram equals 1000 grams.", "isDeprecated": false, "deprecationReason": null }, { "name": "MM", "description": "1000 millimeters equals 1 meter.", "isDeprecated": false, "deprecationReason": null }, { "name": "CM", "description": "100 centimeters equals 1 meter.", "isDeprecated": false, "deprecationReason": null }, { "name": "M", "description": "Metric system unit of length.", "isDeprecated": false, "deprecationReason": null }, { "name": "M2", "description": "Metric system unit of area.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "UserError", "description": "Represents an error in the input of a mutation.", "fields": [ { "name": "field", "description": "The path to the input field that caused the error.", "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": "The error message.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DisplayableError", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Video", "description": "Represents a Shopify hosted video.", "fields": [ { "name": "alt", "description": "A word or phrase to share the nature or contents of a media.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Globally unique identifier.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mediaContentType", "description": "The media content type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "MediaContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImage", "description": "The preview image for the media.", "args": [ ], "type": { "kind": "OBJECT", "name": "Image", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sources", "description": "The sources for a video.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoSource", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Node", "ofType": null }, { "kind": "INTERFACE", "name": "Media", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoSource", "description": "Represents a source for a Shopify hosted video.", "fields": [ { "name": "format", "description": "The format of the video source.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": "The height of the video.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mimeType", "description": "The video MIME type.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL of the video.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": "The width of the video.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "WeightUnit", "description": "Units of measurement for weight.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "KILOGRAMS", "description": "1 kilogram equals 1000 grams.", "isDeprecated": false, "deprecationReason": null }, { "name": "GRAMS", "description": "Metric system unit of mass.", "isDeprecated": false, "deprecationReason": null }, { "name": "POUNDS", "description": "1 pound equals 16 ounces.", "isDeprecated": false, "deprecationReason": null }, { "name": "OUNCES", "description": "Imperial system unit of mass.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "__Directive", "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", "fields": [ { "name": "args", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "locations", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__DirectiveLocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "onField", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `locations`." }, { "name": "onFragment", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `locations`." }, { "name": "onOperation", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use `locations`." } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "__DirectiveLocation", "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "QUERY", "description": "Location adjacent to a query operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "MUTATION", "description": "Location adjacent to a mutation operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUBSCRIPTION", "description": "Location adjacent to a subscription operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "FIELD", "description": "Location adjacent to a field.", "isDeprecated": false, "deprecationReason": null }, { "name": "FRAGMENT_DEFINITION", "description": "Location adjacent to a fragment definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "FRAGMENT_SPREAD", "description": "Location adjacent to a fragment spread.", "isDeprecated": false, "deprecationReason": null }, { "name": "INLINE_FRAGMENT", "description": "Location adjacent to an inline fragment.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCHEMA", "description": "Location adjacent to a schema definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCALAR", "description": "Location adjacent to a scalar definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "OBJECT", "description": "Location adjacent to an object type definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "FIELD_DEFINITION", "description": "Location adjacent to a field definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ARGUMENT_DEFINITION", "description": "Location adjacent to an argument definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERFACE", "description": "Location adjacent to an interface definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNION", "description": "Location adjacent to a union definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM", "description": "Location adjacent to an enum definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM_VALUE", "description": "Location adjacent to an enum value definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_OBJECT", "description": "Location adjacent to an input object type definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_FIELD_DEFINITION", "description": "Location adjacent to an input object field definition.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "__EnumValue", "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", "fields": [ { "name": "deprecationReason", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeprecated", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Field", "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", "fields": [ { "name": "accessRestricted", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "accessRestrictedReason", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "args", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deprecationReason", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeprecated", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiredAccess", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__InputValue", "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", "fields": [ { "name": "defaultValue", "description": "A GraphQL-formatted string representing the default value for this input value.", "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deprecationReason", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeprecated", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Schema", "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", "fields": [ { "name": "directives", "description": "A list of all directives supported by this server.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Directive", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mutationType", "description": "If this server supports mutation, the type that mutation operations will be rooted at.", "args": [ ], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "queryType", "description": "The type that query operations will be rooted at.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionType", "description": "If this server support subscription, the type that subscription operations will be rooted at.", "args": [ ], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "types", "description": "A list of all types supported by this server.", "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Type", "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", "fields": [ { "name": "accessRestricted", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "accessRestrictedReason", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "componentName", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "enumValues", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__EnumValue", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "fields", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Field", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputFields", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "interfaces", "description": null, "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "kind", "description": null, "args": [ ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__TypeKind", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ofType", "description": null, "args": [ ], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "possibleTypes", "description": null, "args": [ ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiredAccess", "description": null, "args": [ ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "__TypeKind", "description": "An enum describing what kind of type a given `__Type` is.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SCALAR", "description": "Indicates this type is a scalar.", "isDeprecated": false, "deprecationReason": null }, { "name": "OBJECT", "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERFACE", "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNION", "description": "Indicates this type is a union. `possibleTypes` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM", "description": "Indicates this type is an enum. `enumValues` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_OBJECT", "description": "Indicates this type is an input object. `inputFields` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "LIST", "description": "Indicates this type is a list. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "NON_NULL", "description": "Indicates this type is a non-null. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null } ], "directives": [ { "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "args": [ { "name": "if", "description": "Included when true.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ] }, { "name": "skip", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "args": [ { "name": "if", "description": "Skipped when true.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ] }, { "name": "deprecated", "description": "Marks an element of a GraphQL schema as no longer supported.", "locations": [ "FIELD_DEFINITION", "ENUM_VALUE", "ARGUMENT_DEFINITION", "INPUT_FIELD_DEFINITION" ], "args": [ { "name": "reason", "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": "\"No longer supported\"" } ] }, { "name": "accessRestricted", "description": "Marks an element of a GraphQL schema as having restricted access.", "locations": [ "FIELD_DEFINITION", "OBJECT" ], "args": [ { "name": "reason", "description": "Explains the reason around this restriction", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": "null" } ] } ] } }
}