diff --git a/docs/config.js.html b/docs/config.js.html index 95162f25b..521f369da 100644 --- a/docs/config.js.html +++ b/docs/config.js.html @@ -85,7 +85,7 @@

Source: config.js

if (attrs.hasOwnProperty('apiVersion')) { this.apiVersion = attrs.apiVersion; } else { - this.apiVersion = '2020-07'; + this.apiVersion = '2021-07'; } if (attrs.hasOwnProperty('source')) { diff --git a/package.json b/package.json index 7794f02a6..8c03e3c65 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lint": "eslint --max-warnings 0 -c .eslintrc.json $(yarn run lint:reporter-args 2>&1 >/dev/null) src/ test/", "lint:reporter-args": "test -n \"${CI}\" && >&2 echo -o $CIRCLE_TEST_REPORTS/junit/eslint.xml -f junit", "print-start-message": "wait-on file:.tmp/test/index.html file:.tmp/test/tests.js tcp:35729 tcp:4200 && echo \"\n\n⚡️⚡️⚡️ Good to go at http://localhost:4200 ⚡️⚡️⚡️\"", - "schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2020-07/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json", + "schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2021-07/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json", "minify-umd:optimized": "echo \"/*\n$(cat LICENSE.txt)\n*/\" > index.umd.min.js && babel-minify index.umd.js >> index.umd.min.js", "minify-umd:unoptimized": "echo \"/*\n$(cat LICENSE.txt)\n*/\" > index.unoptimized.umd.min.js && babel-minify index.unoptimized.umd.js >> index.unoptimized.umd.min.js" }, diff --git a/schema.json b/schema.json index db8d620f7..f80df2b49 100644 --- a/schema.json +++ b/schema.json @@ -48,7 +48,7 @@ }, { "name": "supported", - "description": "Whether the version is supported by Shopify.", + "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", @@ -476,6 +476,124 @@ "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": "publishedAt", "description": "The date and time when the article was published.", @@ -567,6 +685,11 @@ "kind": "INTERFACE", "name": "Node", "ofType": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null } ], "enumValues": null, @@ -662,7 +785,7 @@ { "kind": "OBJECT", "name": "ArticleConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Articles.\n", "fields": [ { "name": "edges", @@ -713,7 +836,7 @@ { "kind": "OBJECT", "name": "ArticleEdge", - "description": null, + "description": "An auto-generated type which holds one Article and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -1203,6 +1326,136 @@ "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": "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.", @@ -1242,6 +1495,11 @@ "kind": "INTERFACE", "name": "Node", "ofType": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null } ], "enumValues": null, @@ -1250,7 +1508,7 @@ { "kind": "OBJECT", "name": "BlogConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Blogs.\n", "fields": [ { "name": "edges", @@ -1301,7 +1559,7 @@ { "kind": "OBJECT", "name": "BlogEdge", - "description": null, + "description": "An auto-generated type which holds one Blog and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -1396,37 +1654,37 @@ "enumValues": [ { "name": "VISA", - "description": "Visa", + "description": "Visa.", "isDeprecated": false, "deprecationReason": null }, { "name": "MASTERCARD", - "description": "Mastercard", + "description": "Mastercard.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOVER", - "description": "Discover", + "description": "Discover.", "isDeprecated": false, "deprecationReason": null }, { "name": "AMERICAN_EXPRESS", - "description": "American Express", + "description": "American Express.", "isDeprecated": false, "deprecationReason": null }, { "name": "DINERS_CLUB", - "description": "Diners Club", + "description": "Diners Club.", "isDeprecated": false, "deprecationReason": null }, { "name": "JCB", - "description": "JCB", + "description": "JCB.", "isDeprecated": false, "deprecationReason": null } @@ -1475,7 +1733,23 @@ "deprecationReason": null }, { - "name": "completedAt", + "name": "buyerIdentity", + "description": "The identity of the customer associated with the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutBuyerIdentity", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completedAt", "description": "The date and time when the checkout was completed.", "args": [], "type": { @@ -1718,7 +1992,7 @@ }, { "name": "lineItemsSubtotalPrice", - "description": "The sum of all the prices of all the items in the checkout. Taxes, shipping and discounts excluded.", + "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", @@ -1786,7 +2060,7 @@ }, { "name": "paymentDueV2", - "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.", + "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", @@ -1898,7 +2172,7 @@ }, { "name": "subtotalPriceV2", - "description": "Price of the checkout before shipping and taxes.", + "description": "Price of the checkout before duties, shipping and taxes.", "args": [], "type": { "kind": "NON_NULL", @@ -1944,6 +2218,18 @@ "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.", @@ -1962,7 +2248,7 @@ }, { "name": "totalPriceV2", - "description": "The sum of all the prices of all the items in the checkout, taxes and discounts included.", + "description": "The sum of all the prices of all the items in the checkout, duties, taxes and discounts included.", "args": [], "type": { "kind": "NON_NULL", @@ -2088,7 +2374,7 @@ }, { "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 complete time.\n", + "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", @@ -2124,7 +2410,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2148,7 +2434,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2212,7 +2498,7 @@ }, { "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 complete time.\n", + "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", @@ -2244,7 +2530,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2268,7 +2554,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2296,6 +2582,54 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "CheckoutBuyerIdentity", + "description": "The identity of the customer associated with the checkout.", + "fields": [ + { + "name": "countryCode", + "description": "The country code for the checkout. For example, `CA`.", + "args": [], + "type": { + "kind": "ENUM", + "name": "CountryCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutBuyerIdentityInput", + "description": "Specifies the identity of the customer associated with the checkout.", + "fields": null, + "inputFields": [ + { + "name": "countryCode", + "description": "The country code of one of the shop's\n[enabled countries](https://help.shopify.com/en/manual/payments/shopify-payments/multi-currency/setup).\nFor example, `CA`. Including this field creates a checkout in the specified country's currency.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CountryCode", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "CheckoutCompleteFreePayload", @@ -2315,7 +2649,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2339,7 +2673,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2390,7 +2724,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2426,7 +2760,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2473,7 +2807,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2509,7 +2843,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2560,7 +2894,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2596,7 +2930,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2643,7 +2977,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2679,7 +3013,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2726,7 +3060,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2762,7 +3096,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2864,7 +3198,7 @@ }, { "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 complete time.\n", + "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", @@ -2874,13 +3208,23 @@ }, { "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", + "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 + }, + { + "name": "buyerIdentity", + "description": "The identity of the customer associated with the checkout.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutBuyerIdentityInput", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -2906,7 +3250,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2928,9 +3272,21 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "queueToken", + "description": "The checkout queue token. Available only to selected stores.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -2993,7 +3349,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3040,7 +3396,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3076,7 +3432,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3127,7 +3483,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3151,7 +3507,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3198,7 +3554,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3222,7 +3578,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3273,7 +3629,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3297,7 +3653,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3344,7 +3700,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3368,7 +3724,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3415,7 +3771,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3439,7 +3795,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3490,7 +3846,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3514,7 +3870,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3561,7 +3917,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3585,7 +3941,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3616,50 +3972,50 @@ { "kind": "ENUM", "name": "CheckoutErrorCode", - "description": "Possible error codes that could be returned by a checkout mutation.", + "description": "Possible error codes that could be returned by CheckoutUserError.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BLANK", - "description": "Input value is blank.", + "description": "The input value is blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID", - "description": "Input value is invalid.", + "description": "The input value is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_LONG", - "description": "Input value is too long.", + "description": "The input value is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRESENT", - "description": "Input value is not present.", + "description": "The input value needs to be blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "LESS_THAN", - "description": "Input value should be less than maximum allowed value.", + "description": "The input value should be less than the maximum value allowed.", "isDeprecated": false, "deprecationReason": null }, { "name": "GREATER_THAN_OR_EQUAL_TO", - "description": "Input value should be greater than or equal to minimum allowed value.", + "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": "Input value should be less or equal to maximum allowed value.", + "description": "The input value should be less than or equal to the maximum value allowed.", "isDeprecated": false, "deprecationReason": null }, @@ -3848,6 +4204,30 @@ "description": "Discount already applied.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "THROTTLED_DURING_CHECKOUT", + "description": "Throttled during checkout.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED_QUEUE_TOKEN", + "description": "Queue token has expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_QUEUE_TOKEN", + "description": "Queue token is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_COUNTRY_AND_CURRENCY", + "description": "Cannot specify country and presentment currency code.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -3875,7 +4255,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3899,7 +4279,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3950,7 +4330,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -3974,7 +4354,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4021,7 +4401,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4045,7 +4425,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4092,7 +4472,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4116,7 +4496,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4284,7 +4664,7 @@ { "kind": "OBJECT", "name": "CheckoutLineItemConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple CheckoutLineItems.\n", "fields": [ { "name": "edges", @@ -4335,7 +4715,7 @@ { "kind": "OBJECT", "name": "CheckoutLineItemEdge", - "description": null, + "description": "An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -4510,7 +4890,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4534,7 +4914,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4581,7 +4961,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4605,7 +4985,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4652,7 +5032,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4699,7 +5079,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4723,7 +5103,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4774,7 +5154,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4798,7 +5178,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4845,7 +5225,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4869,7 +5249,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4916,7 +5296,7 @@ }, { "name": "checkoutUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4940,7 +5320,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -4975,7 +5355,7 @@ "fields": [ { "name": "code", - "description": "Error code to uniquely identify the error.", + "description": "The error code.", "args": [], "type": { "kind": "ENUM", @@ -4987,7 +5367,7 @@ }, { "name": "field", - "description": "Path to the input field which caused the error.", + "description": "The path to the input field that caused the error.", "args": [], "type": { "kind": "LIST", @@ -5166,6 +5546,124 @@ "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": "products", "description": "List of products in the collection.", @@ -5282,6 +5780,11 @@ "kind": "INTERFACE", "name": "Node", "ofType": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null } ], "enumValues": null, @@ -5290,7 +5793,7 @@ { "kind": "OBJECT", "name": "CollectionConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Collections.\n", "fields": [ { "name": "edges", @@ -5341,7 +5844,7 @@ { "kind": "OBJECT", "name": "CollectionEdge", - "description": null, + "description": "An auto-generated type which holds one Collection and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -5554,7 +6057,7 @@ { "kind": "OBJECT", "name": "CommentConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Comments.\n", "fields": [ { "name": "edges", @@ -5605,7 +6108,7 @@ { "kind": "OBJECT", "name": "CommentEdge", - "description": null, + "description": "An auto-generated type which holds one Comment and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -5646,22 +6149,97 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "CountryCode", - "description": "ISO 3166-1 alpha-2 country codes with some differences.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "kind": "OBJECT", + "name": "Country", + "description": "A country.", + "fields": [ { - "name": "AF", - "description": "Afghanistan.", + "name": "currency", + "description": "The currency of the country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Currency", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "AX", - "description": "Åland Islands.", + "name": "isoCode", + "description": "The ISO code of the country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CountryCode", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitSystem", + "description": "The unit system used in the country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "UnitSystem", + "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 }, @@ -5719,6 +6297,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "AC", + "description": "Ascension Island.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "AU", "description": "Australia.", @@ -6231,7 +6815,7 @@ }, { "name": "HK", - "description": "Hong Kong SAR China.", + "description": "Hong Kong SAR.", "isDeprecated": false, "deprecationReason": null }, @@ -6417,7 +7001,7 @@ }, { "name": "MO", - "description": "Macao SAR China.", + "description": "Macao SAR.", "isDeprecated": false, "deprecationReason": null }, @@ -6973,6 +7557,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "TA", + "description": "Tristan da Cunha.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "TN", "description": "Tunisia.", @@ -7104,6 +7694,12 @@ "description": "Zimbabwe.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "ZZ", + "description": "Unknown Region.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -7237,7 +7833,7 @@ }, { "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.", + "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, @@ -7314,7 +7910,7 @@ }, { "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.", + "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, @@ -7410,6 +8006,65 @@ ], "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "Currency", + "description": "A currency.", + "fields": [ + { + "name": "isoCode", + "description": "The ISO code of the currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CurrencyCode", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "symbol", + "description": "The symbol of the currency.", + "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": "ENUM", "name": "CurrencyCode", @@ -7526,12 +8181,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "BYR", - "description": "Belarusian Ruble (BYR).", - "isDeprecated": true, - "deprecationReason": "`BYR` is deprecated. Use `BYN` available from version `2019-10` onwards instead." - }, { "name": "BZD", "description": "Belize Dollar (BZD).", @@ -7670,12 +8319,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "DJF", - "description": "Djiboutian Franc (DJF).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "DOP", "description": "Dominican Peso (DOP).", @@ -7700,12 +8343,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "FKP", - "description": "Falkland Islands Pounds (FKP).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "XPF", "description": "CFP Franc (XPF).", @@ -7718,12 +8355,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "GIP", - "description": "Gibraltar Pounds (GIP).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "GMD", "description": "Gambian Dalasi (GMD).", @@ -7754,12 +8385,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "GNF", - "description": "Guinean Franc (GNF).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "HTG", "description": "Haitian Gourde (HTG).", @@ -7808,12 +8433,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "IRR", - "description": "Iranian Rial (IRR).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "IQD", "description": "Iraqi Dinar (IQD).", @@ -7898,12 +8517,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "LYD", - "description": "Libyan Dinar (LYD).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "LTL", "description": "Lithuanian Litai (LTL).", @@ -8102,12 +8715,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "SHP", - "description": "Saint Helena Pounds (SHP).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "SAR", "description": "Saudi Riyal (SAR).", @@ -8132,12 +8739,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "SLL", - "description": "Sierra Leonean Leone (SLL).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "SGD", "description": "Singapore Dollars (SGD).", @@ -8222,24 +8823,12 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "TJS", - "description": "Tajikistani Somoni (TJS).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "TZS", "description": "Tanzanian Shilling (TZS).", "isDeprecated": false, "deprecationReason": null }, - { - "name": "TOP", - "description": "Tongan Pa'anga (TOP).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "TTD", "description": "Trinidad and Tobago Dollars (TTD).", @@ -8300,12 +8889,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "VEF", - "description": "Venezuelan Bolivares (VEF).", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "VND", "description": "Vietnamese đồng (VND).", @@ -8329,76 +8912,190 @@ "description": "Zambian Kwacha (ZMW).", "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 - } - }, + "name": "BYN", + "description": "Belarusian Ruble (BYN).", "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": "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 + }, + { + "name": "XXX", + "description": "Unrecognized currency.", + "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": { @@ -8530,9 +9227,60 @@ "deprecationReason": null }, { - "name": "orders", - "description": "The orders associated with the customer.", + "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.", @@ -8582,26 +9330,6 @@ "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": { @@ -8609,7 +9337,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "OrderConnection", + "name": "MetafieldConnection", "ofType": null } }, @@ -8617,24 +9345,111 @@ "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, + "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, @@ -8670,7 +9485,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -8775,7 +9596,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -8799,7 +9620,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -8846,7 +9667,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -8905,7 +9726,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -8952,7 +9773,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9011,7 +9832,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9109,7 +9930,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9133,7 +9954,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9180,7 +10001,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9204,7 +10025,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9239,7 +10060,7 @@ "fields": [ { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9275,7 +10096,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9322,7 +10143,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9346,7 +10167,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9377,7 +10198,7 @@ { "kind": "INPUT_OBJECT", "name": "CustomerCreateInput", - "description": "Specifies the fields required to create a new customer.", + "description": "The fields required to create a new customer.", "fields": null, "inputFields": [ { @@ -9472,7 +10293,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9496,7 +10317,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9543,7 +10364,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9567,7 +10388,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9598,38 +10419,38 @@ { "kind": "ENUM", "name": "CustomerErrorCode", - "description": "Possible error codes that could be returned by a customer mutation.", + "description": "Possible error codes that could be returned by CustomerUserError.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BLANK", - "description": "Input value is blank.", + "description": "The input value is blank.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID", - "description": "Input value is invalid.", + "description": "The input value is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "TAKEN", - "description": "Input value is already taken.", + "description": "The input value is already taken.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_LONG", - "description": "Input value is too long.", + "description": "The input value is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_SHORT", - "description": "Input value is too short.", + "description": "The input value is too short.", "isDeprecated": false, "deprecationReason": null }, @@ -9703,7 +10524,7 @@ "fields": [ { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9727,7 +10548,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9786,7 +10607,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9810,7 +10631,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9908,7 +10729,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -9932,7 +10753,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -10062,7 +10883,7 @@ }, { "name": "customerUserErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -10086,7 +10907,7 @@ }, { "name": "userErrors", - "description": "List of errors that occurred executing the mutation.", + "description": "The list of errors that occurred from executing the mutation.", "args": [], "type": { "kind": "NON_NULL", @@ -10121,7 +10942,7 @@ "fields": [ { "name": "code", - "description": "Error code to uniquely identify the error.", + "description": "The error code.", "args": [], "type": { "kind": "ENUM", @@ -10133,7 +10954,7 @@ }, { "name": "field", - "description": "Path to the input field which caused the error.", + "description": "The path to the input field that caused the error.", "args": [], "type": { "kind": "LIST", @@ -10405,7 +11226,7 @@ { "kind": "OBJECT", "name": "DiscountApplicationConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple DiscountApplications.\n", "fields": [ { "name": "edges", @@ -10456,7 +11277,7 @@ { "kind": "OBJECT", "name": "DiscountApplicationEdge", - "description": null, + "description": "An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -10668,7 +11489,7 @@ "fields": [ { "name": "field", - "description": "Path to the input field which caused the error.", + "description": "The path to the input field that caused the error.", "args": [], "type": { "kind": "LIST", @@ -10816,6 +11637,22 @@ "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.", @@ -11058,7 +11895,7 @@ { "kind": "OBJECT", "name": "FulfillmentLineItemConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple FulfillmentLineItems.\n", "fields": [ { "name": "edges", @@ -11109,7 +11946,7 @@ { "kind": "OBJECT", "name": "FulfillmentLineItemEdge", - "description": null, + "description": "An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -11184,6 +12021,45 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "GeoCoordinateInput", + "description": "Used to specify a geographical location.", + "fields": null, + "inputFields": [ + { + "name": "latitude", + "description": "The coordinate's latitude value.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "longitude", + "description": "The coordinate's longitude value.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "HTML", @@ -11201,7 +12077,7 @@ "fields": [ { "name": "metafield", - "description": "The metafield associated with the resource.", + "description": "Returns a metafield found by namespace and key.", "args": [ { "name": "namespace", @@ -11322,6 +12198,36 @@ "interfaces": null, "enumValues": null, "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Article", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Blog", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Collection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Customer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Order", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Page", + "ofType": null + }, { "kind": "OBJECT", "name": "Product", @@ -11331,6 +12237,11 @@ "kind": "OBJECT", "name": "ProductVariant", "ofType": null + }, + { + "kind": "OBJECT", + "name": "Shop", + "ofType": null } ] }, @@ -11361,6 +12272,18 @@ "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.", @@ -11471,6 +12394,18 @@ }, "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, @@ -11481,7 +12416,7 @@ { "kind": "OBJECT", "name": "ImageConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Images.\n", "fields": [ { "name": "edges", @@ -11561,7 +12496,7 @@ { "kind": "OBJECT", "name": "ImageEdge", - "description": null, + "description": "An auto-generated type which holds one Image and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -11613,48 +12548,128 @@ }, { "kind": "OBJECT", - "name": "MailingAddress", - "description": "Represents a mailing address for customers and shipping.", + "name": "Localization", + "description": "Information about the localized experiences configured for the shop.", "fields": [ { - "name": "address1", - "description": "The first line of the address. Typically the street address or PO Box number.\n", + "name": "availableCountries", + "description": "List of countries with enabled localized experiences.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Country", + "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", + "name": "country", + "description": "The country of the active localized experience. Use the `@inContext` directive to change this value.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Country", + "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 + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Location", + "description": "Represents a location where product inventory is held.", + "fields": [ + { + "name": "address", + "description": "The address of the location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LocationAddress", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "company", - "description": "The name of the customer's company or organization.\n", + "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 name of the location.", + "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 + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LocationAddress", + "description": "Represents the address of the location.\n", + "fields": [ + { + "name": "address1", + "description": "The first line of the address for the location.", "args": [], "type": { "kind": "SCALAR", @@ -11665,8 +12680,8 @@ "deprecationReason": null }, { - "name": "country", - "description": "The name of the country.\n", + "name": "address2", + "description": "The second line of the address for the location.", "args": [], "type": { "kind": "SCALAR", @@ -11677,32 +12692,32 @@ "deprecationReason": null }, { - "name": "countryCode", - "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "name": "city", + "description": "The city of the location.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": true, - "deprecationReason": "Use `countryCodeV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "countryCodeV2", - "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "name": "country", + "description": "The country of the location.", "args": [], "type": { - "kind": "ENUM", - "name": "CountryCode", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "firstName", - "description": "The first name of the customer.", + "name": "countryCode", + "description": "The two-letter country code of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11714,29 +12729,8 @@ }, { "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" - } - ], + "description": "A formatted version of the location address.", + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -11757,49 +12751,9 @@ "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.", + "description": "The latitude coordinates of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11811,7 +12765,7 @@ }, { "name": "longitude", - "description": "The longitude coordinate of the customer address.", + "description": "The longitude coordinates of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11821,21 +12775,9 @@ "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", + "description": "The phone number of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11847,7 +12789,7 @@ }, { "name": "province", - "description": "The region of the address, such as the province, state, or district.", + "description": "The province of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11859,7 +12801,7 @@ }, { "name": "provinceCode", - "description": "The two-letter code for the region.\n\nFor example, ON.\n", + "description": "The code for the region of the address, such as the province, state, or district.\nFor example QC for Quebec, Canada.\n", "args": [], "type": { "kind": "SCALAR", @@ -11871,7 +12813,7 @@ }, { "name": "zip", - "description": "The zip or postal code of the address.", + "description": "The ZIP code of the location.", "args": [], "type": { "kind": "SCALAR", @@ -11883,20 +12825,14 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "MailingAddressConnection", - "description": null, + "name": "LocationConnection", + "description": "An auto-generated type for paginating through multiple Locations.\n", "fields": [ { "name": "edges", @@ -11913,7 +12849,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MailingAddressEdge", + "name": "LocationEdge", "ofType": null } } @@ -11946,8 +12882,8 @@ }, { "kind": "OBJECT", - "name": "MailingAddressEdge", - "description": null, + "name": "LocationEdge", + "description": "An auto-generated type which holds one Location and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -11967,14 +12903,14 @@ }, { "name": "node", - "description": "The item at the end of MailingAddressEdge.", + "description": "The item at the end of LocationEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "MailingAddress", + "name": "Location", "ofType": null } }, @@ -11988,131 +12924,208 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "MailingAddressInput", - "description": "Specifies the fields accepted to create or update a mailing address.", + "kind": "ENUM", + "name": "LocationSortKeys", + "description": "The set of valid sort keys for the Location query.", "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME", + "description": "Sort by the `name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CITY", + "description": "Sort by the `city` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISTANCE", + "description": "Sort by the `distance` value.", + "isDeprecated": false, + "deprecationReason": 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 }, - "defaultValue": 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 }, - "defaultValue": 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 }, - "defaultValue": 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 }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "country", - "description": "The name of the country.", + "description": "The name of the country.\n", + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "firstName", - "description": "The first name of the customer.", + "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 }, - "defaultValue": null + "isDeprecated": true, + "deprecationReason": "Use `countryCodeV2` instead" }, { - "name": "lastName", - "description": "The last name of the customer.", + "name": "countryCodeV2", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CountryCode", "ofType": null }, - "defaultValue": 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", + "name": "firstName", + "description": "The first name of the customer.", + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "province", - "description": "The region of the address, such as the province, state, or district.", + "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": "SCALAR", - "name": "String", - "ofType": null + "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 + "isDeprecated": false, + "deprecationReason": null }, { - "name": "zip", - "description": "The zip or postal code of the address.", + "name": "formattedArea", + "description": "A comma-separated list of the values for city, province, and country.", + "args": [], "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": [ + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "allocationMethod", - "description": "The method by which the discount's value is allocated to its entitled items.", + "name": "id", + "description": "Globally unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "DiscountApplicationAllocationMethod", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -12120,8 +13133,8 @@ "deprecationReason": null }, { - "name": "description", - "description": "The description of the application.", + "name": "lastName", + "description": "The last name of the customer.", "args": [], "type": { "kind": "SCALAR", @@ -12132,89 +13145,56 @@ "deprecationReason": null }, { - "name": "targetSelection", - "description": "Which lines of targetType that the discount is allocated over.", + "name": "latitude", + "description": "The latitude coordinate of the customer address.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DiscountApplicationTargetSelection", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "targetType", - "description": "The type of line that the discount is applicable towards.", + "name": "longitude", + "description": "The longitude coordinate of the customer address.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DiscountApplicationTargetType", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", - "description": "The title of the application.", + "name": "name", + "description": "The full name of the customer, based on firstName and lastName.\n", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "value", - "description": "The value of the discount application.", + "name": "phone", + "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "PricingValue", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "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.", + "name": "province", + "description": "The region of the address, such as the province, state, or district.", "args": [], "type": { "kind": "SCALAR", @@ -12225,28 +13205,24 @@ "deprecationReason": null }, { - "name": "mediaContentType", - "description": "The media content type.", + "name": "provinceCode", + "description": "The two-letter code for the region.\n\nFor example, ON.\n", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MediaContentType", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "previewImage", - "description": "The preview image for the media.", + "name": "zip", + "description": "The zip or postal code of the address.", "args": [], "type": { - "kind": "OBJECT", - "name": "Image", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12254,35 +13230,20 @@ } ], "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 - }, + "interfaces": [ { - "kind": "OBJECT", - "name": "Video", + "kind": "INTERFACE", + "name": "Node", "ofType": null } - ] + ], + "enumValues": null, + "possibleTypes": null }, { "kind": "OBJECT", - "name": "MediaConnection", - "description": null, + "name": "MailingAddressConnection", + "description": "An auto-generated type for paginating through multiple MailingAddresses.\n", "fields": [ { "name": "edges", @@ -12299,7 +13260,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MediaEdge", + "name": "MailingAddressEdge", "ofType": null } } @@ -12331,71 +13292,36 @@ "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 - }, + "kind": "OBJECT", + "name": "MailingAddressEdge", + "description": "An auto-generated type which holds one MailingAddress and a cursor during pagination.\n", + "fields": [ { - "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": null, - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "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.", + "description": "The item at the end of MailingAddressEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INTERFACE", - "name": "Media", + "kind": "OBJECT", + "name": "MailingAddress", "ofType": null } }, @@ -12409,110 +13335,131 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "MediaImage", - "description": "Represents a Shopify hosted image.", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "description": "Specifies the fields accepted to create or update a mailing address.", + "fields": null, + "inputFields": [ { - "name": "alt", - "description": "A word or phrase to share the nature or contents of a media.", - "args": [], + "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 }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", - "description": "Globally unique identifier.", - "args": [], + "name": "address2", + "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "image", - "description": "The image for the media.", - "args": [], + "name": "city", + "description": "The name of the city, district, village, or town.\n", "type": { - "kind": "OBJECT", - "name": "Image", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "mediaContentType", - "description": "The media content type.", - "args": [], + "name": "company", + "description": "The name of the customer's company or organization.\n", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MediaContentType", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "previewImage", - "description": "The preview image for the media.", - "args": [], + "name": "country", + "description": "The name of the country.", "type": { - "kind": "OBJECT", - "name": "Image", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ + "defaultValue": null + }, { - "kind": "INTERFACE", - "name": "Node", - "ofType": null + "name": "firstName", + "description": "The first name of the customer.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null }, { - "kind": "INTERFACE", - "name": "Media", - "ofType": 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": "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", + "name": "ManualDiscountApplication", + "description": "Manual discount applications capture the intentions of a discount that was manually created.\n", "fields": [ { - "name": "createdAt", - "description": "The date and time when the storefront metafield was created.", + "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": "SCALAR", - "name": "DateTime", + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", "ofType": null } }, @@ -12521,7 +13468,7 @@ }, { "name": "description", - "description": "The description of a metafield.", + "description": "The description of the application.", "args": [], "type": { "kind": "SCALAR", @@ -12532,15 +13479,15 @@ "deprecationReason": null }, { - "name": "id", - "description": "Globally unique identifier.", + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", "ofType": null } }, @@ -12548,15 +13495,15 @@ "deprecationReason": null }, { - "name": "key", - "description": "The key name for a metafield.", + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "DiscountApplicationTargetType", "ofType": null } }, @@ -12564,8 +13511,8 @@ "deprecationReason": null }, { - "name": "namespace", - "description": "The namespace for a metafield.", + "name": "title", + "description": "The title of the application.", "args": [], "type": { "kind": "NON_NULL", @@ -12580,47 +13527,60 @@ "deprecationReason": null }, { - "name": "parentResource", - "description": "The parent object that the metafield belongs to.", + "name": "value", + "description": "The value of the discount application.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", - "name": "MetafieldParentResource", + "name": "PricingValue", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [ { - "name": "updatedAt", - "description": "The date and time when the storefront metafield was updated.", + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "value", - "description": "The value of a metafield.", + "name": "mediaContentType", + "description": "The media content type.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "MediaContentType", "ofType": null } }, @@ -12628,37 +13588,48 @@ "deprecationReason": null }, { - "name": "valueType", - "description": "Represents the metafield value type.", + "name": "previewImage", + "description": "The preview image for the media.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MetafieldValueType", - "ofType": null - } + "kind": "OBJECT", + "name": "Image", + "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, - "interfaces": [ + "interfaces": null, + "enumValues": null, + "possibleTypes": [ { - "kind": "INTERFACE", - "name": "Node", + "kind": "OBJECT", + "name": "ExternalVideo", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MediaImage", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Model3d", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Video", "ofType": null } - ], - "enumValues": null, - "possibleTypes": null + ] }, { "kind": "OBJECT", - "name": "MetafieldConnection", - "description": null, + "name": "MediaConnection", + "description": "An auto-generated type for paginating through multiple Media.\n", "fields": [ { "name": "edges", @@ -12675,7 +13646,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MetafieldEdge", + "name": "MediaEdge", "ofType": null } } @@ -12706,10 +13677,45 @@ "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": "MetafieldEdge", - "description": null, + "name": "MediaEdge", + "description": "An auto-generated type which holds one Media and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -12729,14 +13735,14 @@ }, { "name": "node", - "description": "The item at the end of MetafieldEdge.", + "description": "The item at the end of MediaEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Metafield", + "kind": "INTERFACE", + "name": "Media", "ofType": null } }, @@ -12749,50 +13755,23 @@ "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.", + "name": "MediaHost", + "description": "Host for a Media Resource.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "STRING", - "description": "A string metafield.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTEGER", - "description": "An integer metafield.", + "name": "YOUTUBE", + "description": "Host for YouTube embedded videos.", "isDeprecated": false, "deprecationReason": null }, { - "name": "JSON_STRING", - "description": "A json string metafield.", + "name": "VIMEO", + "description": "Host for Vimeo embedded videos.", "isDeprecated": false, "deprecationReason": null } @@ -12801,8 +13780,8 @@ }, { "kind": "OBJECT", - "name": "Model3d", - "description": "Represents a Shopify hosted 3D model.", + "name": "MediaImage", + "description": "Represents a Shopify hosted image.", "fields": [ { "name": "alt", @@ -12832,6 +13811,18 @@ "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.", @@ -12859,30 +13850,6 @@ }, "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, @@ -12903,19 +13870,19 @@ }, { "kind": "OBJECT", - "name": "Model3dSource", - "description": "Represents a source for a Shopify hosted 3d model.", + "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": "filesize", - "description": "The filesize of the 3d model.", + "name": "createdAt", + "description": "The date and time when the storefront metafield was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, @@ -12923,31 +13890,27 @@ "deprecationReason": null }, { - "name": "format", - "description": "The format of the 3d model.", + "name": "description", + "description": "The description of a metafield.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "mimeType", - "description": "The MIME type of the 3d model.", + "name": "id", + "description": "Globally unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -12955,8 +13918,8 @@ "deprecationReason": null }, { - "name": "url", - "description": "The URL of the 3d model.", + "name": "key", + "description": "The key name for a metafield.", "args": [], "type": { "kind": "NON_NULL", @@ -12969,77 +13932,49 @@ }, "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.", + "name": "namespace", + "description": "The namespace for a metafield.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Decimal", + "name": "String", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "currencyCode", - "description": "Currency of the money.", + "name": "parentResource", + "description": "The parent object that the metafield belongs to.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", + "kind": "UNION", + "name": "MetafieldParentResource", "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MoneyV2", - "description": "A monetary value with currency.\n\nTo format currencies, combine this type's amount and currencyCode fields with your client's locale.\n\nFor example, in JavaScript you could use Intl.NumberFormat:\n\n```js\nnew Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyCode\n}).format(amount);\n```\n\nOther formatting libraries include:\n\n* iOS - [NumberFormatter](https://developer.apple.com/documentation/foundation/numberformatter)\n* Android - [NumberFormat](https://developer.android.com/reference/java/text/NumberFormat.html)\n* PHP - [NumberFormatter](http://php.net/manual/en/class.numberformatter.php)\n\nFor a more general solution, the [Unicode CLDR number formatting database] is available with many implementations\n(such as [TwitterCldr](https://github.com/twitter/twitter-cldr-rb)).\n", - "fields": [ + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "amount", - "description": "Decimal money amount.", + "name": "type", + "description": "The type name of the metafield.\nSee the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).\n", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Decimal", + "name": "String", "ofType": null } }, @@ -13047,31 +13982,69 @@ "deprecationReason": null }, { - "name": "currencyCode", - "description": "Currency of the money.", + "name": "updatedAt", + "description": "The date and time when the storefront metafield was updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", + "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": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "MoneyV2Connection", - "description": null, + "name": "MetafieldConnection", + "description": "An auto-generated type for paginating through multiple Metafields.\n", "fields": [ { "name": "edges", @@ -13088,7 +14061,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2Edge", + "name": "MetafieldEdge", "ofType": null } } @@ -13121,8 +14094,8 @@ }, { "kind": "OBJECT", - "name": "MoneyV2Edge", - "description": null, + "name": "MetafieldEdge", + "description": "An auto-generated type which holds one Metafield and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -13142,14 +14115,14 @@ }, { "name": "node", - "description": "The item at the end of MoneyV2Edge.", + "description": "The item at the end of MetafieldEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2", + "name": "Metafield", "ofType": null } }, @@ -13162,355 +14135,462 @@ "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": "Article", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Blog", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Collection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Customer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Order", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Page", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Product", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Shop", + "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": "Mutation", - "description": "The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start.", + "name": "Model3d", + "description": "Represents a Shopify hosted 3D model.", "fields": [ { - "name": "checkoutAttributesUpdate", - "description": "Updates the attributes of a 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": "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 - } - ], + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CheckoutAttributesUpdatePayload", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutAttributesUpdateV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "checkoutAttributesUpdateV2", - "description": "Updates the attributes of a 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": "input", - "description": "The checkout attributes to update.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CheckoutAttributesUpdateV2Input", - "ofType": null - } - }, - "defaultValue": 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": "CheckoutAttributesUpdateV2Payload", + "name": "Image", "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": { + "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": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "Model3dSource", "ofType": null } - }, - "defaultValue": null + } } - ], - "type": { - "kind": "OBJECT", - "name": "CheckoutCompleteFreePayload", - "ofType": null }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": 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 - } - ], + "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": "OBJECT", - "name": "CheckoutCompleteWithCreditCardPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutCompleteWithCreditCardV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "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 - } - ], + "name": "format", + "description": "The format of the 3d model.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CheckoutCompleteWithCreditCardV2Payload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "mimeType", + "description": "The MIME type of the 3d model.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CheckoutCompleteWithTokenizedPaymentPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutCompleteWithTokenizedPaymentV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "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 - } - ], + "name": "url", + "description": "The URL of the 3d model.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CheckoutCompleteWithTokenizedPaymentV2Payload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 + "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": "OBJECT", - "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", - "ofType": null + "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": "checkoutCreate", - "description": "Creates a new checkout.", - "args": [ - { - "name": "input", - "description": "The fields used to create a checkout.", - "type": { + "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": "INPUT_OBJECT", - "name": "CheckoutCreateInput", + "kind": "OBJECT", + "name": "MoneyV2Edge", "ofType": null } - }, - "defaultValue": null + } } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CheckoutCreatePayload", - "ofType": null + "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": "checkoutCustomerAssociate", - "description": "Associates a customer to the checkout.", + "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", @@ -13527,14 +14607,14 @@ "defaultValue": null }, { - "name": "customerAccessToken", - "description": "The customer access token of the customer to associate.", + "name": "input", + "description": "The fields used to update a checkout's attributes.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "CheckoutAttributesUpdateInput", "ofType": null } }, @@ -13543,15 +14623,15 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutCustomerAssociatePayload", + "name": "CheckoutAttributesUpdatePayload", "ofType": null }, "isDeprecated": true, - "deprecationReason": "Use `checkoutCustomerAssociateV2` instead" + "deprecationReason": "Use `checkoutAttributesUpdateV2` instead" }, { - "name": "checkoutCustomerAssociateV2", - "description": "Associates a customer to the checkout.", + "name": "checkoutAttributesUpdateV2", + "description": "Updates the attributes of a checkout if `allowPartialAddresses` is `true`.", "args": [ { "name": "checkoutId", @@ -13568,14 +14648,14 @@ "defaultValue": null }, { - "name": "customerAccessToken", - "description": "The customer access token of the customer to associate.", + "name": "input", + "description": "The checkout attributes to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "CheckoutAttributesUpdateV2Input", "ofType": null } }, @@ -13584,15 +14664,15 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutCustomerAssociateV2Payload", + "name": "CheckoutAttributesUpdateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "checkoutCustomerDisassociate", - "description": "Disassociates the current checkout customer from the checkout.", + "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", @@ -13611,15 +14691,15 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutCustomerDisassociatePayload", + "name": "CheckoutCompleteFreePayload", "ofType": null }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutCustomerDisassociateV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "checkoutCustomerDisassociateV2", - "description": "Disassociates the current checkout customer from the checkout.", + "name": "checkoutCompleteWithCreditCard", + "description": "Completes a checkout using a credit card token from Shopify's Vault.", "args": [ { "name": "checkoutId", @@ -13634,43 +14714,16 @@ } }, "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.", + "name": "payment", + "description": "The credit card info to apply as a payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "CreditCardPaymentInput", "ofType": null } }, @@ -13679,39 +14732,39 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutDiscountCodeApplyPayload", + "name": "CheckoutCompleteWithCreditCardPayload", "ofType": null }, "isDeprecated": true, - "deprecationReason": "Use `checkoutDiscountCodeApplyV2` instead" + "deprecationReason": "Use `checkoutCompleteWithCreditCardV2` instead" }, { - "name": "checkoutDiscountCodeApplyV2", - "description": "Applies a discount to an existing checkout using a discount code.", + "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": "discountCode", - "description": "The discount code to apply to the checkout.", + "name": "checkoutId", + "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, "defaultValue": null }, { - "name": "checkoutId", - "description": "The ID of the checkout.", + "name": "payment", + "description": "The credit card info to apply as a payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "CreditCardPaymentInputV2", "ofType": null } }, @@ -13720,15 +14773,15 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutDiscountCodeApplyV2Payload", + "name": "CheckoutCompleteWithCreditCardV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "checkoutDiscountCodeRemove", - "description": "Removes the applied discount from an existing checkout.", + "name": "checkoutCompleteWithTokenizedPayment", + "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", @@ -13743,19 +14796,33 @@ } }, "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": "CheckoutDiscountCodeRemovePayload", + "name": "CheckoutCompleteWithTokenizedPaymentPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `checkoutCompleteWithTokenizedPaymentV2` instead" }, { - "name": "checkoutEmailUpdate", - "description": "Updates the email on an existing checkout.", + "name": "checkoutCompleteWithTokenizedPaymentV2", + "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", @@ -13772,14 +14839,14 @@ "defaultValue": null }, { - "name": "email", - "description": "The email to update the checkout with.", + "name": "payment", + "description": "The info to apply as a tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "TokenizedPaymentInputV2", "ofType": null } }, @@ -13788,15 +14855,15 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutEmailUpdatePayload", + "name": "CheckoutCompleteWithTokenizedPaymentV2Payload", "ofType": null }, "isDeprecated": true, - "deprecationReason": "Use `checkoutEmailUpdateV2` instead" + "deprecationReason": "Use `checkoutCompleteWithTokenizedPaymentV3` instead" }, { - "name": "checkoutEmailUpdateV2", - "description": "Updates the email on an existing checkout.", + "name": "checkoutCompleteWithTokenizedPaymentV3", + "description": "Completes a checkout with a tokenized payment.", "args": [ { "name": "checkoutId", @@ -13813,14 +14880,14 @@ "defaultValue": null }, { - "name": "email", - "description": "The email to update the checkout with.", + "name": "payment", + "description": "The info to apply as a tokenized payment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "TokenizedPaymentInputV3", "ofType": null } }, @@ -13829,60 +14896,56 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutEmailUpdateV2Payload", + "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", "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.", + "name": "checkoutCreate", + "description": "Creates a new checkout.", "args": [ { - "name": "giftCardCode", - "description": "The code of the gift card to apply on the checkout.", + "name": "input", + "description": "The fields used to create a checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "CheckoutCreateInput", "ofType": null } }, "defaultValue": null }, { - "name": "checkoutId", - "description": "The ID of the checkout.", + "name": "queueToken", + "description": "The checkout queue token. Available only to selected stores.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", - "name": "CheckoutGiftCardApplyPayload", + "name": "CheckoutCreatePayload", "ofType": null }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutGiftCardsAppend` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "checkoutGiftCardRemove", - "description": "Removes an applied gift card from the checkout.", + "name": "checkoutCustomerAssociate", + "description": "Associates a customer to the checkout.", "args": [ { - "name": "appliedGiftCardId", - "description": "The ID of the Applied Gift Card to remove from the Checkout.", + "name": "checkoutId", + "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, @@ -13895,14 +14958,14 @@ "defaultValue": null }, { - "name": "checkoutId", - "description": "The ID of the checkout.", + "name": "customerAccessToken", + "description": "The customer access token of the customer to associate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -13911,19 +14974,19 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutGiftCardRemovePayload", + "name": "CheckoutCustomerAssociatePayload", "ofType": null }, "isDeprecated": true, - "deprecationReason": "Use `checkoutGiftCardRemoveV2` instead" + "deprecationReason": "Use `checkoutCustomerAssociateV2` instead" }, { - "name": "checkoutGiftCardRemoveV2", - "description": "Removes an applied gift card from the checkout.", + "name": "checkoutCustomerAssociateV2", + "description": "Associates a customer to the checkout.", "args": [ { - "name": "appliedGiftCardId", - "description": "The ID of the Applied Gift Card to remove from the Checkout.", + "name": "checkoutId", + "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, @@ -13936,14 +14999,14 @@ "defaultValue": null }, { - "name": "checkoutId", - "description": "The ID of the checkout.", + "name": "customerAccessToken", + "description": "The customer access token of the customer to associate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -13952,38 +15015,43 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutGiftCardRemoveV2Payload", + "name": "CheckoutCustomerAssociateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "checkoutGiftCardsAppend", - "description": "Appends gift cards to an existing checkout.", + "name": "checkoutCustomerDisassociate", + "description": "Disassociates the current checkout customer from the checkout.", "args": [ { - "name": "giftCardCodes", - "description": "A list of gift card codes to append to the checkout.", + "name": "checkoutId", + "description": "The ID of 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 - } - } + "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.", @@ -14001,34 +15069,26 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutGiftCardsAppendPayload", + "name": "CheckoutCustomerDisassociateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "checkoutLineItemsAdd", - "description": "Adds a list of line items to a checkout.", + "name": "checkoutDiscountCodeApply", + "description": "Applies a discount to an existing checkout using a discount code.", "args": [ { - "name": "lineItems", - "description": "A list of line item objects to add to the checkout.", + "name": "discountCode", + "description": "The discount code to apply 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 - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "defaultValue": null @@ -14050,48 +15110,40 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutLineItemsAddPayload", + "name": "CheckoutDiscountCodeApplyPayload", "ofType": null }, "isDeprecated": true, - "deprecationReason": "Use `checkoutLineItemsReplace` instead" + "deprecationReason": "Use `checkoutDiscountCodeApplyV2` instead" }, { - "name": "checkoutLineItemsRemove", - "description": "Removes line items from an existing checkout.", + "name": "checkoutDiscountCodeApplyV2", + "description": "Applies a discount to an existing checkout using a discount code.", "args": [ { - "name": "checkoutId", - "description": "The checkout on which to remove line items.", + "name": "discountCode", + "description": "The discount code to apply to the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, "defaultValue": null }, { - "name": "lineItemIds", - "description": "Line item ids to remove.", + "name": "checkoutId", + "description": "The ID of the checkout.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } + "kind": "SCALAR", + "name": "ID", + "ofType": null } }, "defaultValue": null @@ -14099,38 +15151,84 @@ ], "type": { "kind": "OBJECT", - "name": "CheckoutLineItemsRemovePayload", + "name": "CheckoutDiscountCodeApplyV2Payload", "ofType": null }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutLineItemsReplace` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "checkoutLineItemsReplace", - "description": "Sets a list of line items to a checkout.", + "name": "checkoutDiscountCodeRemove", + "description": "Removes the applied discount from an existing checkout.", "args": [ { - "name": "lineItems", - "description": "A list of line item objects to set on the checkout.", + "name": "checkoutId", + "description": "The ID of 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 - } - } + "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.", @@ -14144,23 +15242,78 @@ } }, "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": "CheckoutLineItemsReplacePayload", + "name": "CheckoutEmailUpdateV2Payload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "checkoutLineItemsUpdate", - "description": "Updates line items on a checkout.", + "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 checkout on which to update line items.", + "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, @@ -14173,8 +15326,76 @@ "defaultValue": null }, { - "name": "lineItems", - "description": "Line items to update.", + "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, @@ -14185,399 +15406,2465 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CheckoutLineItemUpdateInput", + "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": "CheckoutLineItemsUpdatePayload", - "ofType": null + "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": "Location", + "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": "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": "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 + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "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": "ON_HOLD", + "description": "Displayed as **On hold**.", + "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": true, - "deprecationReason": "Use `checkoutLineItemsReplace` instead" + "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": { + "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": "INPUT_OBJECT", - "name": "MailingAddressInput", + "kind": "OBJECT", + "name": "Attribute", "ofType": null } - }, - "defaultValue": null - }, - { - "name": "checkoutId", - "description": "The ID of the checkout.", - "type": { + } + } + }, + "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": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "DiscountAllocation", "ofType": null } - }, - "defaultValue": 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": "OBJECT", - "name": "CheckoutShippingAddressUpdatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MoneyV2", + "ofType": null + } }, - "isDeprecated": true, - "deprecationReason": "Use `checkoutShippingAddressUpdateV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "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 + "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": "CheckoutShippingAddressUpdateV2Payload", + "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": "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": { + "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": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "OrderLineItemEdge", "ofType": null } - }, - "defaultValue": 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": "OBJECT", - "name": "CheckoutShippingLineUpdatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "node", + "description": "The item at the end of OrderLineItemEdge.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerAccessTokenCreatePayload", - "ofType": null + "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": "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 - }, + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", "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 - } - ], + "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": "OBJECT", - "name": "CustomerAccessTokenDeletePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "HTML", + "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 - } - ], + "name": "bodySummary", + "description": "Summary of the page body.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerAccessTokenRenewPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "createdAt", + "description": "The timestamp of the page creation.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerActivatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "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 - } - ], + "name": "handle", + "description": "A human-friendly unique string for the page automatically generated from its title.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerActivateByUrlPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "id", + "description": "Globally unique identifier.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerAddressCreatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "customerAddressDelete", - "description": "Permanently deletes the address of an existing customer.", + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", "args": [ { - "name": "id", - "description": "Specifies the address to delete.", + "name": "namespace", + "description": "Container for a set of metafields (maximum of 20 characters).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, "defaultValue": null }, { - "name": "customerAccessToken", - "description": "The access token used to identify the customer.", + "name": "key", + "description": "Identifier for the metafield (maximum of 30 characters).", "type": { "kind": "NON_NULL", "name": null, @@ -14592,281 +17879,207 @@ ], "type": { "kind": "OBJECT", - "name": "CustomerAddressDeletePayload", + "name": "Metafield", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "customerAddressUpdate", - "description": "Updates the address of an existing customer.", + "name": "metafields", + "description": "A paginated list of metafields associated with the resource.", "args": [ { - "name": "customerAccessToken", - "description": "The access token used to identify the customer.", + "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 - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "id", - "description": "Specifies the customer address to update.", + "name": "first", + "description": "Returns up to the first `n` elements from the list.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "defaultValue": null }, { - "name": "address", - "description": "The customer’s mailing address.", + "name": "after", + "description": "Returns the elements that come after the specified cursor.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "MailingAddressInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "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.", + "name": "last", + "description": "Returns up to the last `n` elements from the list.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CustomerCreateInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "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.", + "name": "before", + "description": "Returns the elements that come before the specified cursor.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "addressId", - "description": "ID of the address to set as the new default for the customer.", + "name": "reverse", + "description": "Reverse the order of the underlying list.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, - "defaultValue": null + "defaultValue": "false" } ], "type": { - "kind": "OBJECT", - "name": "CustomerDefaultAddressUpdatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MetafieldConnection", + "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 - } - ], + "name": "seo", + "description": "The page's SEO information.", + "args": [], "type": { "kind": "OBJECT", - "name": "CustomerRecoverPayload", + "name": "SEO", "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 - } - ], + "name": "title", + "description": "The title of the page.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerResetPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 + "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": "OBJECT", - "name": "CustomerResetByUrlPayload", - "ofType": null + "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 }, { - "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": "INTERFACE", + "name": "HasMetafields", + "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": "INPUT_OBJECT", - "name": "CustomerUpdateInput", + "kind": "OBJECT", + "name": "PageEdge", "ofType": null } - }, - "defaultValue": null + } } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], "type": { - "kind": "OBJECT", - "name": "CustomerUpdatePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -14878,181 +18091,150 @@ "possibleTypes": null }, { - "kind": "INTERFACE", - "name": "Node", - "description": "An object with an ID to support global identification.", + "kind": "OBJECT", + "name": "PageEdge", + "description": "An auto-generated type which holds one Page and a cursor during pagination.\n", "fields": [ { - "name": "id", - "description": "Globally unique identifier.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "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 + { + "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": "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.", + "name": "PageInfo", + "description": "Information about pagination in a connection.", "fields": [ { - "name": "cancelReason", - "description": "Represents the reason for the order's cancellation. Returns null if the order wasn't canceled.", + "name": "hasNextPage", + "description": "Indicates if there are more pages to fetch.", "args": [], "type": { - "kind": "ENUM", - "name": "OrderCancelReason", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "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.", + "name": "hasPreviousPage", + "description": "Indicates if there are any pages prior to the current page.", "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "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": "currencyCode", - "description": "The code of the currency used for the payment.", + "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": "ENUM", - "name": "CurrencyCode", + "kind": "SCALAR", + "name": "Money", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `amountV2` instead" }, { - "name": "currentSubtotalPrice", - "description": "The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order.", + "name": "amountV2", + "description": "The amount of the payment.", "args": [], "type": { "kind": "NON_NULL", @@ -15067,31 +18249,27 @@ "deprecationReason": null }, { - "name": "currentTotalPrice", - "description": "The total amount of the order, including taxes and discounts, minus amounts for line items that have been removed.", + "name": "billingAddress", + "description": "The billing address for the payment.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MoneyV2", - "ofType": null - } + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "currentTotalTax", - "description": "The total of all taxes applied to the order, excluding taxes for returned line items.", + "name": "checkout", + "description": "The checkout to which the payment belongs.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2", + "name": "Checkout", "ofType": null } }, @@ -15099,90 +18277,39 @@ "deprecationReason": null }, { - "name": "customerLocale", - "description": "The locale code in which this specific order happened.", + "name": "creditCard", + "description": "The credit card used for the payment in the case of direct payments.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "CreditCard", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "customerUrl", - "description": "The unique URL that the customer can use to access the order.", + "name": "errorMessage", + "description": "A message describing a processing error during asynchronous processing.", "args": [], "type": { "kind": "SCALAR", - "name": "URL", + "name": "String", "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" - } - ], + "name": "id", + "description": "Globally unique identifier.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "DiscountApplicationConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -15190,138 +18317,124 @@ "deprecationReason": null }, { - "name": "edited", - "description": "Whether the order has had any edits applied or not.", + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "email", - "description": "The customer's email address.", + "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": "String", + "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "financialStatus", - "description": "The financial status of the order.", + "name": "ready", + "description": "Whether or not the payment is still processing asynchronously.", "args": [], "type": { - "kind": "ENUM", - "name": "OrderFinancialStatus", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "fulfillmentStatus", - "description": "The fulfillment status for the order.", + "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": "ENUM", - "name": "OrderFulfillmentStatus", + "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": [ { - "name": "id", - "description": "Globally unique identifier.", + "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": "SCALAR", - "name": "ID", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CardBrand", + "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" - } - ], + "name": "cardVaultUrl", + "description": "The url pointing to the endpoint to vault credit cards.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "OrderLineItemConnection", + "kind": "SCALAR", + "name": "URL", "ofType": null } }, @@ -15329,15 +18442,15 @@ "deprecationReason": null }, { - "name": "name", - "description": "Unique identifier for the order that appears on the order.\nFor example, _#1000_ or _Store1001.\n", + "name": "countryCode", + "description": "The country where the shop is located.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CountryCode", "ofType": null } }, @@ -15345,15 +18458,15 @@ "deprecationReason": null }, { - "name": "orderNumber", - "description": "A unique numeric identifier for the order for use by shop owner and customer.", + "name": "currencyCode", + "description": "The three-letter code for the shop's primary currency.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "CurrencyCode", "ofType": null } }, @@ -15361,24 +18474,32 @@ "deprecationReason": null }, { - "name": "originalTotalPrice", - "description": "The total price of the order before any applied edits.", + "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": "OBJECT", - "name": "MoneyV2", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CurrencyCode", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "phone", - "description": "The customer's phone number for receiving SMS notifications.", + "name": "shopifyPaymentsAccountId", + "description": "The shop’s Shopify Payments account id.", "args": [], "type": { "kind": "SCALAR", @@ -15389,67 +18510,133 @@ "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", + "name": "supportedDigitalWallets", + "description": "List of the digital wallets which the shop supports.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "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": "shippingAddress", - "description": "The address to where the order will be shipped.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "MailingAddress", - "ofType": null - }, + "name": "VAULT", + "description": "Vault payment token type.", "isDeprecated": false, "deprecationReason": null }, { - "name": "shippingDiscountAllocations", - "description": "The discounts that have been allocated onto the shipping line by discount applications.\n", + "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": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DiscountAllocation", - "ofType": null - } - } + "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 }, { - "name": "statusUrl", - "description": "The unique URL for the order's status page.", + "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": "URL", + "name": "Boolean", "ofType": null } }, @@ -15457,86 +18644,66 @@ "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 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.", + "name": "collections", + "description": "List of collections a product belongs to.", "args": [ { "name": "first", - "description": "Truncate the array result to this size.", + "description": "Returns up to the first `n` elements from the list.", "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", + }, + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", "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 + }, + "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" } - }, - "isDeprecated": true, - "deprecationReason": "Use `totalPriceV2` instead" - }, - { - "name": "totalPriceV2", - "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": "OBJECT", - "name": "MoneyV2", + "name": "CollectionConnection", "ofType": null } }, @@ -15544,31 +18711,15 @@ "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.", + "name": "compareAtPriceRange", + "description": "The compare at price of the product across all variants.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2", + "name": "ProductPriceRange", "ofType": null } }, @@ -15576,31 +18727,15 @@ "deprecationReason": null }, { - "name": "totalShippingPrice", - "description": "The total cost of shipping.", + "name": "createdAt", + "description": "The date and time when the product was created.", "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", + "name": "DateTime", "ofType": null } }, @@ -15608,141 +18743,51 @@ "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": null, - "fields": [ - { - "name": "edges", - "description": "A list of edges.", - "args": [], + "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": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrderEdge", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "descriptionHtml", + "description": "The description of the product, complete with HTML formatting.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "HTML", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrderEdge", - "description": null, - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "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", @@ -15757,148 +18802,132 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of OrderEdge.", + "name": "id", + "description": "Globally unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Order", + "kind": "SCALAR", + "name": "ID", "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 - } - ], - "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": [], + "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": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "ImageConnection", "ofType": null } }, @@ -15906,111 +18935,194 @@ "deprecationReason": null }, { - "name": "customAttributes", - "description": "List of custom attributes associated to the line item.", - "args": [], + "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": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Attribute", - "ofType": null - } - } + "kind": "OBJECT", + "name": "MediaConnection", + "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": { + "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": "OBJECT", - "name": "DiscountAllocation", + "kind": "SCALAR", + "name": "String", "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 + }, + "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 } - }, - "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 - } + "kind": "OBJECT", + "name": "Metafield", + "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 + "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" } - }, - "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", + "kind": "OBJECT", + "name": "MetafieldConnection", "ofType": null } }, @@ -16018,32 +19130,32 @@ "deprecationReason": null }, { - "name": "variant", - "description": "The product variant object associated to the line item.", + "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": "OBJECT", - "name": "ProductVariant", + "kind": "SCALAR", + "name": "URL", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrderLineItemConnection", - "description": null, - "fields": [ + }, { - "name": "edges", - "description": "A list of edges.", - "args": [], + "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, @@ -16055,7 +19167,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "OrderLineItemEdge", + "name": "ProductOption", "ofType": null } } @@ -16065,35 +19177,109 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "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": "PageInfo", + "name": "ProductPriceRange", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrderLineItemEdge", - "description": null, - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "productType", + "description": "A categorization that a product can be tagged with, commonly used for filtering and searching.", "args": [], "type": { "kind": "NON_NULL", @@ -16108,77 +19294,98 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of OrderLineItemEdge.", + "name": "publishedAt", + "description": "The date and time when the product was published to the channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "OrderLineItem", + "kind": "SCALAR", + "name": "DateTime", "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.", + "name": "requiresSellingPlan", + "description": "Whether the product can only be purchased with a selling plan.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, "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": [], + "name": "sellingPlanGroups", + "description": "A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans.", + "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": "SCALAR", - "name": "HTML", + "kind": "OBJECT", + "name": "SellingPlanGroupConnection", "ofType": null } }, @@ -16186,15 +19393,15 @@ "deprecationReason": null }, { - "name": "bodySummary", - "description": "Summary of the page body.", + "name": "seo", + "description": "The product's SEO information.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "SEO", "ofType": null } }, @@ -16202,24 +19409,32 @@ "deprecationReason": null }, { - "name": "createdAt", - "description": "The timestamp of the page creation.", + "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": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "handle", - "description": "A human-friendly unique string for the page automatically generated from its title.", + "name": "title", + "description": "The product’s title.", "args": [], "type": { "kind": "NON_NULL", @@ -16234,31 +19449,27 @@ "deprecationReason": null }, { - "name": "id", - "description": "Globally unique identifier.", + "name": "totalInventory", + "description": "The total quantity of inventory in stock for this Product.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", - "description": "The title of the page.", + "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": "String", + "name": "DateTime", "ofType": null } }, @@ -16266,15 +19477,111 @@ "deprecationReason": null }, { - "name": "updatedAt", - "description": "The timestamp of the latest page update.", - "args": [], + "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": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "ProductVariantConnection", "ofType": null } }, @@ -16282,15 +19589,15 @@ "deprecationReason": null }, { - "name": "url", - "description": "The url pointing to the page accessible from the web.", + "name": "vendor", + "description": "The product’s vendor name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "URL", + "name": "String", "ofType": null } }, @@ -16304,93 +19611,114 @@ "kind": "INTERFACE", "name": "Node", "ofType": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null } ], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "PageConnection", - "description": null, - "fields": [ + "kind": "ENUM", + "name": "ProductCollectionSortKeys", + "description": "The set of valid sort keys for the ProductCollection query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "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 - } - } - } - }, + "name": "TITLE", + "description": "Sort by the `title` value.", "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 - } - }, + "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 } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, + ], "possibleTypes": null }, { "kind": "OBJECT", - "name": "PageEdge", - "description": null, + "name": "ProductConnection", + "description": "An auto-generated type for paginating through multiple Products.\n", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductEdge", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of PageEdge.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Page", + "name": "PageInfo", "ofType": null } }, @@ -16405,19 +19733,19 @@ }, { "kind": "OBJECT", - "name": "PageInfo", - "description": "Information about pagination in a connection.", + "name": "ProductEdge", + "description": "An auto-generated type which holds one Product and a cursor during pagination.\n", "fields": [ { - "name": "hasNextPage", - "description": "Indicates if there are more pages to fetch.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -16425,15 +19753,15 @@ "deprecationReason": null }, { - "name": "hasPreviousPage", - "description": "Indicates if there are any pages prior to the current page.", + "name": "node", + "description": "The item at the end of ProductEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Product", "ofType": null } }, @@ -16448,21 +19776,21 @@ }, { "kind": "ENUM", - "name": "PageSortKeys", - "description": "The set of valid sort keys for the Page query.", + "name": "ProductImageSortKeys", + "description": "The set of valid sort keys for the ProductImage query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "TITLE", - "description": "Sort by the `title` value.", + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "UPDATED_AT", - "description": "Sort by the `updated_at` value.", + "name": "POSITION", + "description": "Sort by the `position` value.", "isDeprecated": false, "deprecationReason": null }, @@ -16482,94 +19810,39 @@ "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 - }, + "kind": "ENUM", + "name": "ProductMediaSortKeys", + "description": "The set of valid sort keys for the ProductMedia query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "checkout", - "description": "The checkout to which the payment belongs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Checkout", - "ofType": null - } - }, + "name": "POSITION", + "description": "Sort by the `position` value.", "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 - }, + "name": "ID", + "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "errorMessage", - "description": "A message describing a processing error during asynchronous processing.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": 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.", @@ -16587,39 +19860,15 @@ "deprecationReason": null }, { - "name": "idempotencyKey", - "description": "A client-side generated token to identify a payment and perform idempotent operations.", - "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.", + "name": "name", + "description": "The product option’s name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -16627,32 +19876,28 @@ "deprecationReason": null }, { - "name": "test", - "description": "A flag to indicate if the payment is to be done in test mode for gateways that support it.", + "name": "values", + "description": "The corresponding value to the product option name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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, @@ -16666,61 +19911,21 @@ "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 - }, + { + "kind": "OBJECT", + "name": "ProductPriceRange", + "description": "The price range of the product.", + "fields": [ { - "name": "countryCode", - "description": "The country where the shop is located.", + "name": "maxVariantPrice", + "description": "The highest variant's price.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CountryCode", + "kind": "OBJECT", + "name": "MoneyV2", "ofType": null } }, @@ -16728,24 +19933,35 @@ "deprecationReason": null }, { - "name": "currencyCode", - "description": "The three-letter code for the shop's primary currency.", + "name": "minVariantPrice", + "description": "The lowest variant's price.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", + "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": "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.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { "kind": "NON_NULL", @@ -16757,8 +19973,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", + "kind": "OBJECT", + "name": "ProductPriceRangeEdge", "ofType": null } } @@ -16768,36 +19984,59 @@ "deprecationReason": null }, { - "name": "shopifyPaymentsAccountId", - "description": "The shop’s Shopify Payments account id.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "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": "supportedDigitalWallets", - "description": "List of the digital wallets which the shop supports.", + "name": "node", + "description": "The item at the end of ProductPriceRangeEdge.", "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 - } - } + "kind": "OBJECT", + "name": "ProductPriceRange", + "ofType": null } }, "isDeprecated": false, @@ -16811,201 +20050,96 @@ }, { "kind": "ENUM", - "name": "PaymentTokenType", - "description": "The valid values for the types of payment token.", + "name": "ProductSortKeys", + "description": "The set of valid sort keys for the Product query.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "APPLE_PAY", - "description": "Apple Pay token type.", + "name": "TITLE", + "description": "Sort by the `title` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "VAULT", - "description": "Vault payment token type.", + "name": "PRODUCT_TYPE", + "description": "Sort by the `product_type` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "SHOPIFY_PAY", - "description": "Shopify Pay token type.", + "name": "VENDOR", + "description": "Sort by the `vendor` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "GOOGLE_PAY", - "description": "Google Pay token type.", + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", "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 - } - }, + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", "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": "BEST_SELLING", + "description": "Sort by the `best_selling` value.", + "isDeprecated": false, + "deprecationReason": null + }, { - "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 - } - }, + "name": "PRICE", + "description": "Sort by the `price` value.", "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 - } - }, + "name": "ID", + "description": "Sort by the `id` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "compareAtPriceRange", - "description": "The compare at price of the product across all variants.", + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProductPriceRange", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `availableForSale` instead" }, { - "name": "createdAt", - "description": "The date and time when the product was created.", + "name": "availableForSale", + "description": "Indicates if the product variant is available for sale.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, @@ -17013,58 +20147,39 @@ "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 - } - ], + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Money", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `compareAtPriceV2` instead" }, { - "name": "descriptionHtml", - "description": "The description of the product, complete with HTML formatting.", + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HTML", - "ofType": null - } + "kind": "OBJECT", + "name": "MoneyV2", + "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", + "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": "String", + "name": "Boolean", "ofType": null } }, @@ -17088,69 +20203,9 @@ "deprecationReason": null }, { - "name": "images", - "description": "List of images associated with the product.", + "name": "image", + "description": "Image associated with the product variant. This field falls back to the product image if no image is available.", "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.", @@ -17193,21 +20248,68 @@ } ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ImageConnection", - "ofType": null + "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": "media", - "description": "The media associated with the product.", + "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.", @@ -17262,67 +20364,34 @@ "type": { "kind": "NON_NULL", "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MediaConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metafield", - "description": "The metafield associated with the resource.", - "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 + "ofType": { + "kind": "OBJECT", + "name": "MetafieldConnection", + "ofType": null } - ], - "type": { - "kind": "OBJECT", - "name": "Metafield", - "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "metafields", - "description": "A paginated list of metafields associated with the resource.", + "name": "presentmentPrices", + "description": "List of prices and compare-at prices in the presentment currencies for this shop.", "args": [ { - "name": "namespace", - "description": "Container for a set of metafields (maximum of 20 characters).", + "name": "presentmentCurrencies", + "description": "The presentment currencies prices should return in.", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CurrencyCode", + "ofType": null + } + } }, "defaultValue": null }, @@ -17382,67 +20451,20 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MetafieldConnection", + "name": "ProductVariantPricePairConnection", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "onlineStoreUrl", - "description": "The online store URL for the product.\nA value of `null` indicates that the product is not published to the Online Store sales channel.\n", - "args": [], - "type": { - "kind": "SCALAR", - "name": "URL", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "options", - "description": "List of custom product options (maximum of 3 per product).", - "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 + "isDeprecated": true, + "deprecationReason": "Use `@inContext` instead." }, { - "name": "presentmentPriceRanges", - "description": "List of price ranges in the presentment currencies for this shop.", + "name": "presentmentUnitPrices", + "description": "List of unit prices in the presentment currencies for this shop.", "args": [ { "name": "presentmentCurrencies", - "description": "Specifies the presentment currencies to return a price range in.", + "description": "Specify the currencies in which to return presentment unit prices.", "type": { "kind": "LIST", "name": null, @@ -17514,39 +20536,39 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductPriceRangeConnection", + "name": "MoneyV2Connection", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `@inContext` instead." }, { - "name": "priceRange", - "description": "The price range.", + "name": "price", + "description": "The product variant’s price.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ProductPriceRange", + "kind": "SCALAR", + "name": "Money", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "Use `priceV2` instead" }, { - "name": "productType", - "description": "A categorization that a product can be tagged with, commonly used for filtering and searching.", + "name": "priceV2", + "description": "The product variant’s price.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "MoneyV2", "ofType": null } }, @@ -17554,15 +20576,15 @@ "deprecationReason": null }, { - "name": "publishedAt", - "description": "The date and time when the product was published to the channel.", + "name": "product", + "description": "The product object that the product variant belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Product", "ofType": null } }, @@ -17570,39 +20592,27 @@ "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", + "name": "quantityAvailable", + "description": "The total sellable quantity of the variant for online sales channels.", "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 - } - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", - "description": "The product’s title.", + "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": "String", + "name": "Boolean", "ofType": null } }, @@ -17610,71 +20620,111 @@ "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.", + "name": "selectedOptions", + "description": "List of product options applied to the variant.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SelectedOption", + "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", + "name": "sellingPlanAllocations", + "description": "Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing.", "args": [ { - "name": "selectedOptions", - "description": "The input fields used for a selected option.", + "name": "first", + "description": "Returns up to the first `n` elements from the list.", "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 - } - } - } + "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": "OBJECT", - "name": "ProductVariant", + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAllocationConnection", + "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": "variants", - "description": "List of the product’s variants.", + "name": "storeAvailability", + "description": "The in-store pickup availability of this variant by location.", "args": [ { "name": "first", @@ -17725,16 +20775,6 @@ "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": { @@ -17742,7 +20782,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductVariantConnection", + "name": "StoreAvailabilityConnection", "ofType": null } }, @@ -17750,8 +20790,8 @@ "deprecationReason": null }, { - "name": "vendor", - "description": "The product’s vendor name.", + "name": "title", + "description": "The product variant’s title.", "args": [], "type": { "kind": "NON_NULL", @@ -17764,87 +20804,80 @@ }, "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.", + "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": "CREATED", - "description": "Sort by the `created` value.", + "name": "unitPriceMeasurement", + "description": "The unit price measurement for the variant.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "UnitPriceMeasurement", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "ID", - "description": "Sort by the `id` value.", + "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": "MANUAL", - "description": "Sort by the `manual` value.", + "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": [ { - "name": "COLLECTION_DEFAULT", - "description": "Sort by the `collection-default` value.", - "isDeprecated": false, - "deprecationReason": null + "kind": "INTERFACE", + "name": "Node", + "ofType": 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 + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null } ], + "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "ProductConnection", - "description": null, + "name": "ProductVariantConnection", + "description": "An auto-generated type for paginating through multiple ProductVariants.\n", "fields": [ { "name": "edges", @@ -17861,7 +20894,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductEdge", + "name": "ProductVariantEdge", "ofType": null } } @@ -17894,8 +20927,8 @@ }, { "kind": "OBJECT", - "name": "ProductEdge", - "description": null, + "name": "ProductVariantEdge", + "description": "An auto-generated type which holds one ProductVariant and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -17915,14 +20948,14 @@ }, { "name": "node", - "description": "The item at the end of ProductEdge.", + "description": "The item at the end of ProductVariantEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Product", + "name": "ProductVariant", "ofType": null } }, @@ -17935,138 +20968,26 @@ "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": "OBJECT", - "name": "ProductOption", - "description": "Custom product property names like \"Size\", \"Color\", and \"Material\".\nProducts are based on permutations of these options.\nA product may have a maximum of 3 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.", + "name": "ProductVariantPricePair", + "description": "The compare-at price and price of a variant sharing a currency.\n", "fields": [ { - "name": "maxVariantPrice", - "description": "The highest variant's price.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MoneyV2", - "ofType": null - } + "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": "minVariantPrice", - "description": "The lowest variant's price.", + "name": "price", + "description": "The price of the variant with associated currency.", "args": [], "type": { "kind": "NON_NULL", @@ -18088,8 +21009,8 @@ }, { "kind": "OBJECT", - "name": "ProductPriceRangeConnection", - "description": null, + "name": "ProductVariantPricePairConnection", + "description": "An auto-generated type for paginating through multiple ProductVariantPricePairs.\n", "fields": [ { "name": "edges", @@ -18106,7 +21027,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductPriceRangeEdge", + "name": "ProductVariantPricePairEdge", "ofType": null } } @@ -18139,8 +21060,8 @@ }, { "kind": "OBJECT", - "name": "ProductPriceRangeEdge", - "description": null, + "name": "ProductVariantPricePairEdge", + "description": "An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -18160,14 +21081,14 @@ }, { "name": "node", - "description": "The item at the end of ProductPriceRangeEdge.", + "description": "The item at the end of ProductVariantPricePairEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductPriceRange", + "name": "ProductVariantPricePair", "ofType": null } }, @@ -18182,8 +21103,8 @@ }, { "kind": "ENUM", - "name": "ProductSortKeys", - "description": "The set of valid sort keys for the Product query.", + "name": "ProductVariantSortKeys", + "description": "The set of valid sort keys for the ProductVariant query.", "fields": null, "inputFields": null, "interfaces": null, @@ -18195,38 +21116,14 @@ "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.", + "name": "SKU", + "description": "Sort by the `sku` value.", "isDeprecated": false, "deprecationReason": null }, { - "name": "PRICE", - "description": "Sort by the `price` value.", + "name": "POSITION", + "description": "Sort by the `position` value.", "isDeprecated": false, "deprecationReason": null }, @@ -18247,31 +21144,204 @@ }, { "kind": "OBJECT", - "name": "ProductVariant", - "description": "A product variant represents a different version of a product, such as differing sizes or differing colors.", + "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": "available", - "description": "Indicates if the product variant is in stock.", - "args": [], + "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": "SCALAR", - "name": "Boolean", + "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": true, - "deprecationReason": "Use `availableForSale` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "availableForSale", - "description": "Indicates if the product variant is available for sale.", - "args": [], + "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": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "BlogConnection", "ofType": null } }, @@ -18279,39 +21349,113 @@ "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": [], + "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": "MoneyV2", + "name": "Collection", "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": [], + "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": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "CollectionConnection", "ofType": null } }, @@ -18319,15 +21463,42 @@ "deprecationReason": null }, { - "name": "id", - "description": "Globally unique identifier.", + "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": "localization", + "description": "Returns the localized experiences configured for the shop.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "Localization", "ofType": null } }, @@ -18335,12 +21506,12 @@ "deprecationReason": null }, { - "name": "image", - "description": "Image associated with the product variant. This field falls back to the product image if no image is available.", + "name": "locations", + "description": "List of the shop's locations that support in-store pickup.\n\nWhen sorting by distance, you must specify a location via the `near` argument.\n", "args": [ { - "name": "maxWidth", - "description": "Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.", + "name": "first", + "description": "Returns up to the first `n` elements from the list.", "type": { "kind": "SCALAR", "name": "Int", @@ -18349,8 +21520,18 @@ "defaultValue": null }, { - "name": "maxHeight", - "description": "Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead.", + "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", @@ -18359,55 +21540,135 @@ "defaultValue": null }, { - "name": "crop", - "description": "Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead.", + "name": "before", + "description": "Returns the elements that come before the specified cursor.", "type": { - "kind": "ENUM", - "name": "CropRegion", + "kind": "SCALAR", + "name": "String", "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.", + "name": "reverse", + "description": "Reverse the order of the underlying list.", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "LocationSortKeys", "ofType": null }, - "defaultValue": "1" + "defaultValue": "ID" + }, + { + "name": "near", + "description": "Used to sort results based on proximity to the provided location.", + "type": { + "kind": "INPUT_OBJECT", + "name": "GeoCoordinateInput", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LocationConnection", + "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": "OBJECT", - "name": "Image", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "metafield", - "description": "The metafield associated with the resource.", + "name": "pageByHandle", + "description": "Find a page by its handle.", "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).", + "name": "handle", + "description": "The handle of the page.", "type": { "kind": "NON_NULL", "name": null, @@ -18422,26 +21683,16 @@ ], "type": { "kind": "OBJECT", - "name": "Metafield", + "name": "Page", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "metafields", - "description": "A paginated list of metafields associated with the resource.", + "name": "pages", + "description": "List of the shop's pages.", "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.", @@ -18491,6 +21742,26 @@ "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": { @@ -18498,7 +21769,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MetafieldConnection", + "name": "PageConnection", "ofType": null } }, @@ -18506,76 +21777,84 @@ "deprecationReason": null }, { - "name": "presentmentPrices", - "description": "List of prices and compare-at prices in the presentment currencies for this shop.", + "name": "productByHandle", + "description": "Find a product by its handle.", "args": [ { - "name": "presentmentCurrencies", - "description": "The presentment currencies prices should return in.", + "name": "handle", + "description": "The handle of the product.", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", - "ofType": null - } + "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 - }, + } + ], + "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": "after", - "description": "Returns the elements that come after the specified cursor.", + "name": "productId", + "description": "The id of the product.", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "defaultValue": null - }, - { - "name": "last", - "description": "Returns up to the last `n` elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Product", "ofType": null - }, - "defaultValue": null - }, + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productTags", + "description": "Tags added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", + "args": [ { - "name": "before", - "description": "Returns the elements that come before the specified cursor.", + "name": "first", + "description": "Returns up to the first `n` elements from the list.", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "defaultValue": null - }, - { - "name": "reverse", - "description": "Reverse the order of the underlying list.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" } ], "type": { @@ -18583,7 +21862,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductVariantPricePairConnection", + "name": "StringConnection", "ofType": null } }, @@ -18591,27 +21870,40 @@ "deprecationReason": null }, { - "name": "presentmentUnitPrices", - "description": "List of unit prices in the presentment currencies for this shop.", + "name": "productTypes", + "description": "List of product types for the shop's products that are published to your app.", "args": [ { - "name": "presentmentCurrencies", - "description": "Specify the currencies in which to return presentment unit prices.", + "name": "first", + "description": "Returns up to the first `n` elements from the list.", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyCode", - "ofType": null - } + "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.", @@ -18646,21 +21938,41 @@ "name": "before", "description": "Returns the elements that come before the specified cursor.", "type": { - "kind": "SCALAR", - "name": "String", + "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": null + "defaultValue": "ID" }, { - "name": "reverse", - "description": "Reverse the order of the underlying list.", + "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": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "false" + "defaultValue": null } ], "type": { @@ -18668,7 +21980,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2Connection", + "name": "ProductConnection", "ofType": null } }, @@ -18676,75 +21988,101 @@ "deprecationReason": null }, { - "name": "price", - "description": "The product variant’s price.", + "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": "SCALAR", - "name": "Money", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ApiVersion", + "ofType": null + } + } } }, - "isDeprecated": true, - "deprecationReason": "Use `priceV2` instead" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "priceV2", - "description": "The product variant’s price.", + "name": "shop", + "description": "The shop associated with the storefront access token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "MoneyV2", + "name": "Shop", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SEO", + "description": "SEO information.", + "fields": [ { - "name": "product", - "description": "The product object that the product variant belongs to.", + "name": "description", + "description": "The meta description.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Product", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "quantityAvailable", - "description": "The total sellable quantity of the variant for online sales channels.", + "name": "title", + "description": "The SEO title.", "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "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": "requiresShipping", - "description": "Whether a customer needs to provide a shipping address when placing an order for the product variant.", + "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": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", "ofType": null } }, @@ -18752,51 +22090,31 @@ "deprecationReason": null }, { - "name": "selectedOptions", - "description": "List of product options applied to the variant.", + "name": "description", + "description": "The description of the application as defined by the Script.", "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 - } - } + "kind": "SCALAR", + "name": "String", + "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 + "isDeprecated": true, + "deprecationReason": "Use `title` instead" }, { - "name": "title", - "description": "The product variant’s title.", + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", "ofType": null } }, @@ -18804,51 +22122,47 @@ "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.", + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", "args": [], "type": { - "kind": "OBJECT", - "name": "UnitPriceMeasurement", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "weight", - "description": "The weight of the product variant in the unit system specified with `weight_unit`.", + "name": "title", + "description": "The title of the application as defined by the Script.", "args": [], "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "weightUnit", - "description": "Unit of measurement for weight.", + "name": "value", + "description": "The value of the discount application.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "WeightUnit", + "kind": "UNION", + "name": "PricingValue", "ofType": null } }, @@ -18860,12 +22174,7 @@ "interfaces": [ { "kind": "INTERFACE", - "name": "Node", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "HasMetafields", + "name": "DiscountApplication", "ofType": null } ], @@ -18874,145 +22183,162 @@ }, { "kind": "OBJECT", - "name": "ProductVariantConnection", - "description": null, + "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": "edges", - "description": "A list of edges.", + "name": "name", + "description": "The product option’s name.", "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 - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "value", + "description": "The product option’s value.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "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 } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "ProductVariantEdge", - "description": null, + "name": "SellingPlan", + "description": "Represents how products and variants can be sold and purchased.", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "description", + "description": "The description of the selling plan.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of ProductVariantEdge.", + "name": "id", + "description": "A globally unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ProductVariant", + "kind": "SCALAR", + "name": "ID", "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.", + "name": "name", + "description": "The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'.", "args": [], "type": { - "kind": "OBJECT", - "name": "MoneyV2", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "price", - "description": "The price of the variant with associated currency.", + "name": "options", + "description": "Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "MoneyV2", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanOption", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProductVariantPricePairConnection", - "description": null, - "fields": [ + }, { - "name": "edges", - "description": "A list of edges.", + "name": "priceAdjustments", + "description": "Represents how a selling plan affects pricing when a variant is purchased with a selling plan.", "args": [], "type": { "kind": "NON_NULL", @@ -19025,7 +22351,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductVariantPricePairEdge", + "name": "SellingPlanPriceAdjustment", "ofType": null } } @@ -19035,15 +22361,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "recurringDeliveries", + "description": "Whether purchasing the selling plan will result in multiple deliveries.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -19058,35 +22384,43 @@ }, { "kind": "OBJECT", - "name": "ProductVariantPricePairEdge", - "description": null, + "name": "SellingPlanAllocation", + "description": "Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan.", "fields": [ { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "priceAdjustments", + "description": "A list of price adjustments, with a maximum of two. When there are two, the first price adjustment goes into effect at the time of purchase, while the second one starts after a certain number of orders.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAllocationPriceAdjustment", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of ProductVariantPricePairEdge.", + "name": "sellingPlan", + "description": "A representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductVariantPricePair", + "name": "SellingPlan", "ofType": null } }, @@ -19100,704 +22434,378 @@ "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 - }, + "kind": "OBJECT", + "name": "SellingPlanAllocationConnection", + "description": "An auto-generated type for paginating through multiple SellingPlanAllocations.\n", + "fields": [ { - "name": "ID", - "description": "Sort by the `id` value.", + "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": "SellingPlanAllocationEdge", + "ofType": null + } + } + } + }, "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 - } - ], + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "ArticleConnection", + "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanAllocationEdge", + "description": "An auto-generated type which holds one SellingPlanAllocation and a cursor during pagination.\n", + "fields": [ { - "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 - } - ], + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], "type": { - "kind": "OBJECT", - "name": "Blog", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "node", + "description": "The item at the end of SellingPlanAllocationEdge.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "BlogConnection", + "name": "SellingPlanAllocation", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanAllocationPriceAdjustment", + "description": "The resulting prices for variants when they're purchased with a specific selling plan.", + "fields": [ { - "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 - } - ], + "name": "compareAtPrice", + "description": "The price of the variant when it's purchased without a selling plan for the same number of deliveries. For example, if a customer purchases 6 deliveries of $10.00 granola separately, then the price is 6 x $10.00 = $60.00.", + "args": [], "type": { - "kind": "OBJECT", - "name": "Collection", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MoneyV2", + "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 - } - ], + "name": "perDeliveryPrice", + "description": "The effective price for a single delivery. For example, for a prepaid subscription plan that includes 6 deliveries at the price of $48.00, the per delivery price is $8.00.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "CollectionConnection", + "name": "MoneyV2", "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 + { + "name": "price", + "description": "The price of the variant when it's purchased with a selling plan For example, for a prepaid subscription plan that includes 6 deliveries of $10.00 granola, where the customer gets 20% off, the price is 6 x $10.00 x 0.80 = $48.00.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MoneyV2", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPrice", + "description": "The resulting price per unit for the variant associated with the selling plan. If the variant isn't sold by quantity or measurement, then this field returns `null`.", + "args": [], "type": { "kind": "OBJECT", - "name": "Customer", + "name": "MoneyV2", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanConnection", + "description": "An auto-generated type for paginating through multiple SellingPlans.\n", + "fields": [ { - "name": "node", - "description": null, - "args": [ - { - "name": "id", - "description": "The ID of the Node to return.", - "type": { + "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": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "SellingPlanEdge", "ofType": null } - }, - "defaultValue": null + } } - ], - "type": { - "kind": "INTERFACE", - "name": "Node", - "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": null, - "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 + "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": "SellingPlanEdge", + "description": "An auto-generated type which holds one SellingPlan 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": "LIST", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "node", + "description": "The item at the end of SellingPlanEdge.", + "args": [], "type": { - "kind": "OBJECT", - "name": "Page", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlan", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanFixedAmountPriceAdjustment", + "description": "A fixed amount that's deducted from the original variant price. For example, $10.00 off.", + "fields": [ { - "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 + "name": "adjustmentAmount", + "description": "The money value of the price adjustment.", + "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": "SellingPlanFixedPriceAdjustment", + "description": "A fixed price adjustment for a variant that's purchased with a selling plan.", + "fields": [ + { + "name": "price", + "description": "A new price of the variant when it's purchased with the selling plan.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "PageConnection", + "name": "MoneyV2", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanGroup", + "description": "Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans.", + "fields": [ { - "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 - } - ], + "name": "appName", + "description": "A display friendly name for the app that created the selling plan group.", + "args": [], "type": { - "kind": "OBJECT", - "name": "Product", + "kind": "SCALAR", + "name": "String", "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 - } - ], + "name": "name", + "description": "The name of the selling plan group.", + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Product", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "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 - } - ], + "name": "options", + "description": "Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product.", + "args": [], "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": "LIST", + "name": null, + "ofType": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "SellingPlanGroupOption", "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.", + "name": "sellingPlans", + "description": "A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'.", "args": [ { "name": "first", @@ -19848,26 +22856,6 @@ "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": { @@ -19875,16 +22863,27 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProductConnection", + "name": "SellingPlanConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanGroupConnection", + "description": "An auto-generated type for paginating through multiple SellingPlanGroups.\n", + "fields": [ { - "name": "publicApiVersions", - "description": "The list of public Storefront API versions, including supported, release candidate and unstable versions.", + "name": "edges", + "description": "A list of edges.", "args": [], "type": { "kind": "NON_NULL", @@ -19897,7 +22896,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ApiVersion", + "name": "SellingPlanGroupEdge", "ofType": null } } @@ -19907,15 +22906,15 @@ "deprecationReason": null }, { - "name": "shop", - "description": "The shop associated with the storefront access token.", + "name": "pageInfo", + "description": "Information to aid in pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Shop", + "name": "PageInfo", "ofType": null } }, @@ -19930,63 +22929,12 @@ }, { "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", + "name": "SellingPlanGroupEdge", + "description": "An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.\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.", + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", @@ -19997,44 +22945,39 @@ "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.", + "name": "node", + "description": "The item at the end of SellingPlanGroupEdge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "DiscountApplicationTargetType", + "kind": "OBJECT", + "name": "SellingPlanGroup", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanGroupOption", + "description": "Represents an option on a selling plan group that's available in the drop-down list in the storefront.", + "fields": [ { - "name": "title", - "description": "The title of the application as defined by the Script.", + "name": "name", + "description": "The name of the option. For example, 'Delivery every'.", "args": [], "type": { "kind": "NON_NULL", @@ -20049,16 +22992,24 @@ "deprecationReason": null }, { - "name": "value", - "description": "The value of the discount application.", + "name": "values", + "description": "The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", - "name": "PricingValue", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } } }, "isDeprecated": false, @@ -20066,47 +23017,60 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "DiscountApplication", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "SelectedOption", - "description": "Custom properties that a shop owner can use to define product variants.\nMultiple options can exist. Options are represented as: option1, option2, option3, etc.\n", + "name": "SellingPlanOption", + "description": "An option provided by a Selling Plan.", "fields": [ { "name": "name", - "description": "The product option’s name.", + "description": "The name of the option (ie \"Delivery every\").", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "value", - "description": "The product option’s value.", + "description": "The value of the option (ie \"Month\").", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanPercentagePriceAdjustment", + "description": "A percentage amount that's deducted from the original variant price. For example, 10% off.", + "fields": [ + { + "name": "adjustmentPercentage", + "description": "The percentage value of the price adjustment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, @@ -20120,44 +23084,70 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "SelectedOptionInput", - "description": "Specifies the input fields required for a selected option.", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "SellingPlanPriceAdjustment", + "description": "Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments.", + "fields": [ { - "name": "name", - "description": "The product option’s name.", + "name": "adjustmentValue", + "description": "The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price.", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "UNION", + "name": "SellingPlanPriceAdjustmentValue", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "value", - "description": "The product option’s value.", + "name": "orderCount", + "description": "The number of orders that the price adjustment applies to If the price adjustment always applies, then this field is `null`.", + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, + { + "kind": "UNION", + "name": "SellingPlanPriceAdjustmentValue", + "description": "Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "SellingPlanFixedAmountPriceAdjustment", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanFixedPriceAdjustment", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanPercentagePriceAdjustment", + "ofType": null + } + ] + }, { "kind": "OBJECT", "name": "ShippingRate", @@ -20554,6 +23544,124 @@ "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": "moneyFormat", "description": "A string representing the way currency is formatted when the currency isn’t specified.", @@ -20659,7 +23767,7 @@ }, { "name": "productTags", - "description": "A comma separated list of tags that have been added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", + "description": "A list of tags that have been added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", "args": [ { "name": "first", @@ -20818,6 +23926,18 @@ "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.", @@ -20867,8 +23987,14 @@ "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "HasMetafields", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -20969,6 +24095,159 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "StoreAvailability", + "description": "Describes the availability of a product variant at a particular location.", + "fields": [ + { + "name": "available", + "description": "Whether or not this product variant is in-stock at this location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "The location where this product variant is stocked at.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Location", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickUpTime", + "description": "Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours).", + "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": "StoreAvailabilityConnection", + "description": "An auto-generated type for paginating through multiple StoreAvailabilities.\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": "StoreAvailabilityEdge", + "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": "StoreAvailabilityEdge", + "description": "An auto-generated type which holds one StoreAvailability 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 StoreAvailabilityEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StoreAvailability", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "String", @@ -20982,7 +24261,7 @@ { "kind": "OBJECT", "name": "StringConnection", - "description": null, + "description": "An auto-generated type for paginating through multiple Strings.\n", "fields": [ { "name": "edges", @@ -21033,7 +24312,7 @@ { "kind": "OBJECT", "name": "StringEdge", - "description": null, + "description": "An auto-generated type which holds one String and a cursor during pagination.\n", "fields": [ { "name": "cursor", @@ -21095,7 +24374,7 @@ }, { "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.", + "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, @@ -21196,7 +24475,7 @@ }, { "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.", + "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, @@ -21297,7 +24576,7 @@ }, { "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.", + "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, @@ -21482,38 +24761,38 @@ { "kind": "ENUM", "name": "TransactionKind", - "description": null, + "description": "The different kinds of order transactions.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SALE", - "description": null, + "description": "An authorization and capture performed together in a single step.", "isDeprecated": false, "deprecationReason": null }, { "name": "CAPTURE", - "description": null, + "description": "A transfer of the money that was reserved during the authorization stage.", "isDeprecated": false, "deprecationReason": null }, { "name": "AUTHORIZATION", - "description": null, + "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": null, + "description": "An authorization for a payment taken with an EMV credit card reader.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANGE", - "description": null, + "description": "Money returned to the customer when they have paid too much.", "isDeprecated": false, "deprecationReason": null } @@ -21523,32 +24802,32 @@ { "kind": "ENUM", "name": "TransactionStatus", - "description": null, + "description": "Transaction statuses describe the status of a transaction.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PENDING", - "description": null, + "description": "The transaction is pending.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUCCESS", - "description": null, + "description": "The transaction succeeded.", "isDeprecated": false, "deprecationReason": null }, { "name": "FAILURE", - "description": null, + "description": "The transaction failed.", "isDeprecated": false, "deprecationReason": null }, { "name": "ERROR", - "description": null, + "description": "There was an error while processing the transaction.", "isDeprecated": false, "deprecationReason": null } @@ -21756,6 +25035,29 @@ ], "possibleTypes": null }, + { + "kind": "ENUM", + "name": "UnitSystem", + "description": "Systems of weights and measures.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "IMPERIAL_SYSTEM", + "description": "Imperial system of weights and measures.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "METRIC_SYSTEM", + "description": "Metric system of weights and measures.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "UserError", @@ -21763,7 +25065,7 @@ "fields": [ { "name": "field", - "description": "Path to the input field which caused the error.", + "description": "The path to the input field that caused the error.", "args": [], "type": { "kind": "LIST", @@ -22045,7 +25347,18 @@ { "name": "args", "description": null, - "args": [], + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], "type": { "kind": "NON_NULL", "name": null, @@ -22394,7 +25707,18 @@ { "name": "args", "description": null, - "args": [], + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], "type": { "kind": "NON_NULL", "name": null, @@ -22522,6 +25846,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "description", "description": null, @@ -22534,6 +25870,22 @@ "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, @@ -22793,7 +26145,18 @@ { "name": "inputFields", "description": null, - "args": [], + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], "type": { "kind": "LIST", "name": null, @@ -23024,7 +26387,9 @@ "description": "Marks an element of a GraphQL schema as no longer supported.", "locations": [ "FIELD_DEFINITION", - "ENUM_VALUE" + "ENUM_VALUE", + "ARGUMENT_DEFINITION", + "INPUT_FIELD_DEFINITION" ], "args": [ { @@ -23058,6 +26423,36 @@ "defaultValue": "null" } ] + }, + { + "name": "inContext", + "description": "Contextualizes data based on the additional information provided by the directive. For example, you can use the `@inContext(country: CA)` directive to query the price of a product in a storefront within the context of Canada.", + "locations": [ + "QUERY", + "MUTATION" + ], + "args": [ + { + "name": "country", + "description": "The country code for context. For example, `CA`.", + "type": { + "kind": "ENUM", + "name": "CountryCode", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preferredLocationId", + "description": "The identifier of the customer's preferred location.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + } + ] } ] } diff --git a/src/config.js b/src/config.js index 23a7ef7ec..a4918d06d 100644 --- a/src/config.js +++ b/src/config.js @@ -57,7 +57,7 @@ class Config { if (attrs.hasOwnProperty('apiVersion')) { this.apiVersion = attrs.apiVersion; } else { - this.apiVersion = '2020-07'; + this.apiVersion = '2021-07'; } if (attrs.hasOwnProperty('source')) { diff --git a/test/client-test.js b/test/client-test.js index aa938cc53..a6d63b9cd 100644 --- a/test/client-test.js +++ b/test/client-test.js @@ -9,7 +9,7 @@ suite('client-test', () => { const config = { domain: 'sendmecats.myshopify.com', storefrontAccessToken: 'abc123', - apiVersion: '2020-07' + apiVersion: '2021-07' }; test('it instantiates a GraphQL client with the given config', () => { diff --git a/test/product-helpers-test.js b/test/product-helpers-test.js index c9fd056de..e366e76c7 100644 --- a/test/product-helpers-test.js +++ b/test/product-helpers-test.js @@ -6,7 +6,7 @@ import singleProductFixture from '../fixtures/product-fixture'; import types from '../schema.json'; suite('product-helpers-test', () => { - const graphQLClient = new GraphQLJSClient(types, {url: 'https://sendmecats.myshopify.com/api/2020-07/graphql'}); + const graphQLClient = new GraphQLJSClient(types, {url: 'https://sendmecats.myshopify.com/api/2021-07/graphql'}); const query = productNodeQuery(graphQLClient) .definitions .find((definition) => definition.operationType === 'query');