From d6d01322b430761c6ac3be71aa8fee798c85de37 Mon Sep 17 00:00:00 2001 From: Michelle Chen Date: Thu, 14 Dec 2023 15:49:27 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20schema=20generation=20for=20c?= =?UTF-8?q?ustomer=20account=20api=20in=20hydrogen-react=20and=20export=20?= =?UTF-8?q?these=20types=20in=20both=20hydrogen-react=20&=20hydrogen.=20(#?= =?UTF-8?q?1572)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/fluffy-houses-itch.md | 6 + packages/hydrogen-react/CONTRIBUTING.md | 5 +- packages/hydrogen-react/codegen.ts | 66 +- packages/hydrogen-react/customer.schema.json | 37665 ++++++++++++++++ packages/hydrogen-react/package.json | 4 +- .../hydrogen-react/src/codegen.helpers.ts | 14 + .../src/customer-account-api-types.d.ts | 9675 ++++ packages/hydrogen-react/src/index.ts | 5 +- .../src/storefront-api-types.d.ts | 67 +- .../hydrogen-react/storefront.schema.json | 31074 ++++++++++++- packages/hydrogen/package.json | 5 + packages/hydrogen/src/index.ts | 1 + packages/hydrogen/tsup.config.ts | 32 +- 13 files changed, 78588 insertions(+), 31 deletions(-) create mode 100644 .changeset/fluffy-houses-itch.md create mode 100644 packages/hydrogen-react/customer.schema.json create mode 100644 packages/hydrogen-react/src/customer-account-api-types.d.ts diff --git a/.changeset/fluffy-houses-itch.md b/.changeset/fluffy-houses-itch.md new file mode 100644 index 0000000000..8d59235345 --- /dev/null +++ b/.changeset/fluffy-houses-itch.md @@ -0,0 +1,6 @@ +--- +'@shopify/hydrogen-react': minor +'@shopify/hydrogen': minor +--- + +✨ add schema generation for customer account api in hydrogen-react and export these types in both hydrogen-react & hydrogen. Note the current CA API version is `2024-01` which is a release candidate and subject to change. diff --git a/packages/hydrogen-react/CONTRIBUTING.md b/packages/hydrogen-react/CONTRIBUTING.md index 5f2dd4b424..ce3a10418b 100644 --- a/packages/hydrogen-react/CONTRIBUTING.md +++ b/packages/hydrogen-react/CONTRIBUTING.md @@ -59,16 +59,17 @@ For most contributions, this should be enough information to work off of. Howeve Every PR must pass certain CI checks in order to be merged; you can run these checks locally yourself by running `npm run ci:checks` from the root of the repo. -## Updating the Storefront API version +## Updating the Storefront API & Customer Account API version Processes that need to happen: - Create a new changeset. Use this changeset to add notes and guides to important things that are changed as part of this update. +- Note that Storefront API & Customer Account API share the same version number in our tooling - Do a find & replace in the code to replace nearly all instances of the old version with the new version. - However, don't replace documentation unless it makes sense. - Also be careful that some versions of the Storefront API don't exactly match code here: for example, SFAPI `2022-07` could be `2022-07`, `2022-7`, and `2022.7.x` in this codebase. - Note that the package.json `version` field cannot have leading `0`s. So you cannot have `2022.01.0`, and must instead use `2022.1.0` -- Update the schema url to the new api version (in `codegen.ts : Line 9`) and run the `graphql-types` NPM script to generate the new types. +- Update the schema url to the new api version (in `codegen.ts : CURRENT_API_VERSION`) and run the `graphql-types` NPM script to generate the new types. - Look through the new schema and see if there are any breaking changes - If there are new scalars, or scalars are removed, update the `codegen.yml` file's custom scalar settings and run the command again. - Search for all instances of `@deprecated` and see if it is time to make that breaking change diff --git a/packages/hydrogen-react/codegen.ts b/packages/hydrogen-react/codegen.ts index a42c820c75..4b3d12822b 100644 --- a/packages/hydrogen-react/codegen.ts +++ b/packages/hydrogen-react/codegen.ts @@ -1,26 +1,41 @@ import {CodegenConfig} from '@graphql-codegen/cli'; -import {storefrontApiCustomScalars} from './src/codegen.helpers'; +import { + storefrontApiCustomScalars, + customerApiCustomScalars, +} from './src/codegen.helpers'; -const config: CodegenConfig = { - overwrite: true, - schema: { - 'https://hydrogen-preview.myshopify.com/api/2023-10/graphql.json': { +const SF_API_VERSION = '2023-10'; +const CA_API_VERSION = '2024-01'; + +const storefrontAPISchema: CodegenConfig['schema'] = { + [`https://hydrogen-preview.myshopify.com/api/${SF_API_VERSION}/graphql.json`]: + { headers: { 'X-Shopify-Storefront-Access-Token': '3b580e70970c4528da70c98e097c2fa0', 'content-type': 'application/json', }, }, - }, +}; + +// API Key used is specific for Hydrogen App +const customerAPISchema: CodegenConfig['schema'] = { + [`https://app.myshopify.com/services/graphql/introspection/customer?api_client_api_key=159a99b8a7289a72f68603f2f4de40ac&api_version=${CA_API_VERSION}`]: + {method: 'GET'}, +}; + +const config: CodegenConfig = { + overwrite: true, generates: { // The generated base types 'src/storefront-api-types.d.ts': { + schema: storefrontAPISchema, plugins: [ { add: { content: ` /** * THIS FILE IS AUTO-GENERATED, DO NOT EDIT - * Based on Storefront API 2023-10 + * Based on Storefront API ${SF_API_VERSION} * If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run \`npm run graphql-types\`. * Except custom Scalars, which are defined in the \`codegen.ts\` file */ @@ -42,6 +57,43 @@ const config: CodegenConfig = { }, // The schema file, which is the local representation of the GraphQL endpoint './storefront.schema.json': { + schema: storefrontAPISchema, + plugins: [ + { + introspection: { + minify: true, + }, + }, + ], + }, + 'src/customer-account-api-types.d.ts': { + schema: customerAPISchema, + plugins: [ + { + add: { + content: ` + /** + * THIS FILE IS AUTO-GENERATED, DO NOT EDIT + * Based on Customer Account API ${CA_API_VERSION} + * If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run \`npm run graphql-types\`. + * Except custom Scalars, which are defined in the \`codegen.ts\` file + */ + /* eslint-disable */`, + }, + }, + { + typescript: { + useTypeImports: true, + defaultScalarType: 'unknown', + useImplementingTypes: true, + enumsAsTypes: true, + scalars: customerApiCustomScalars, + }, + }, + ], + }, + './customer.schema.json': { + schema: customerAPISchema, plugins: [ { introspection: { diff --git a/packages/hydrogen-react/customer.schema.json b/packages/hydrogen-react/customer.schema.json new file mode 100644 index 0000000000..8c6fb5f61b --- /dev/null +++ b/packages/hydrogen-react/customer.schema.json @@ -0,0 +1,37665 @@ +{ + "__schema": { + "queryType": {"name": "QueryRoot"}, + "mutationType": {"name": "Mutation"}, + "subscriptionType": null, + "types": [ + { + "kind": "OBJECT", + "name": "AdditionalFeeSale", + "description": "A sale that includes an additional fee charge.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddressCreatePayload", + "description": "Return type for `addressCreate` mutation.", + "fields": [ + { + "name": "address", + "description": "The created address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddressDeletePayload", + "description": "Return type for `addressDelete` mutation.", + "fields": [ + { + "name": "deletedAddressId", + "description": "The ID of the deleted address.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddressFormField", + "description": "The address form field.", + "fields": [ + { + "name": "mode", + "description": "The mode of the address field.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "AddressFormFieldMode", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "AddressFormFieldMode", + "description": "Defines the mode for an address form field.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "IGNORED", + "description": "Indicates that the form field should be hidden from the UI.\nAny values provided by the client will be ignored by the backend.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPTIONAL", + "description": "Indicates that the form field is visible in the UI and can be left empty.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "Indicates that the form field is visible in the UI and requires a non-empty value.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddressFormSettings", + "description": "The settings for the address form.", + "fields": [ + { + "name": "address2", + "description": "The setting for the Address2 form field.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormField", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressAutocompletion", + "description": "Whether the address autocompletion is enabled.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The setting for the Company form field.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormField", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The setting for the First name form field.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormField", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The setting for the Phone form field.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormField", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddressUpdatePayload", + "description": "Return type for `addressUpdate` mutation.", + "fields": [ + { + "name": "address", + "description": "The updated address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AdjustmentSale", + "description": "A sale event that results in an adjustment to the order price.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ApplePayBillingAddressInput", + "description": "The input fields for the billing address received from Apple Pay.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address, typically the street address or PO Box number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address, typically the apartment, suite, or unit number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "administrativeArea", + "description": "The region of the address, such as the province, state, or district.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "familyName", + "description": "The family name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "givenName", + "description": "The given name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locality", + "description": "The name of the city, district, village, or town.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The telephone number of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "postalCode", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ApplePayCreditCardAddPayload", + "description": "Return type for `applePayCreditCardAdd` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The newly added credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ApplePayCreditCardUpdatePayload", + "description": "Return type for `applePayCreditCardUpdate` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The updated credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ApplePaySessionCreatePayload", + "description": "Return type for `applePaySessionCreate` mutation.", + "fields": [ + { + "name": "body", + "description": "The object that contains the session data.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID for the created session.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ready", + "description": "Whether the session is ready. The `body` field is `null` while this value is `false`.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ApplePaySessionUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ApplePaySessionUserError", + "description": "The error codes for failures to create Apple Pay sessions.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "ApplePaySessionUserErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ApplePaySessionUserErrorCode", + "description": "Possible error codes that can be returned by `ApplePaySessionUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SESSION_COULD_NOT_BE_CREATED", + "description": "Apple Pay session could not be created.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VALIDATION_URL_IS_INVALID", + "description": "Validation URL is not an Apple Pay gateway endpoint.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ApplePayWalletConfig", + "description": "The configuration settings for the Apple Pay wallet.", + "fields": [ + { + "name": "supportedNetworks", + "description": "Supported card networks for Apple Pay.", + "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": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AppliedGiftCard", + "description": "The details about the gift card used on the checkout.", + "fields": [ + { + "name": "amountUsed", + "description": "The amount deducted from the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "balance", + "description": "The remaining amount on the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastCharacters", + "description": "The last characters of the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentAmountUsed", + "description": "The amount applied to the checkout in its currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Attribute", + "description": "Represents a generic custom attribute.", + "fields": [ + { + "name": "key", + "description": "Key or name of the attribute.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "Value of the attribute.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AutomaticDiscountApplication", + "description": "Captures the intentions of a discount that was automatically applied.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "The lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AvailableShippingRates", + "description": "A collection of available shipping rates for a checkout.", + "fields": [ + { + "name": "ready", + "description": "Whether the shipping rates are ready.\nThe `shippingRates` field is `null` when this value is `false`.\nThis field should be polled until its value becomes `true`.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingRates", + "description": "The fetched shipping rates. `null` until the `ready` field is `true`.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ShippingRate", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessAccount", + "description": "Represents the business account information.", + "fields": [ + { + "name": "companies", + "description": "The list of companies the customer operates in.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The information of the customer's company.", + "args": [ + { + "name": "id", + "description": "The ID of the Company.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": "null", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Company", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "profile", + "description": "The profile of the customer.", + "args": [], + "type": {"kind": "OBJECT", "name": "Contact", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "profileV1", + "description": "The profile of the customer.", + "args": [], + "type": {"kind": "OBJECT", "name": "Contact", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "BusinessContactUpdateInput", + "description": "The input fields required for updating a business contact.\n", + "fields": null, + "inputFields": [ + { + "name": "firstName", + "description": "The first name of the business contact.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the business contact.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": "The locale of the business contact.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the business contact.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessContactUpdatePayload", + "description": "Return type for `businessContactUpdate` mutation.", + "fields": [ + { + "name": "businessContact", + "description": "The updated business contact information.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyContact", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsBusinessContactUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessContactUpdateV1Payload", + "description": "Return type for `businessContactUpdateV1` mutation.", + "fields": [ + { + "name": "businessContact", + "description": "The updated business contact information.", + "args": [], + "type": {"kind": "OBJECT", "name": "Contact", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsBusinessContactUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "BusinessCustomerErrorCode", + "description": "Possible error codes that can be returned by `BusinessCustomerUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BLANK", + "description": "The input value is blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUSINESS_LOCATION_NOT_FOUND", + "description": "Business location doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_DELETE", + "description": "Deleting the resource failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERNAL_ERROR", + "description": "An internal error occurred.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_INPUT", + "description": "The input is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIMIT_REACHED", + "description": "The number of resources exceeded the limit.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO_INPUT", + "description": "The input is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PERMISSION_DENIED", + "description": "Permission denied.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "Missing a required field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RESOURCE_NOT_FOUND", + "description": "The resource wasn't found.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAKEN", + "description": "The input value is already taken.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The field value is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNEXPECTED_TYPE", + "description": "Unexpected type.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessCustomerUserError", + "description": "An error that happens during the execution of a business customer mutation.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "BusinessCustomerErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationBillingAddressCreatePayload", + "description": "Return type for `businessLocationBillingAddressCreate` mutation.", + "fields": [ + { + "name": "businessLocationBillingAddress", + "description": "The created address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationBillingAddressUpdatePayload", + "description": "Return type for `businessLocationBillingAddressUpdate` mutation.", + "fields": [ + { + "name": "businessLocationBillingAddress", + "description": "The updated address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationCreditCardAddPayload", + "description": "Return type for `businessLocationCreditCardAdd` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The newly added credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nextActionUrl", + "description": "The URL to redirect the customer to for completing the 3D Secure payment flow.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationCreditCardUpdatePayload", + "description": "Return type for `businessLocationCreditCardUpdate` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The updated credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationPaymentInstrumentRemovePayload", + "description": "Return type for `businessLocationPaymentInstrumentRemove` mutation.", + "fields": [ + { + "name": "deletedPaymentInstrumentId", + "description": "The ID of the removed payment instrument.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationShippingAddressCreatePayload", + "description": "Return type for `businessLocationShippingAddressCreate` mutation.", + "fields": [ + { + "name": "businessLocationShippingAddress", + "description": "The created address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BusinessLocationShippingAddressUpdatePayload", + "description": "Return type for `businessLocationShippingAddressUpdate` mutation.", + "fields": [ + { + "name": "businessLocationShippingAddress", + "description": "The updated address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BuyerExperienceConfiguration", + "description": "The configuration for the buyer's checkout.", + "fields": [ + { + "name": "payNowOnly", + "description": "Whether the buyer must pay at checkout or\ncan choose to pay at checkout or pay later using net terms.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTermsTemplate", + "description": "The merchant configured payment terms.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentTermsTemplate", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CardPaymentDetails", + "description": "The card payment details related to a transaction.", + "fields": [ + { + "name": "cardBrand", + "description": "The brand of the credit card used.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last4", + "description": "The last four digits of the credit card used.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Checkout", + "description": "A container for information required to checkout items and pay.", + "fields": [ + { + "name": "appliedGiftCards", + "description": "The gift cards used on the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AppliedGiftCard", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "availableShippingRates", + "description": "The available shipping rates for this Checkout.\nShould only be used when checkout `requiresShipping` is `true` and\nthe shipping address is valid.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "AvailableShippingRates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the checkout was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The currency code for the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "The extra information added to the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountApplications", + "description": "The discounts applied on the checkout.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountApplicationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email associated with this checkout.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "A list of line item objects, each containing information about an item in the checkout.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemsSubtotalPrice", + "description": "The sum of all the prices of all the items in the checkout,\nexcluding duties, taxes, shipping, and discounts.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "The note associated with the checkout.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentDue", + "description": "The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ready", + "description": "Whether the Checkout is ready and can be completed. Checkouts may\nhave asynchronous operations that can take time to finish. If you want\nto complete a checkout or ensure all the fields are populated and up to\ndate, polling is required until the value is true.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the fulfillment requires shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The address where the line items will be shipped.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingDiscountAllocations", + "description": "The discounts allocated to the shipping line by discount applications.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingLine", + "description": "The selected shipping rate, transitioned to a `shipping_line` object.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShippingRate", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopPayConfiguration", + "description": "The configuration values used to initialize a Shop Pay checkout.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ShopPayConfiguration", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPrice", + "description": "The price at checkout before duties, shipping, and taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExempt", + "description": "Whether the checkout is tax exempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxesIncluded", + "description": "Whether taxes are included in the line item and shipping line prices.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDuties", + "description": "The sum of all the duties applied to the line items in the checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The sum of all the prices of all the items in the checkout,\nduties, taxes, and discounts included.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTax", + "description": "The sum of all the taxes applied to the line items and shipping lines in the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "webUrl", + "description": "The URL for the checkout, accessible from the web.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "description": "A line item in the checkout, grouped by variant and attributes.", + "fields": [ + { + "name": "customAttributes", + "description": "An array of Key-Value pairs providing extra information about the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The price of the line item.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the line item. Defaults to the product's title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPrice", + "description": "The unit price of the line item.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTitle", + "description": "The name of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemConnection", + "description": "An auto-generated type for paginating through multiple CheckoutLineItems.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CheckoutLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemEdge", + "description": "An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of CheckoutLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Company", + "description": "Represents a company's information.", + "fields": [ + { + "name": "draftOrders", + "description": "The list of company draft orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderByCompanySortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "externalId", + "description": "A unique externally-supplied ID for the company.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "The list of locations that the business of the business contact belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the company.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The list of customer orders under the company.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderByCompanySortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "profile", + "description": "The profile of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyContact", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "profileV1", + "description": "The profile of the customer.", + "args": [], + "type": {"kind": "OBJECT", "name": "Contact", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyAddress", + "description": "The address of a company location, either billing or shipping.", + "fields": [ + { + "name": "address1", + "description": "The first line of the address. It is typically the street address or PO Box number.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. It is typically the apartment, suite, or unit number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The city, district, village, or town.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The name of the company.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": "The name of the company.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address, for example, US.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CountryCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCodeV2", + "description": "The two-letter code for the country of the address, for example, US.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CountryCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time (in [ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601))\nwhen the company address was created.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the recipient.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formatted", + "description": "The formatted version of the address.", + "args": [ + { + "name": "withCompanyName", + "description": "Whether to include the company name in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "true", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "withName", + "description": "Whether to include name of the recipient in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formattedAddress", + "description": "The formatted version of the address.", + "args": [ + { + "name": "withCompanyName", + "description": "Whether to include the company name in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "true", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "withName", + "description": "Whether to include the name of the recipient in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formattedArea", + "description": "A comma-separated list of the city, province, and country values.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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 recipient.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latitude", + "description": "The latitude coordinate of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "longitude", + "description": "The longitude coordinate of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The unique phone number of the customer, formatted using the E.164 standard, for example, _+16135551111_.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The two-letter code for the region, for example, ON.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The identity of the recipient, for example, 'Receiving Department'.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time (in [ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601))\nwhen the company address was last updated.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The two-letter code for the region, for example, ON.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "description": "The input fields for creating or updating a company location address.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address, typically the street address or PO Box number.", + "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.", + "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.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name in the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name in the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "A unique phone number for the business location, formatted using the E.164 standard, for example, _+16135551111_.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipient", + "description": "The identity of the recipient, for example, 'Receiving Department'.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The code for the region of the address, such as the province, state, or district, for example, QC for Quebec, Canada.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompanyAddressType", + "description": "The valid values for the address type of a company.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BILLING", + "description": "The address is a billing address.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING", + "description": "The address is a shipping address.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyConnection", + "description": "An auto-generated type for paginating through multiple Companies.\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": "CompanyEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CompanyEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Company", + "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": "CompanyContact", + "description": "Represents the customer's contact information.", + "fields": [ + { + "name": "company", + "description": "The information of the copmany contact's company.", + "args": [], + "type": {"kind": "OBJECT", "name": "Company", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The customer associated to this contact.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Customer", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrders", + "description": "The list of company contact's draft orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasPermissionOnLocations", + "description": "Whether the company contact has permissions on locations in the scope.", + "args": [ + { + "name": "permissions", + "description": "The permitted operations on resource.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PermittedOperation", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resource", + "description": "The resource of the permissions to check.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ResourceType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scope", + "description": "The scope of locations that the permissions of a resource should be checked on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ContactPermissionLocationScopeType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "The list of locations that the company contact belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationsV1", + "description": "The list of locations that the company contact belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The list of company contact's orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderByContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The current status of the company contact.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CompanyContactStatusType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the company contact with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The job title of the company contact.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyContactConnection", + "description": "An auto-generated type for paginating through multiple CompanyContacts.\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": "CompanyContactEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CompanyContactEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContact", + "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": "CompanyContactEdge", + "description": "An auto-generated type which holds one CompanyContact 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 CompanyContactEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContact", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyContactRole", + "description": "A role for a company contact.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "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 role.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourcePermission", + "description": "The permissions on a specified resource.", + "args": [ + { + "name": "resource", + "description": "The resource for which permissions are being requested.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ResourceType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PermittedOperation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourcePermissions", + "description": "A list of permissions on all resources.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResourcePermission", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignment", + "description": "Represents information about a company contact role assignment.", + "fields": [ + { + "name": "contact", + "description": "The company contact for whom this role is assigned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContact", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactV1", + "description": "The company contact for whom this role is assigned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Contact", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": "The role that's assigned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactRole", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignmentConnection", + "description": "An auto-generated type for paginating through multiple CompanyContactRoleAssignments.\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": "CompanyContactRoleAssignmentEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CompanyContactRoleAssignmentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignment", + "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": "CompanyContactRoleAssignmentEdge", + "description": "An auto-generated type which holds one CompanyContactRoleAssignment 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 CompanyContactRoleAssignmentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompanyContactRoleAssignmentSortKeys", + "description": "The set of valid sort keys for the CompanyContactRoleAssignment query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LOCATION_NAME", + "description": "Sort by the `location_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompanyContactSortKeys", + "description": "The set of valid sort keys for the CompanyContact query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "COMPANY_ID", + "description": "Sort by the `company_id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMAIL", + "description": "Sort by the `email` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "NAME_EMAIL", + "description": "Sort by the `name_email` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompanyContactStatusType", + "description": "A flag to describe the current status of a company contact.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DISABLED", + "description": "The contact is disabled and removed from the company.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENABLED", + "description": "The contact is enabled and active.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyEdge", + "description": "An auto-generated type which holds one Company 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 CompanyEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Company", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyLocation", + "description": "Represents a company's business location.", + "fields": [ + { + "name": "billingAddress", + "description": "The billing address of the company location.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerExperienceConfiguration", + "description": "The configuration of the buyer's B2B checkout.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "BuyerExperienceConfiguration", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contacts", + "description": "The list of contacts under a particular business location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `email`\n - `location_name`\n - `name`\n - `role_name`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactsV1", + "description": "The list of contacts under a particular business location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `email`\n - `location_name`\n - `name`\n - `role_name`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ContactConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCard", + "description": "The credit card corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the credit card to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCards", + "description": "The list of stored credit cards.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCardConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrders", + "description": "The list of company draft orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderByLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "externalId", + "description": "A unique externally-supplied ID for the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "market", + "description": "The market that includes the location's shipping address. If the shipping address is empty, the shop's primary market is returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Market", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the company location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The list of customer orders under the company.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderByLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "roleAssignments", + "description": "The list of roles assigned to this location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_contact_role_id`\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `location_name`\n - `role_name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactRoleAssignmentSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignmentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The shipping address of the company location.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptions", + "description": "The list of tax exemptions applied to the location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TaxExemption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the location with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxIdentifier", + "description": "The tax id of the company location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyLocationAssignAddressPayload", + "description": "Return type for `companyLocationAssignAddress` mutation.", + "fields": [ + { + "name": "addresses", + "description": "The list of updated addresses on the company location.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BusinessCustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompanyLocationConnection", + "description": "An auto-generated type for paginating through multiple CompanyLocations.\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": "CompanyLocationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CompanyLocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocation", + "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": "CompanyLocationEdge", + "description": "An auto-generated type which holds one CompanyLocation 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 CompanyLocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "description": "The set of valid sort keys for the CompanyLocation query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "COMPANY_AND_LOCATION_NAME", + "description": "Sort by the `company_and_location_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_ID", + "description": "Sort by the `company_id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Contact", + "description": "Represents customer's personal information.", + "fields": [ + { + "name": "draftOrder", + "description": "The Draft Order corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Draft Order to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "DraftOrder", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrders", + "description": "The list of company draft orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailAddress", + "description": "The email address of the contact.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasOrdersViewPermissionOnAnyLocation", + "description": "Whether the company contact has view permission on any location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasPermissionOnLocations", + "description": "Whether the company contact has permissions on locations in the scope.", + "args": [ + { + "name": "permissions", + "description": "The permitted operations on resource.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PermittedOperation", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resource", + "description": "The resource of the permissions to check.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ResourceType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scope", + "description": "The scope of locations that the permissions of a resource should be checked on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ContactPermissionLocationScopeType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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": "locale", + "description": "The locale of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "The Location corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Location to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CompanyLocation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationV1", + "description": "The Location corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Location to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Location", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "The list of locations that the business of the business contact belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationsV1", + "description": "The list of locations that the business of the business contact belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_id`\n - `created_at`\n - `external_id`\n - `ids`\n - `name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyLocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "The Order corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderDetailsPageOrder", + "description": "The Order corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "UNION", + "name": "OrderDetailsPageOrder", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The list of contact orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderByContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The phone number of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerPhoneNumber", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The current status of the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CompanyContactStatusType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExempt", + "description": "Whether the company contact is exempt from being charged taxes on their orders.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptions", + "description": "The list of tax exemption types applied to the company_contact.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TaxExemption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the company contact with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ContactConnection", + "description": "An auto-generated type for paginating through multiple Contacts.\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": "ContactEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ContactEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Contact", + "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": "ContactEdge", + "description": "An auto-generated type which holds one Contact 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 ContactEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Contact", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ContactPermissionLocationScopeType", + "description": "Defines the extent of locations for which a contact holds permissions on a resource.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALL", + "description": "The contact has permission on all locations.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ANY", + "description": "The contact has permission for at least one location.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NONE", + "description": "The contact has no permission on any location.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ONE", + "description": "The contact has permission on only one location.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CountryCode", + "description": "The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AC", + "description": "Ascension Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AD", + "description": "Andorra.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AE", + "description": "United Arab Emirates.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AF", + "description": "Afghanistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AG", + "description": "Antigua & Barbuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AI", + "description": "Anguilla.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AL", + "description": "Albania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AM", + "description": "Armenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AN", + "description": "Netherlands Antilles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AO", + "description": "Angola.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AR", + "description": "Argentina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AT", + "description": "Austria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AU", + "description": "Australia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AW", + "description": "Aruba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AX", + "description": "Åland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZ", + "description": "Azerbaijan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BA", + "description": "Bosnia & Herzegovina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BB", + "description": "Barbados.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BD", + "description": "Bangladesh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BE", + "description": "Belgium.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BF", + "description": "Burkina Faso.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BG", + "description": "Bulgaria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BH", + "description": "Bahrain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BI", + "description": "Burundi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BJ", + "description": "Benin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BL", + "description": "St. Barthélemy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BM", + "description": "Bermuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BN", + "description": "Brunei.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BO", + "description": "Bolivia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BQ", + "description": "Caribbean Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BR", + "description": "Brazil.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BS", + "description": "Bahamas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BT", + "description": "Bhutan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BV", + "description": "Bouvet Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BW", + "description": "Botswana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BY", + "description": "Belarus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BZ", + "description": "Belize.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA", + "description": "Canada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CC", + "description": "Cocos (Keeling) Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CD", + "description": "Congo - Kinshasa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CF", + "description": "Central African Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CG", + "description": "Congo - Brazzaville.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CH", + "description": "Switzerland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CI", + "description": "Côte d’Ivoire.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CK", + "description": "Cook Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CL", + "description": "Chile.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CM", + "description": "Cameroon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CN", + "description": "China.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CO", + "description": "Colombia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CR", + "description": "Costa Rica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CU", + "description": "Cuba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CV", + "description": "Cape Verde.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CW", + "description": "Curaçao.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CX", + "description": "Christmas Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CY", + "description": "Cyprus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CZ", + "description": "Czechia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DE", + "description": "Germany.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DJ", + "description": "Djibouti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DK", + "description": "Denmark.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DM", + "description": "Dominica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DO", + "description": "Dominican Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZ", + "description": "Algeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EC", + "description": "Ecuador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EE", + "description": "Estonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EG", + "description": "Egypt.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EH", + "description": "Western Sahara.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ER", + "description": "Eritrea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ES", + "description": "Spain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ET", + "description": "Ethiopia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FI", + "description": "Finland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FJ", + "description": "Fiji.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FK", + "description": "Falkland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FO", + "description": "Faroe Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FR", + "description": "France.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GA", + "description": "Gabon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GB", + "description": "United Kingdom.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GD", + "description": "Grenada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GE", + "description": "Georgia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GF", + "description": "French Guiana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GG", + "description": "Guernsey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GH", + "description": "Ghana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GI", + "description": "Gibraltar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GL", + "description": "Greenland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GM", + "description": "Gambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GN", + "description": "Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GP", + "description": "Guadeloupe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GQ", + "description": "Equatorial Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GR", + "description": "Greece.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GS", + "description": "South Georgia & South Sandwich Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GT", + "description": "Guatemala.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GW", + "description": "Guinea-Bissau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GY", + "description": "Guyana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HK", + "description": "Hong Kong SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HM", + "description": "Heard & McDonald Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HN", + "description": "Honduras.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HR", + "description": "Croatia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HT", + "description": "Haiti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HU", + "description": "Hungary.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Indonesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IE", + "description": "Ireland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IL", + "description": "Israel.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IM", + "description": "Isle of Man.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN", + "description": "India.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IO", + "description": "British Indian Ocean Territory.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IQ", + "description": "Iraq.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IR", + "description": "Iran.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IS", + "description": "Iceland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IT", + "description": "Italy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JE", + "description": "Jersey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JM", + "description": "Jamaica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JO", + "description": "Jordan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JP", + "description": "Japan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KE", + "description": "Kenya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KG", + "description": "Kyrgyzstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KH", + "description": "Cambodia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KI", + "description": "Kiribati.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KM", + "description": "Comoros.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KN", + "description": "St. Kitts & Nevis.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KP", + "description": "North Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KR", + "description": "South Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KW", + "description": "Kuwait.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KY", + "description": "Cayman Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KZ", + "description": "Kazakhstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LA", + "description": "Laos.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LB", + "description": "Lebanon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LC", + "description": "St. Lucia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LI", + "description": "Liechtenstein.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LK", + "description": "Sri Lanka.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LR", + "description": "Liberia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LS", + "description": "Lesotho.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LT", + "description": "Lithuania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LU", + "description": "Luxembourg.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LV", + "description": "Latvia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LY", + "description": "Libya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MA", + "description": "Morocco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MC", + "description": "Monaco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MD", + "description": "Moldova.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ME", + "description": "Montenegro.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MF", + "description": "St. Martin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "Madagascar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MK", + "description": "North Macedonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "Mali.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MM", + "description": "Myanmar (Burma).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MN", + "description": "Mongolia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MO", + "description": "Macao SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MQ", + "description": "Martinique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MR", + "description": "Mauritania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MS", + "description": "Montserrat.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MT", + "description": "Malta.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MU", + "description": "Mauritius.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MV", + "description": "Maldives.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MW", + "description": "Malawi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MX", + "description": "Mexico.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MY", + "description": "Malaysia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MZ", + "description": "Mozambique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NA", + "description": "Namibia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NC", + "description": "New Caledonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NE", + "description": "Niger.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NF", + "description": "Norfolk Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NG", + "description": "Nigeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NI", + "description": "Nicaragua.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NL", + "description": "Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO", + "description": "Norway.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NP", + "description": "Nepal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NR", + "description": "Nauru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NU", + "description": "Niue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NZ", + "description": "New Zealand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OM", + "description": "Oman.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PA", + "description": "Panama.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PE", + "description": "Peru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PF", + "description": "French Polynesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PG", + "description": "Papua New Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PH", + "description": "Philippines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PK", + "description": "Pakistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PL", + "description": "Poland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PM", + "description": "St. Pierre & Miquelon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PN", + "description": "Pitcairn Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PS", + "description": "Palestinian Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT", + "description": "Portugal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PY", + "description": "Paraguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QA", + "description": "Qatar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RE", + "description": "Réunion.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RO", + "description": "Romania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RS", + "description": "Serbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RU", + "description": "Russia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RW", + "description": "Rwanda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SA", + "description": "Saudi Arabia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SB", + "description": "Solomon Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SC", + "description": "Seychelles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SD", + "description": "Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SE", + "description": "Sweden.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SG", + "description": "Singapore.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SH", + "description": "St. Helena.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SI", + "description": "Slovenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SJ", + "description": "Svalbard & Jan Mayen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SK", + "description": "Slovakia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SL", + "description": "Sierra Leone.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SM", + "description": "San Marino.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SN", + "description": "Senegal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SO", + "description": "Somalia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SR", + "description": "Suriname.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SS", + "description": "South Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ST", + "description": "São Tomé & Príncipe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SV", + "description": "El Salvador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SX", + "description": "Sint Maarten.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SY", + "description": "Syria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SZ", + "description": "Eswatini.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TA", + "description": "Tristan da Cunha.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TC", + "description": "Turks & Caicos Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TD", + "description": "Chad.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TF", + "description": "French Southern Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TG", + "description": "Togo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TH", + "description": "Thailand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TJ", + "description": "Tajikistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TK", + "description": "Tokelau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TL", + "description": "Timor-Leste.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TM", + "description": "Turkmenistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TN", + "description": "Tunisia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TO", + "description": "Tonga.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TR", + "description": "Turkey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TT", + "description": "Trinidad & Tobago.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TV", + "description": "Tuvalu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TW", + "description": "Taiwan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TZ", + "description": "Tanzania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UA", + "description": "Ukraine.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UG", + "description": "Uganda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UM", + "description": "U.S. Outlying Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US", + "description": "United States.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UY", + "description": "Uruguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZ", + "description": "Uzbekistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VA", + "description": "Vatican City.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VC", + "description": "St. Vincent & Grenadines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VE", + "description": "Venezuela.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VG", + "description": "British Virgin Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VN", + "description": "Vietnam.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VU", + "description": "Vanuatu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WF", + "description": "Wallis & Futuna.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WS", + "description": "Samoa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XK", + "description": "Kosovo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YE", + "description": "Yemen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YT", + "description": "Mayotte.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZA", + "description": "South Africa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZM", + "description": "Zambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZW", + "description": "Zimbabwe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZZ", + "description": "Unknown Region.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreditCardAddPayload", + "description": "Return type for `creditCardAdd` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The newly added credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nextActionUrl", + "description": "The URL to which the customer should be redirected to complete the 3D Secure payment flow.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreditCardUpdatePayload", + "description": "Return type for `creditCardUpdate` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The updated credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, `credit_card` will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CropRegion", + "description": "The part of the image that should remain after cropping.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BOTTOM", + "description": "Keep the bottom of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CENTER", + "description": "Keep the center of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LEFT", + "description": "Keep the left of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RIGHT", + "description": "Keep the right of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOP", + "description": "Keep the top of the image.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CurrencyCode", + "description": "The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes,\nand non-standard codes.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AED", + "description": "United Arab Emirates Dirham (AED).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AFN", + "description": "Afghan Afghani (AFN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ALL", + "description": "Albanian Lek (ALL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AMD", + "description": "Armenian Dram (AMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ANG", + "description": "Netherlands Antillean Guilder.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AOA", + "description": "Angolan Kwanza (AOA).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARS", + "description": "Argentine Pesos (ARS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AUD", + "description": "Australian Dollars (AUD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AWG", + "description": "Aruban Florin (AWG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZN", + "description": "Azerbaijani Manat (AZN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BAM", + "description": "Bosnia and Herzegovina Convertible Mark (BAM).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BBD", + "description": "Barbadian Dollar (BBD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BDT", + "description": "Bangladesh Taka (BDT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BGN", + "description": "Bulgarian Lev (BGN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BHD", + "description": "Bahraini Dinar (BHD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BIF", + "description": "Burundian Franc (BIF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BMD", + "description": "Bermudian Dollar (BMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BND", + "description": "Brunei Dollar (BND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BOB", + "description": "Bolivian Boliviano (BOB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BRL", + "description": "Brazilian Real (BRL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BSD", + "description": "Bahamian Dollar (BSD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BTN", + "description": "Bhutanese Ngultrum (BTN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BWP", + "description": "Botswana Pula (BWP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BYN", + "description": "Belarusian Ruble (BYN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BYR", + "description": "Belarusian Ruble (BYR).", + "isDeprecated": true, + "deprecationReason": "`BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead." + }, + { + "name": "BZD", + "description": "Belize Dollar (BZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CAD", + "description": "Canadian Dollars (CAD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CDF", + "description": "Congolese franc (CDF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHF", + "description": "Swiss Francs (CHF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CLP", + "description": "Chilean Peso (CLP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CNY", + "description": "Chinese Yuan Renminbi (CNY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COP", + "description": "Colombian Peso (COP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CRC", + "description": "Costa Rican Colones (CRC).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CVE", + "description": "Cape Verdean escudo (CVE).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CZK", + "description": "Czech Koruny (CZK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DJF", + "description": "Djiboutian Franc (DJF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DKK", + "description": "Danish Kroner (DKK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DOP", + "description": "Dominican Peso (DOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZD", + "description": "Algerian Dinar (DZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EGP", + "description": "Egyptian Pound (EGP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ERN", + "description": "Eritrean Nakfa (ERN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ETB", + "description": "Ethiopian Birr (ETB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EUR", + "description": "Euro (EUR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FJD", + "description": "Fijian Dollars (FJD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FKP", + "description": "Falkland Islands Pounds (FKP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GBP", + "description": "United Kingdom Pounds (GBP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GEL", + "description": "Georgian Lari (GEL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GHS", + "description": "Ghanaian Cedi (GHS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIP", + "description": "Gibraltar Pounds (GIP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GMD", + "description": "Gambian Dalasi (GMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GNF", + "description": "Guinean Franc (GNF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GTQ", + "description": "Guatemalan Quetzal (GTQ).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GYD", + "description": "Guyanese Dollar (GYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HKD", + "description": "Hong Kong Dollars (HKD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HNL", + "description": "Honduran Lempira (HNL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HRK", + "description": "Croatian Kuna (HRK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HTG", + "description": "Haitian Gourde (HTG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HUF", + "description": "Hungarian Forint (HUF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IDR", + "description": "Indonesian Rupiah (IDR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ILS", + "description": "Israeli New Shekel (NIS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INR", + "description": "Indian Rupees (INR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IQD", + "description": "Iraqi Dinar (IQD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IRR", + "description": "Iranian Rial (IRR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ISK", + "description": "Icelandic Kronur (ISK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JEP", + "description": "Jersey Pound.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JMD", + "description": "Jamaican Dollars (JMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JOD", + "description": "Jordanian Dinar (JOD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JPY", + "description": "Japanese Yen (JPY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KES", + "description": "Kenyan Shilling (KES).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KGS", + "description": "Kyrgyzstani Som (KGS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KHR", + "description": "Cambodian Riel.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KID", + "description": "Kiribati Dollar (KID).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KMF", + "description": "Comorian Franc (KMF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KRW", + "description": "South Korean Won (KRW).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KWD", + "description": "Kuwaiti Dinar (KWD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KYD", + "description": "Cayman Dollars (KYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KZT", + "description": "Kazakhstani Tenge (KZT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LAK", + "description": "Laotian Kip (LAK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LBP", + "description": "Lebanese Pounds (LBP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LKR", + "description": "Sri Lankan Rupees (LKR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LRD", + "description": "Liberian Dollar (LRD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LSL", + "description": "Lesotho Loti (LSL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LTL", + "description": "Lithuanian Litai (LTL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LVL", + "description": "Latvian Lati (LVL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LYD", + "description": "Libyan Dinar (LYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MAD", + "description": "Moroccan Dirham.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MDL", + "description": "Moldovan Leu (MDL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MGA", + "description": "Malagasy Ariary (MGA).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MKD", + "description": "Macedonia Denar (MKD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MMK", + "description": "Burmese Kyat (MMK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MNT", + "description": "Mongolian Tugrik.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MOP", + "description": "Macanese Pataca (MOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MRU", + "description": "Mauritanian Ouguiya (MRU).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUR", + "description": "Mauritian Rupee (MUR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MVR", + "description": "Maldivian Rufiyaa (MVR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MWK", + "description": "Malawian Kwacha (MWK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MXN", + "description": "Mexican Pesos (MXN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MYR", + "description": "Malaysian Ringgits (MYR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MZN", + "description": "Mozambican Metical.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAD", + "description": "Namibian Dollar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NGN", + "description": "Nigerian Naira (NGN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NIO", + "description": "Nicaraguan Córdoba (NIO).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOK", + "description": "Norwegian Kroner (NOK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NPR", + "description": "Nepalese Rupee (NPR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NZD", + "description": "New Zealand Dollars (NZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OMR", + "description": "Omani Rial (OMR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAB", + "description": "Panamian Balboa (PAB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PEN", + "description": "Peruvian Nuevo Sol (PEN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PGK", + "description": "Papua New Guinean Kina (PGK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHP", + "description": "Philippine Peso (PHP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PKR", + "description": "Pakistani Rupee (PKR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PLN", + "description": "Polish Zlotych (PLN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PYG", + "description": "Paraguayan Guarani (PYG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QAR", + "description": "Qatari Rial (QAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RON", + "description": "Romanian Lei (RON).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RSD", + "description": "Serbian dinar (RSD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RUB", + "description": "Russian Rubles (RUB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RWF", + "description": "Rwandan Franc (RWF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SAR", + "description": "Saudi Riyal (SAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SBD", + "description": "Solomon Islands Dollar (SBD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCR", + "description": "Seychellois Rupee (SCR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SDG", + "description": "Sudanese Pound (SDG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SEK", + "description": "Swedish Kronor (SEK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SGD", + "description": "Singapore Dollars (SGD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHP", + "description": "Saint Helena Pounds (SHP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SLL", + "description": "Sierra Leonean Leone (SLL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SOS", + "description": "Somali Shilling (SOS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SRD", + "description": "Surinamese Dollar (SRD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SSP", + "description": "South Sudanese Pound (SSP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STD", + "description": "Sao Tome And Principe Dobra (STD).", + "isDeprecated": true, + "deprecationReason": "`STD` is deprecated. Use `STN` available from version `2022-07` onwards instead." + }, + { + "name": "STN", + "description": "Sao Tome And Principe Dobra (STN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SYP", + "description": "Syrian Pound (SYP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SZL", + "description": "Swazi Lilangeni (SZL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "THB", + "description": "Thai baht (THB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TJS", + "description": "Tajikistani Somoni (TJS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TMT", + "description": "Turkmenistani Manat (TMT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TND", + "description": "Tunisian Dinar (TND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOP", + "description": "Tongan Pa'anga (TOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TRY", + "description": "Turkish Lira (TRY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TTD", + "description": "Trinidad and Tobago Dollars (TTD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TWD", + "description": "Taiwan Dollars (TWD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TZS", + "description": "Tanzanian Shilling (TZS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UAH", + "description": "Ukrainian Hryvnia (UAH).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UGX", + "description": "Ugandan Shilling (UGX).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "USD", + "description": "United States Dollars (USD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UYU", + "description": "Uruguayan Pesos (UYU).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZS", + "description": "Uzbekistan som (UZS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VED", + "description": "Venezuelan Bolivares (VED).", + "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 Soberanos (VES).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VND", + "description": "Vietnamese đồng (VND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VUV", + "description": "Vanuatu Vatu (VUV).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WST", + "description": "Samoan Tala (WST).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XAF", + "description": "Central African CFA Franc (XAF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XCD", + "description": "East Caribbean Dollar (XCD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XOF", + "description": "West African CFA franc (XOF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XPF", + "description": "CFP Franc (XPF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XXX", + "description": "Unrecognized currency.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YER", + "description": "Yemeni Rial (YER).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZAR", + "description": "South African Rand (ZAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZMW", + "description": "Zambian Kwacha (ZMW).", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Customer", + "description": "Represents the personal information of a customer.", + "fields": [ + { + "name": "addresses", + "description": "The addresses associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "skipDefault", + "description": "A flag indicating whether the default address should be included.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerAddressConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "availableWalletPaymentConfigs", + "description": "The list of wallet payment configs for providers that the payment method accepts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "WalletPaymentConfig", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyContacts", + "description": "The list of contacts the customer is associated with.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the customer was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creationDate", + "description": "The date and time when the customer was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCard", + "description": "A Credit Card resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Credit Card to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCards", + "description": "The stored Credit Cards associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCardConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The default address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayName", + "description": "The full name of the customer, based on the first_name and last_name values. If these aren't available, it falls back to the customer's email address, and if that isn't available, the customer's phone number.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrders", + "description": "The Draft Orders associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailAddress", + "description": "The email address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "imageUrl", + "description": "The URL to the avatar image of the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastIncompleteCheckout", + "description": "The customer's most recently updated, incomplete checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "A metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the\nsupplied list of namespaces and keys.\n", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The orders associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalBillingAgreement", + "description": "A PayPal Billing Agreement resource.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaypalBillingAgreement", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The phone number of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerPhoneNumber", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "return", + "description": "A Return identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Return", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContract", + "description": "A Subscription Contract resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the SubscriptionContract to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContracts", + "description": "The Subscription Contracts associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SubscriptionContractsSortKeys", + "ofType": null + }, + "defaultValue": "CREATED_AT", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "A comma-separated list of tags that have been added to the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the customer with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddress", + "description": "Represents a customer's mailing address.\nFor example, a customer's default address and an order's billing address are both mailing addresses.\n", + "fields": [ + { + "name": "address1", + "description": "The first line of the address. Typically the street address or PO Box number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. This is typically the apartment, suite, or unit number.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The name of the customer's company or organization.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formatted", + "description": "A formatted version of the address, customized by the provided arguments.", + "args": [ + { + "name": "withCompany", + "description": "Determines whether to include the customer's company in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "true", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "withName", + "description": "Determines whether to include the customer's name in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formattedArea", + "description": "A comma-separated list of the values for city, province, and country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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": "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": "phoneNumber", + "description": "The customer's unique phone number.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "territoryCode", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The two-letter code for the region.\n\nFor example, ON.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressConnection", + "description": "An auto-generated type for paginating through multiple CustomerAddresses.\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": "CustomerAddressEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CustomerAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerAddress", + "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": "CustomerAddressCreatePayload", + "description": "Return type for `customerAddressCreate` mutation.", + "fields": [ + { + "name": "customerAddress", + "description": "The created customer address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressDeletePayload", + "description": "Return type for `customerAddressDelete` mutation.", + "fields": [ + { + "name": "deletedAddressId", + "description": "The ID of the deleted address.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressEdge", + "description": "An auto-generated type which holds one CustomerAddress 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 CustomerAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerAddressInput", + "description": "The input fields to create or update a mailing address.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address. Typically the street address or PO Box number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. Typically the apartment, suite, or unit number.", + "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.", + "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.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "territoryCode", + "description": "The territory code for the country of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The code for the region of the address, such as the province,\nstate, or district. For example, QC for Quebec, Canada.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressUpdatePayload", + "description": "Return type for `customerAddressUpdate` mutation.", + "fields": [ + { + "name": "customerAddress", + "description": "The updated address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "description": "The credit card payment instrument.", + "fields": [ + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentInstrumentBillingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "brand", + "description": "The brand of the credit card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default", + "description": "Whether the credit card is the default payment method.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiresSoon", + "description": "Whether the credit card is about to expire.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiryMonth", + "description": "The expiry month of the credit card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiryYear", + "description": "The expiry year of the credit card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstDigits", + "description": "The BIN number of the credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastDigits", + "description": "The last 4 digits of the credit card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maskedNumber", + "description": "The masked credit card number, displaying only the last 4 digits.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the card holder.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "openDraftOrders", + "description": "The list of open draft orders of an associated credit card.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pendingOrders", + "description": "The list of pending orders associated with this credit card.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permissionToShowAtCheckout", + "description": "Whether this credit card has permission to be shown at checkout for future purchases.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContracts", + "description": "The list of subscription contracts charged against this credit card.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SubscriptionContractsSortKeys", + "ofType": null + }, + "defaultValue": "CREATED_AT", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "virtualLastDigits", + "description": "The last 4 digits of the Device Account Number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "walletType", + "description": "The type of wallet, if the credit card is associated with a wallet.", + "args": [], + "type": { + "kind": "ENUM", + "name": "PaymentInstrumentWalletType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "PaymentInstrument", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerCreditCardConnection", + "description": "An auto-generated type for paginating through multiple CustomerCreditCards.\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": "CustomerCreditCardEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CustomerCreditCardEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "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": "CustomerCreditCardEdge", + "description": "An auto-generated type which holds one CustomerCreditCard 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 CustomerCreditCardEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "description": "An email address associated with a customer.", + "fields": [ + { + "name": "emailAddress", + "description": "The email address of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "marketingState", + "description": "The customer's subscription status for email marketing.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EmailMarketingState", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerEmailMarketingOptInPayload", + "description": "Return type for `customerEmailMarketingOptIn` mutation.", + "fields": [ + { + "name": "customerEmailAddress", + "description": "The customer who was force subscribed to email marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingOptInUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerEmailMarketingSubscribePayload", + "description": "Return type for `customerEmailMarketingSubscribe` mutation.", + "fields": [ + { + "name": "emailAddress", + "description": "The customer's email address that's subscribed to the email marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerEmailMarketingUnsubscribePayload", + "description": "Return type for `customerEmailMarketingUnsubscribe` mutation.", + "fields": [ + { + "name": "emailAddress", + "description": "The customer's email address that's unsubscribed from the email marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "description": "Represents a customer's mailing address.\nFor example, a customer's default address and an order's billing address are both mailing addresses.\n", + "fields": [ + { + "name": "address1", + "description": "The first line of the address. Typically the street address or PO Box number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. This is typically the apartment, suite, or unit number.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The name of the customer's company or organization.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCodeV2", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "Indicates whether the address is the default address or not.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formatted", + "description": "A formatted version of the address, customized by the provided arguments.", + "args": [ + { + "name": "withCompany", + "description": "Determines whether to include the customer's company in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "true", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "withName", + "description": "Determines whether to include the customer's name in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formattedArea", + "description": "A comma-separated list of the values for city, province, and country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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's address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "longitude", + "description": "The longitude coordinate of the customer's address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The full name of the customer, based on firstName and lastName.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The customer's unique phone number.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The customer's unique phone number.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The two-letter code for the region.\n\nFor example, ON.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "territoryCode", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "verified", + "description": "Indicates whether the address was geolocated and is a valid address. The field returns `false` if the verification failed, or if the job to verify this address was never started.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The two-letter code for the region.\n\nFor example, ON.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerMailingAddressConnection", + "description": "An auto-generated type for paginating through multiple CustomerMailingAddresses.\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": "CustomerMailingAddressEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CustomerMailingAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "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": "CustomerMailingAddressEdge", + "description": "An auto-generated type which holds one CustomerMailingAddress 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 CustomerMailingAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "description": "The input fields to create or update a mailing address.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address. Typically the street address or PO Box number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. Typically the apartment, suite, or unit number.", + "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.", + "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.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "territoryCode", + "description": "The two-letter code for the country of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The code for the region of the address, such as the province,\nstate, or district. For example, QC for Quebec, Canada.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerPhoneNumber", + "description": "Defines the phone number of the customer.", + "fields": [ + { + "name": "marketingState", + "description": "Indicates whether the customer has subscribed to SMS marketing material.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SmsMarketingState", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The customer's phone number.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerUpdateInput", + "description": "The input fields to update a customer's personal information.\n", + "fields": null, + "inputFields": [ + { + "name": "firstName", + "description": "The customer's first name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The customer's last name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerUpdatePayload", + "description": "Return type for `customerUpdate` mutation.", + "fields": [ + { + "name": "customer", + "description": "The customer's personal information that has been updated.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsCustomerUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.\nFor example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is\nrepresented as `\"2019-09-07T15:50:00Z`\".\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Decimal", + "description": "A signed decimal number, which supports arbitrary precision and is serialized as a string.\n\nExample values: `\"29.99\"`, `\"29.999\"`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DeliveryOptionGroupType", + "description": "The different types of delivery option groups.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ONE_TIME_PURCHASE", + "description": "A one-time purchase.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION", + "description": "A subscription.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountAllocation", + "description": "Represents an amount discounting the line that has been allocated by a discount.\n", + "fields": [ + { + "name": "allocatedAmount", + "description": "The amount of discount allocated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountApplication", + "description": "The discount from which this allocated amount originated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "DiscountApplication", + "description": "Captures the intentions of a discount source at the time of application.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "The lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "AutomaticDiscountApplication", + "ofType": null + }, + {"kind": "OBJECT", "name": "DiscountCodeApplication", "ofType": null}, + { + "kind": "OBJECT", + "name": "ManualDiscountApplication", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ScriptDiscountApplication", + "ofType": null + } + ] + }, + { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "description": "The method by which the discount's value is allocated onto its entitled lines.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ACROSS", + "description": "The value is spread across all entitled lines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EACH", + "description": "The value is applied onto every entitled line.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ONE", + "description": "The value is specifically applied onto a particular line.", + "isDeprecated": true, + "deprecationReason": "Use ACROSS instead." + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountApplicationConnection", + "description": "An auto-generated type for paginating through multiple DiscountApplications.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountApplicationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in DiscountApplicationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountApplicationEdge", + "description": "An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of DiscountApplicationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "description": "The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALL", + "description": "The discount is allocated onto all the lines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENTITLED", + "description": "The discount is allocated onto only the lines that it's entitled for.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPLICIT", + "description": "The discount is allocated onto explicitly chosen lines.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "description": "The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LINE_ITEM", + "description": "The discount applies onto line items.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING_LINE", + "description": "The discount applies onto shipping lines.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DiscountApplicationType", + "description": "The type of the discount application.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTOMATIC", + "description": "Automatic discount application type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_CODE", + "description": "Discount code discount application type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MANUAL", + "description": "Manual discount application type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCRIPT", + "description": "Script discount application type.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountCodeApplication", + "description": "Captures the intentions of a discount code at the time that it is applied.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": "The string identifying the discount code used at the time of application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "The lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "DisplayableError", + "description": "Represents an error in the input of a mutation.", + "fields": [ + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "ApplePaySessionUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "BusinessCustomerUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleSkipUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleUnskipUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractStatusUpdateUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractUserError", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsBusinessContactUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerAddressUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingOptInUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPaypalTokenUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPersonalInformationUserErrors", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsResendGiftCardErrors", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "Domain", + "description": "A unique string representing the address of a Shopify store on the Internet.", + "fields": [ + { + "name": "host", + "description": "The host name of the domain (for example, `example.com`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "redirectHost", + "description": "The host of the primary domain that this domain redirects to (for example, `example.com`).", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the domain (for example, `example.com`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrder", + "description": "A draft order for the customer. Any fields related to money are in the presentment currency.", + "fields": [ + { + "name": "billingAddress", + "description": "The billing address of the customer.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactExists", + "description": "Whether the customer who made the draft order has an associated enabled contact.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the draft order was created in Shopify.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The three-letter code for the currency of the store at the time that the invoice is sent.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The customer who placed the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerV1", + "description": "The customer who placed the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PersonalAccount", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountInformation", + "description": "The discount information for the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderDiscountInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the customer, which is used to send notifications to.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailAddress", + "description": "The email address of the customer, which is used to send notifications to.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inReview", + "description": "Whether the draft order is created from the online store and is open.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "invoiceUrl", + "description": "The link to the checkout, which is sent to the customer in the invoice email.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "The list of the line items in the draft order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemsSummary", + "description": "The summary of draft order line items quantity.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "DraftOrderLineItemsSummary", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The unique identifier for the draft order, which is unique within the store. For example, _#D1223_.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "The order that was created from this draft order.", + "args": [], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number assigned to the draft order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchasingEntity", + "description": "The purchasing entity for the draft order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchasingEntityV1", + "description": "The purchasing entity for the draft order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntityV1", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the draft order requires shipping or not.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The shipping address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DraftOrderStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPrice", + "description": "The subtotal of the line items (doesn't include shipping charges, shipping discounts, or taxes).\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPriceBeforeDiscounts", + "description": "The subtotal of the line items (doesn't include shipping charges, taxes, or any discounts).\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExempt", + "description": "Indicates whether the draft order is tax exempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxesIncluded", + "description": "Whether the line item prices include taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalLineItemsPrice", + "description": "The total price of line items for this draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The total amount of the draft order (includes taxes, shipping charges, and discounts).\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalShippingPrice", + "description": "The total shipping charge for the draft order.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTax", + "description": "The total amount of taxes for the draft order.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalWeight", + "description": "The total weight (in grams) of the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UnsignedInt64", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the draft order was last changed.\nThe format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderAppliedDiscount", + "description": "The order-level discount applied to a draft order.", + "fields": [ + { + "name": "discountValue", + "description": "The amount of money discounted.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The name of the order-level discount.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DraftOrderByCompanySortKeys", + "description": "The set of valid sort keys for the DraftOrderByCompany query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_NAME", + "description": "Sort by the `customer_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER", + "description": "Sort by the `number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STATUS", + "description": "Sort by the `status` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DraftOrderByLocationSortKeys", + "description": "The set of valid sort keys for the DraftOrderByLocation query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_NAME", + "description": "Sort by the `customer_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER", + "description": "Sort by the `number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STATUS", + "description": "Sort by the `status` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "description": "An auto-generated type for paginating through multiple DraftOrders.\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": "DraftOrderEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in DraftOrderEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrder", + "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": "DraftOrderDiscountInformation", + "description": "The discount information associated with a draft order.", + "fields": [ + { + "name": "appliedDiscount", + "description": "The order-level discount applied to the draft order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "DraftOrderAppliedDiscount", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscounts", + "description": "The total discounts applied to the draft order.", + "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": "DraftOrderEdge", + "description": "An auto-generated type which holds one DraftOrder 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 DraftOrderEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "DraftOrder", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderLineItem", + "description": "A line item included in a draft order.", + "fields": [ + { + "name": "discountInformation", + "description": "The discount information for the draft order line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItemDiscountInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountedTotal", + "description": "The total price of the line item after discounts have been applied.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountedUnitPrice", + "description": "The discounted total divided by the quantity, resulting in the value of the discount per unit.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "The image associated with the line item.", + "args": [ + { + "name": "crop", + "description": "Crops the image according to the specified region.", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": true, + "deprecationReason": "Use `Image.url(transform: { crop:})` instead." + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 2048.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": true, + "deprecationReason": "Use `Image.url(transform: { maxHeight:})` instead." + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 2048.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": true, + "deprecationReason": "Use `Image.url(transform: { maxWidth:})` instead." + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": true, + "deprecationReason": "Use `Image.url(transform: { scale:})` instead." + } + ], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the product.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalTotal", + "description": "The total price of the line item, based on the original unit price of the variant multiplied by the quantity. This total doesn't include any discounts.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalUnitPrice", + "description": "The price of the variant without any discounts applied.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of this variant item in the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the variant requires physical shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sku", + "description": "The SKU number of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxable", + "description": "Whether the variant is taxable.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the product or variant. This only applies to custom line items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTitle", + "description": "The name of the product variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "vendor", + "description": "The name of the vendor of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "weight", + "description": "The weight of the line item, including the unit and value.", + "args": [], + "type": {"kind": "OBJECT", "name": "Weight", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderLineItemConnection", + "description": "An auto-generated type for paginating through multiple DraftOrderLineItems.\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": "DraftOrderLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in DraftOrderLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItem", + "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": "DraftOrderLineItemDiscountInformation", + "description": "The discount information for the draft order line item.", + "fields": [ + { + "name": "title", + "description": "The title of the discount.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscount", + "description": "The total discount applied to the line item.", + "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": "DraftOrderLineItemEdge", + "description": "An auto-generated type which holds one DraftOrderLineItem 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 DraftOrderLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DraftOrderLineItemsSummary", + "description": "The quantitative summary of the line items in a specific draft order.", + "fields": [ + { + "name": "lineItemCount", + "description": "The total number of line items in the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalQuantityOfLineItems", + "description": "The total quantity of all line items in the draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DraftOrderSortKeys", + "description": "The set of valid sort keys for the DraftOrder query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_NAME", + "description": "Sort by the `customer_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER", + "description": "Sort by the `number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STATUS", + "description": "Sort by the `status` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DraftOrderStatus", + "description": "The valid statuses for a draft order.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "COMPLETED", + "description": "The draft order has been paid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVOICE_SENT", + "description": "An invoice for the draft order has been sent to the customer.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPEN", + "description": "The draft order is open. It has not been paid, and an invoice hasn't been sent.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DutySale", + "description": "A sale that includes a duty charge.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "EmailMarketingConsentState", + "description": "Represents the customer's consent to receive marketing material by email.\n", + "fields": [ + { + "name": "consentUpdatedAt", + "description": "The date and time when the customer consented to receive marketing material by email.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "marketingOptInLevel", + "description": "The marketing subscription opt-in level that the customer gave when they consented to receive marketing material by email.\n", + "args": [], + "type": { + "kind": "ENUM", + "name": "MarketingOptInLevel", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "marketingState", + "description": "The current email marketing state for the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EmailMarketingState", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "EmailMarketingState", + "description": "Represents the possible email marketing states for a customer.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INVALID", + "description": "The customer’s email marketing state is invalid.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_SUBSCRIBED", + "description": "The customer isn't subscribed to email marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "The customer is in the process of subscribing to email marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REDACTED", + "description": "The customer's personal data has been erased. This value is internally-set and read-only.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIBED", + "description": "The customer is subscribed to email marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNSUBSCRIBED", + "description": "The customer is not currently subscribed to email marketing but was previously subscribed.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ExtensionApiTokens", + "description": "Tokens used by ui extensions to query various APIs.", + "fields": [ + { + "name": "storefrontApi", + "description": "The token for querying the storefront API.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ExtensionStorefrontApiToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ExtensionStorefrontApiToken", + "description": "Ephemeral token used by ui extensions to query the storefront API.", + "fields": [ + { + "name": "expiresAt", + "description": "The expiration time of the token.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ISO8601DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token", + "description": "The ephemeral token used for querying the storefront API.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Fulfillment", + "description": "Represents a single fulfillment in an order.", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the fulfillment was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedDeliveryAt", + "description": "The estimated delivery time of this fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "events", + "description": "A collection of fulfillment events.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "FulfillmentEventSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentEventConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fulfillmentLineItems", + "description": "The line items in the fulfillment.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isPickedUp", + "description": "Whether the fulfillment is picked up locally.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latestShipmentStatus", + "description": "The latest shipment status for the fulfillment.", + "args": [], + "type": { + "kind": "ENUM", + "name": "FulfillmentEventStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupAddress", + "description": "The pickup address for the fulfillment.", + "args": [], + "type": {"kind": "OBJECT", "name": "PickupAddress", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether any line items in the fulfillment require shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the fulfillment.", + "args": [], + "type": { + "kind": "ENUM", + "name": "FulfillmentStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingInformation", + "description": "The tracking information associated with the fulfillment.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TrackingInformation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the fulfillment was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentConnection", + "description": "An auto-generated type for paginating through multiple Fulfillments.\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": "FulfillmentEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in FulfillmentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Fulfillment", + "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": "FulfillmentEdge", + "description": "An auto-generated type which holds one Fulfillment 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 FulfillmentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Fulfillment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentEvent", + "description": "An event that occurred for a fulfillment.", + "fields": [ + { + "name": "happenedAt", + "description": "The time when this fulfillment event occurred.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the fulfillment event.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "FulfillmentEventStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentEventConnection", + "description": "An auto-generated type for paginating through multiple FulfillmentEvents.\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": "FulfillmentEventEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in FulfillmentEventEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentEvent", + "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": "FulfillmentEventEdge", + "description": "An auto-generated type which holds one FulfillmentEvent 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 FulfillmentEventEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentEvent", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FulfillmentEventSortKeys", + "description": "The set of valid sort keys for the FulfillmentEvent query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "HAPPENED_AT", + "description": "Sort by the `happened_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FulfillmentEventStatus", + "description": "The status of a fulfillment event.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ATTEMPTED_DELIVERY", + "description": "A delivery was attempted.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CARRIER_PICKED_UP", + "description": "The fulfillment has been picked up by the carrier.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONFIRMED", + "description": "The fulfillment is confirmed.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELAYED", + "description": "The fulfillment is delayed.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERED", + "description": "The fulfillment was successfully delivered.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILURE", + "description": "The fulfillment request failed.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN_TRANSIT", + "description": "The fulfillment is in transit.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LABEL_PRINTED", + "description": "A purchased shipping label has been printed.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LABEL_PURCHASED", + "description": "A shipping label has been purchased.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OUT_FOR_DELIVERY", + "description": "The fulfillment is out for delivery.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PICKED_UP", + "description": "The fulfillment was successfully picked up.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "READY_FOR_PICKUP", + "description": "The fulfillment is ready to be picked up.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "description": "Represents a line item from an order that's included in a fulfillment.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of line items in the fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItemConnection", + "description": "An auto-generated type for paginating through multiple FulfillmentLineItems.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in FulfillmentLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItemEdge", + "description": "An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of FulfillmentLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FulfillmentSortKeys", + "description": "The set of valid sort keys for the Fulfillment query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FulfillmentStatus", + "description": "The status of a fulfillment.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CANCELLED", + "description": "The fulfillment was canceled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ERROR", + "description": "There was an error with the fulfillment request.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILURE", + "description": "The fulfillment request failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPEN", + "description": "The third-party fulfillment service has acknowledged the fulfillment and is processing it.\n", + "isDeprecated": true, + "deprecationReason": "This is a legacy status and is due to be deprecated." + }, + { + "name": "PENDING", + "description": "Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`.\n", + "isDeprecated": true, + "deprecationReason": "This is a legacy status and is due to be deprecated." + }, + { + "name": "SUCCESS", + "description": "The fulfillment was completed successfully.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GiftCardDetails", + "description": "The gift card payment details related to a transaction.", + "fields": [ + { + "name": "balance", + "description": "The balance of the gift card in shop and presentment currencies.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last4", + "description": "The last characters of the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GiftCardSale", + "description": "A sale associated with a gift card.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "GooglePayBillingAddressInput", + "description": "The input fields for the billing address received from Google Pay.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address, typically the street address or PO Box number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address, typically the apartment, suite, or unit number.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "administrativeArea", + "description": "The region of the address, such as the province, state, or district.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locality", + "description": "The name of the city, district, village, or town.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneNumber", + "description": "The telephone number of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "postalCode", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GooglePayCreditCardAddPayload", + "description": "Return type for `googlePayCreditCardAdd` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The updated credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GooglePayCreditCardUpdatePayload", + "description": "Return type for `googlePayCreditCardUpdate` mutation.", + "fields": [ + { + "name": "creditCard", + "description": "The updated credit card.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processing", + "description": "If the card verification result is processing. When this is true, credit_card will be null.", + "args": [], + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GooglePayWalletConfig", + "description": "The configuration settings for the Google Pay wallet.", + "fields": [ + { + "name": "allowedAuthMethods", + "description": "The authentication methods allowed by Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "allowedCardNetworks", + "description": "The card networks accepted by Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "authJwt", + "description": "The Auth JWT used for Google Pay requests.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "environment", + "description": "The current operating environment (TEST or PRODUCTION).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gateway", + "description": "The gateway name for Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gatewayMerchantId", + "description": "The gateway merchant ID for Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchantId", + "description": "The merchant ID for Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchantName", + "description": "The merchant name for Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchantOrigin", + "description": "The merchant origin for Google Pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "HTML", + "description": "A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a\ncomplete list of HTML elements.\n\nExample value: `\"

Grey cotton knit sweater.

\"`\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "description": "The information about the metafields associated with the specified resource.", + "fields": [ + { + "name": "metafield", + "description": "A metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the\nsupplied list of namespaces and keys.\n", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Customer", "ofType": null}, + {"kind": "OBJECT", "name": "Order", "ofType": null}, + {"kind": "OBJECT", "name": "PersonalAccount", "ofType": null}, + {"kind": "OBJECT", "name": "Shop", "ofType": null} + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "description": "The input fields to identify a metafield on an owner resource by namespace and key.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "ID", + "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "ISO8601DateTime", + "description": "An ISO 8601-encoded datetime", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Image", + "description": "Represents an image resource.", + "fields": [ + { + "name": "altText", + "description": "A word or phrase to share the nature or contents of an image.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": "The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A unique ID for the image.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalSrc", + "description": "The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "src", + "description": "The location of the image as a URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "transformedSrc", + "description": "The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.\n", + "args": [ + { + "name": "crop", + "description": "Crops the image according to the specified region.", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredContentType", + "description": "Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).", + "type": { + "kind": "ENUM", + "name": "ImageContentType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url(transform:)` instead" + }, + { + "name": "url", + "description": "The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).\n", + "args": [ + { + "name": "transform", + "description": "A set of options to transform the original image.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ImageTransformInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": "The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ImageContentType", + "description": "List of supported image content types.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "JPG", + "description": "A JPG image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PNG", + "description": "A PNG image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WEBP", + "description": "A WEBP image.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ImageTransformInput", + "description": "The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.\n", + "fields": null, + "inputFields": [ + { + "name": "crop", + "description": "The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.\n", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 5760.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 5760.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredContentType", + "description": "Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.\n", + "type": { + "kind": "ENUM", + "name": "ImageContentType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be within 1..3.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItem", + "description": "A single line item in an order.", + "fields": [ + { + "name": "currentTotalPrice", + "description": "The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "The list of custom attributes associated with the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been allocated onto the line item by discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountInformation", + "description": "The discount information for the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemDiscountInformation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "giftCard", + "description": "Whether the line item represents the purchase of a gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "groupTitle", + "description": "The title of the line item group associated with the line item.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "The image object associated with the line item.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the product.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The title of the line item variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The product variant price without any discounts applied, in presentment currencies.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productId", + "description": "The product's ID.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productType", + "description": "The product's type.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of variant items ordered.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refundableQuantity", + "description": "The quantity of the line item, minus the removed quantity.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether physical shipping is required for the variant.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlan", + "description": "The selling plan details associated with the line item.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "LineItemSellingPlan", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sku", + "description": "The SKU number of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldDiscountInformation", + "description": "The discounts that have been allocated onto the line item, ignoring returns.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemDiscountInformation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldDiscountedTotalPrice", + "description": "The total price of the line item, ignoring returns, with discounts included.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldQuantity", + "description": "The quantity of sold line item, ignoring returns.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldTotalPrice", + "description": "The total price of the line item, ignoring returns, before discounts.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supportedReturnReasons", + "description": "The reasons that the customer can return this line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnSupportedReason", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the product or variant. This field only applies to custom line items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscount", + "description": "The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPriceBeforeDiscounts", + "description": "The total price of the line item, calculated by multiplying the unit price of the variant (before any discounts) by the quantity, expressed in presentment currencies.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPriceWithDiscounts", + "description": "The total price of the line item, calculated by multiplying the unit price of the variant (after line item discounts) by the quantity, expressed in presentment currencies.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPrice", + "description": "The unit price of the line item in presentment currencies.", + "args": [], + "type": {"kind": "OBJECT", "name": "UnitPrice", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantId", + "description": "The ID of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantOptions", + "description": "The options of the product variant.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemVariantOption", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTitle", + "description": "The name of the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "vendor", + "description": "The product's vendor.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemConnection", + "description": "An auto-generated type for paginating through multiple LineItems.\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": "LineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in LineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItem", + "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": "UNION", + "name": "LineItemContainer", + "description": "The information about the line item category for the order.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "RemainingLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledDigitalLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledGiftCardLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledPhysicalLineItemContainer", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "LineItemContainerLineItem", + "description": "The information about the line item in the line item container.\n", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the container.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "remainingQuantity", + "description": "The number of units yet to be fulfilled.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalQuantity", + "description": "The total number of units in this fulfillment.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "description": "An auto-generated type for paginating through multiple LineItemContainerLineItems.\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": "LineItemContainerLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in LineItemContainerLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItem", + "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": "LineItemContainerLineItemEdge", + "description": "An auto-generated type which holds one LineItemContainerLineItem 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 LineItemContainerLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemDiscountInformation", + "description": "The discount information for a specific line item.", + "fields": [ + { + "name": "discountValue", + "description": "The value of the applied discount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the discount.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemEdge", + "description": "An auto-generated type which holds one LineItem 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 LineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemSellingPlan", + "description": "The selling plan for a line item.", + "fields": [ + { + "name": "name", + "description": "The name of the selling plan for display purposes.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanId", + "description": "The ID of the selling plan associated with the line item.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LineItemVariantOption", + "description": "The line item's variant option.", + "fields": [ + { + "name": "name", + "description": "The name of the option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the option.", + "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": "Location", + "description": "Represents a company's business location.", + "fields": [ + { + "name": "billingAddress", + "description": "The billing address of the company location.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerExperienceConfiguration", + "description": "The configuration of the buyer's B2B checkout.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "BuyerExperienceConfiguration", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contacts", + "description": "The list of contacts under a particular business location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `email`\n - `location_name`\n - `name`\n - `role_name`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactsV1", + "description": "The list of contacts under a particular business location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `email`\n - `location_name`\n - `name`\n - `role_name`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ContactConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCard", + "description": "The credit card corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the credit card to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCards", + "description": "The list of stored credit cards.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCardConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "market", + "description": "The market that includes the location's shipping address. If the shipping address is empty, the shop's primary market is returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Market", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the company location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "roleAssignments", + "description": "The list of roles assigned to this location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `company_contact_role_id`\n - `company_id`\n - `company_location_id`\n - `created_at`\n - `location_name`\n - `role_name`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CompanyContactRoleAssignmentSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignmentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The shipping address of the company location.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptions", + "description": "The list of tax exemptions applied to the location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TaxExemption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the location with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxIdentifier", + "description": "The tax id of the company location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LocationConnection", + "description": "An auto-generated type for paginating through multiple Locations.\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": "LocationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in LocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Location", + "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": "LocationEdge", + "description": "An auto-generated type which holds one Location 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 LocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Location", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ManualDiscountApplication", + "description": "Captures the intentions of a discount that was manually created.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the application.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "The lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Market", + "description": "A market, which is a group of one or more regions targeted for international sales.\nA market allows configuration of a distinct, localized shopping experience for customers from a specific area of the world.\n", + "fields": [ + { + "name": "handle", + "description": "The short, human-readable unique identifier for the market.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "webPresence", + "description": "The web presence of the market, defining its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have its own web presence, then the market is accessible on the\nshop’s primary domain using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MarketWebPresence", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MarketWebPresence", + "description": "The web presence of the market, defining its SEO strategy. This can be a different domain\n(e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary\ndomain (e.g. `example.com/en-ca`). Each web presence comprises one or more language\nvariants. If a market does not have its own web presence, it is accessible on the shop’s\nprimary domain via [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n\nNote: while the domain/subfolders defined by a market’s web presence are not applicable to\ncustom storefronts, which must manage their own domains and routing, the languages chosen\nhere do govern [the languages available on the Storefront\nAPI](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in\nthis market.\n", + "fields": [ + { + "name": "domain", + "description": "The domain of the web presence.\nThis field will be null if `subfolderSuffix` isn't null.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "Domain", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique identifier.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rootUrls", + "description": "The list of root URLs for each of the web presence’s locales.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MarketWebPresenceRootUrl", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subfolderSuffix", + "description": "The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MarketWebPresenceRootUrl", + "description": "The URL for the homepage of the online store in the context of a particular market and a particular locale.\n", + "fields": [ + { + "name": "locale", + "description": "The locale in which the storefront loads.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the homepage.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MarketingOptInLevel", + "description": "The possible values for the marketing subscription opt-in level enabled\nwhen the customer consented to receive marketing information.\n\nThe levels follow the M3AAWG best practices guideline\n[document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf).\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CONFIRMED_OPT_IN", + "description": "The customer gets a confirmation and needs to\nperform an intermediate step before getting marketing information after providing their information.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SINGLE_OPT_IN", + "description": "The customer gets marketing information without any\nintermediate steps after providing their information.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "The customer gets marketing information, but the opt-in method is unknown.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Metafield", + "description": "The custom metadata attached to a resource. Metafields can be sorted into namespaces and are\ncomprised of keys, values, and value types.\n", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the metafield was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of a metafield.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": "The key name for a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The namespace for a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the metafield was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MetafieldValueType", + "description": "Value type to describe the Metafield value.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BOOLEAN", + "description": "A boolean metafield.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FLOAT", + "description": "A float.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTEGER", + "description": "An integer.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JSON_STRING", + "description": "A JSON string.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STRING", + "description": "A string.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MoneyBag", + "description": "A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions,\nwhen an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency).\n", + "fields": [ + { + "name": "presentmentMoney", + "description": "Amount in presentment currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopMoney", + "description": "Amount in shop currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MoneyV2", + "description": "A monetary value with currency.\n", + "fields": [ + { + "name": "amount", + "description": "Decimal money amount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Decimal", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "Currency of the money.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Mutation", + "description": "This is the schema's entry point for all mutation operations.", + "fields": [ + { + "name": "addressCreate", + "description": "Creates a new address for a customer.\n", + "args": [ + { + "name": "address", + "description": "Specifies the fields to use when creating the address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The flag to set the address as the default address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "AddressCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressDelete", + "description": "Deletes a specific address for a customer.\n", + "args": [ + { + "name": "addressId", + "description": "The ID of the address to be deleted.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "AddressDeletePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressUpdate", + "description": "Updates a specific address for a customer.\n", + "args": [ + { + "name": "address", + "description": "Specifies the fields to use when updating the address.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressId", + "description": "The ID of the address to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The flag to set the address as the default address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "null", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "AddressUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "applePayCreditCardAdd", + "description": "Adds a new credit card using Apple Pay.", + "args": [ + { + "name": "applePayTokenizedCard", + "description": "The Apple Pay credit card token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ApplePayBillingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayLastDigits", + "description": "The last four digits of the physical credit card.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ApplePayCreditCardAddPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "applePayCreditCardUpdate", + "description": "Updates a credit card using Apple Pay.", + "args": [ + { + "name": "applePayTokenizedCard", + "description": "The Apple Pay credit card token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ApplePayBillingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayLastDigits", + "description": "The last four digits of the physical credit card.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentMethodId", + "description": "The ID of the payment method to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ApplePayCreditCardUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "applePaySessionCreate", + "description": "Creates a new Apple Pay session.", + "args": [ + { + "name": "resourceId", + "description": "The reference to the resource for which the session will be created.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "validationUrl", + "description": "The validation URL used for the request.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ApplePaySessionCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessContactUpdate", + "description": "Updates the information for a business contact.\n", + "args": [ + { + "name": "companyId", + "description": "The ID of the company of the customer if the customer belongs to multiple companies.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "input", + "description": "The input fields for updating the business contact.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BusinessContactUpdateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessContactUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessContactUpdateV1", + "description": "Updates the information for a business contact.\n", + "args": [ + { + "name": "companyId", + "description": "The ID of the company of the customer if the customer belongs to multiple companies.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "input", + "description": "The input fields for updating the business contact.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BusinessContactUpdateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessContactUpdateV1Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationBillingAddressCreate", + "description": "Creates a billing address for a business location and optionally a shipping address with the same input.\n", + "args": [ + { + "name": "address", + "description": "The fields to use when creating the company shipping address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location for which to create a shipping address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "useAsShipping", + "description": "Whether to use the same address as the billing address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationBillingAddressCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationBillingAddressUpdate", + "description": "Updates the billing address of a business location.\n", + "args": [ + { + "name": "address", + "description": "The address fields to use when updating the company billing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationBillingAddressUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationCreditCardAdd", + "description": "Adds a new credit card to the available payment methods of a customer.\n", + "args": [ + { + "name": "billingAddress", + "description": "The billing address to associate with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location to which the payment instrument belongs.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionId", + "description": "The Cardserver session ID.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationCreditCardAddPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationCreditCardUpdate", + "description": "Updates the details of a credit card for a customer.\n", + "args": [ + { + "name": "billingAddress", + "description": "The billing address to associate with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location to which the payment instrument belongs.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentMethodId", + "description": "The ID of the payment method to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionId", + "description": "The Cardserver session ID.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationCreditCardUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationPaymentInstrumentRemove", + "description": "Removes a payment instrument from a customer.\n", + "args": [ + { + "name": "companyLocationId", + "description": "The ID of the company location to which the payment instrument belongs.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInstrumentId", + "description": "The ID of the payment instrument to be removed.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "replacementPaymentInstrumentId", + "description": "The ID of a payment instrument to use as a replacement.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationPaymentInstrumentRemovePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationShippingAddressCreate", + "description": "Creates a shipping address for a business location and optionally a billing address with the same input.\n", + "args": [ + { + "name": "address", + "description": "The fields to use when creating the company shipping address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location for which to create a shipping address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "useAsBilling", + "description": "Whether to create the same address as billing address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationShippingAddressCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessLocationShippingAddressUpdate", + "description": "Updates the shipping address of a business location.\n", + "args": [ + { + "name": "address", + "description": "The address fields to use when updating the company shipping address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationId", + "description": "The ID of the company location to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BusinessLocationShippingAddressUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocationAssignAddress", + "description": "Updates an address on a company location.", + "args": [ + { + "name": "address", + "description": "The input fields to use to update the address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CompanyAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressTypes", + "description": "The list of address types on the location to update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CompanyAddressType", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationId", + "description": "The ID of the company location to update addresses on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CompanyLocationAssignAddressPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCardAdd", + "description": "Adds a new credit card to a customer's list of available payment methods.", + "args": [ + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default", + "description": "Whether this is the customer's default payment method.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionId", + "description": "The Cardserver session ID.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CreditCardAddPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCardUpdate", + "description": "Updates the details of a customer's credit card.", + "args": [ + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentMethodId", + "description": "The ID of the payment method to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionId", + "description": "The Cardserver session ID.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CreditCardUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAddressCreate", + "description": "Creates a new address for a customer.\n", + "args": [ + { + "name": "address", + "description": "Specifies the fields to use when creating the address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The flag to set the address as the default address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerAddressCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAddressDelete", + "description": "Deletes a specific address for a customer.\n", + "args": [ + { + "name": "addressId", + "description": "The ID of the address to be deleted.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerAddressDeletePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAddressUpdate", + "description": "Updates a specific address for a customer.\n", + "args": [ + { + "name": "address", + "description": "Specifies the fields to use when updating the address.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CustomerAddressInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addressId", + "description": "The ID of the address to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The flag to set the address as the default address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "null", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerAddressUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerEmailMarketingOptIn", + "description": "Subscribes the customer's email to marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailMarketingOptInPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerEmailMarketingSubscribe", + "description": "Subscribes the customer to email marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailMarketingSubscribePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerEmailMarketingUnsubscribe", + "description": "Unsubscribes the customer from email marketing.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailMarketingUnsubscribePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUpdate", + "description": "Updates the customer's personal information.\n", + "args": [ + { + "name": "input", + "description": "Specifies the input fields for the customer update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerUpdateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "googlePayCreditCardAdd", + "description": "Adds a new credit card by using Google Pay.", + "args": [ + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "GooglePayBillingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "googlePayTokenizedCard", + "description": "A Google Pay credit card token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "GooglePayCreditCardAddPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "googlePayCreditCardUpdate", + "description": "Updates a credit card using Google Pay.", + "args": [ + { + "name": "billingAddress", + "description": "The billing address associated with the credit card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "GooglePayBillingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "googlePayTokenizedCard", + "description": "The Google Pay credit card token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentMethodId", + "description": "The ID of the payment method to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "GooglePayCreditCardUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderRequestReturn", + "description": "Request a new return on behalf of a customer.", + "args": [ + { + "name": "orderId", + "description": "The ID of the order for which this return is being requested.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requestedLineItems", + "description": "The line items that are requested to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "RequestedLineItemInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "OrderRequestReturnPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInstrumentRemove", + "description": "Removes a payment instrument from a customer's account.", + "args": [ + { + "name": "paymentInstrumentId", + "description": "The ID of the payment instrument to be removed.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "replacementPaymentInstrumentId", + "description": "The ID of a payment instrument that can serve as a replacement.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PaymentInstrumentRemovePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInstrumentUpdateDefault", + "description": "Updates a customer's default payment instrument.\n", + "args": [ + { + "name": "default", + "description": "Whether this payment instrument is the default.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInstrumentId", + "description": "The ID of the payment instrument to update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PaymentInstrumentUpdateDefaultPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalAccountEnable", + "description": "Connects a customer's PayPal account for use as a payment method.", + "args": [ + { + "name": "paypalPayerId", + "description": "The Payer ID provided by PayPal.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalToken", + "description": "The PayPal Express token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PaypalAccountEnablePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalTokenCreate", + "description": "Creates a PayPal Express token.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaypalTokenCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "personalInformationUpdate", + "description": "Updates the customer's personal information.\n", + "args": [ + { + "name": "input", + "description": "Specifies the input fields for the personal information update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PersonalInformationUpdateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PersonalInformationUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resendGiftCard", + "description": "Resends a gift card to the customer.", + "args": [ + { + "name": "orderId", + "description": "The ID of the order that sent the gift card.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ResendGiftCardPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopPayCreditCardGetUpdateUrl", + "description": "Provides a URL that enables the customer to update a Shop Pay credit card.", + "args": [ + { + "name": "paymentMethodId", + "description": "The ID of the Shop Pay payment method to be updated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ShopPayCreditCardGetUpdateUrlPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionBillingCycleSkip", + "description": "Skips a Subscription Billing Cycle.", + "args": [ + { + "name": "billingCycleInput", + "description": "The input object for selecting and using billing cycles.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionBillingCycleInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleSkipPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionBillingCycleUnskip", + "description": "Unskips a Subscription Billing Cycle.", + "args": [ + { + "name": "billingCycleInput", + "description": "The input object for selecting and using billing cycles.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionBillingCycleInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleUnskipPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractActivate", + "description": "Activates a Subscription Contract.", + "args": [ + { + "name": "subscriptionContractId", + "description": "The ID of the subscription contract to activate.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractActivatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractCancel", + "description": "Cancels a Subscription Contract.", + "args": [ + { + "name": "subscriptionContractId", + "description": "The ID of the Subscription Contract to cancel.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractCancelPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractChangePaymentInstrument", + "description": "Changes the payment instrument used for future billing cycles of a Subscription Contract.", + "args": [ + { + "name": "paymentInstrumentId", + "description": "The ID of the payment instrument.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractId", + "description": "The ID of the Subscription Contract to update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractChangePaymentInstrumentPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractFetchDeliveryOptions", + "description": "Fetches the available delivery options for a Subscription Contract.", + "args": [ + { + "name": "deliveryAddress", + "description": "The address to deliver the subscription contract to.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractId", + "description": "The ID of the subscription contract.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractFetchDeliveryOptionsPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractPause", + "description": "Pauses a Subscription Contract.", + "args": [ + { + "name": "subscriptionContractId", + "description": "The ID of the subscription contract to pause.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractPausePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractSelectDeliveryMethod", + "description": "Selects an option from a delivery options result and updates the delivery method on a Subscription Contract.", + "args": [ + { + "name": "deliveryMethodInput", + "description": "The delivery method selected for the subscription contract.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContractId", + "description": "The ID of the subscription contract.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionDeliveryOptionsResultToken", + "description": "The token associated with the successfully fetched delivery options result for the subscription contract.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContractSelectDeliveryMethodPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Node", + "description": "An object with an ID field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.\n", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "AdditionalFeeSale", "ofType": null}, + {"kind": "OBJECT", "name": "AdjustmentSale", "ofType": null}, + {"kind": "OBJECT", "name": "AppliedGiftCard", "ofType": null}, + {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + {"kind": "OBJECT", "name": "CheckoutLineItem", "ofType": null}, + {"kind": "OBJECT", "name": "Company", "ofType": null}, + {"kind": "OBJECT", "name": "CompanyAddress", "ofType": null}, + {"kind": "OBJECT", "name": "CompanyContact", "ofType": null}, + {"kind": "OBJECT", "name": "CompanyContactRole", "ofType": null}, + { + "kind": "OBJECT", + "name": "CompanyContactRoleAssignment", + "ofType": null + }, + {"kind": "OBJECT", "name": "CompanyLocation", "ofType": null}, + {"kind": "OBJECT", "name": "Contact", "ofType": null}, + {"kind": "OBJECT", "name": "Customer", "ofType": null}, + {"kind": "OBJECT", "name": "CustomerAddress", "ofType": null}, + {"kind": "OBJECT", "name": "CustomerCreditCard", "ofType": null}, + {"kind": "OBJECT", "name": "CustomerMailingAddress", "ofType": null}, + {"kind": "OBJECT", "name": "Domain", "ofType": null}, + {"kind": "OBJECT", "name": "DraftOrder", "ofType": null}, + {"kind": "OBJECT", "name": "DraftOrderLineItem", "ofType": null}, + {"kind": "OBJECT", "name": "DutySale", "ofType": null}, + { + "kind": "OBJECT", + "name": "EmailMarketingConsentState", + "ofType": null + }, + {"kind": "OBJECT", "name": "Fulfillment", "ofType": null}, + {"kind": "OBJECT", "name": "FulfillmentEvent", "ofType": null}, + {"kind": "OBJECT", "name": "FulfillmentLineItem", "ofType": null}, + {"kind": "OBJECT", "name": "GiftCardSale", "ofType": null}, + {"kind": "OBJECT", "name": "LineItem", "ofType": null}, + { + "kind": "OBJECT", + "name": "LineItemContainerLineItem", + "ofType": null + }, + {"kind": "OBJECT", "name": "Location", "ofType": null}, + {"kind": "OBJECT", "name": "Market", "ofType": null}, + {"kind": "OBJECT", "name": "MarketWebPresence", "ofType": null}, + {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + {"kind": "OBJECT", "name": "Order", "ofType": null}, + {"kind": "OBJECT", "name": "OrderAgreement", "ofType": null}, + {"kind": "OBJECT", "name": "OrderEditAgreement", "ofType": null}, + {"kind": "OBJECT", "name": "OrderEditSummaryChange", "ofType": null}, + {"kind": "OBJECT", "name": "OrderTransaction", "ofType": null}, + {"kind": "OBJECT", "name": "PaymentIconImage", "ofType": null}, + {"kind": "OBJECT", "name": "PaymentSchedule", "ofType": null}, + {"kind": "OBJECT", "name": "PaymentTerms", "ofType": null}, + {"kind": "OBJECT", "name": "PaymentTermsTemplate", "ofType": null}, + {"kind": "OBJECT", "name": "PaypalBillingAgreement", "ofType": null}, + {"kind": "OBJECT", "name": "PersonalAccount", "ofType": null}, + {"kind": "OBJECT", "name": "ProductSale", "ofType": null}, + {"kind": "OBJECT", "name": "PublicOrder", "ofType": null}, + {"kind": "OBJECT", "name": "Refund", "ofType": null}, + {"kind": "OBJECT", "name": "RefundAgreement", "ofType": null}, + { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItem", + "ofType": null + }, + {"kind": "OBJECT", "name": "Return", "ofType": null}, + {"kind": "OBJECT", "name": "ReturnLineItem", "ofType": null}, + {"kind": "OBJECT", "name": "ReverseDelivery", "ofType": null}, + {"kind": "OBJECT", "name": "SaleTax", "ofType": null}, + {"kind": "OBJECT", "name": "ShippingLineSale", "ofType": null}, + {"kind": "OBJECT", "name": "Shop", "ofType": null}, + {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + {"kind": "OBJECT", "name": "SubscriptionContract", "ofType": null}, + {"kind": "OBJECT", "name": "TaxLine", "ofType": null}, + {"kind": "OBJECT", "name": "TimelineEvent", "ofType": null}, + {"kind": "OBJECT", "name": "TipSale", "ofType": null}, + {"kind": "OBJECT", "name": "UiExtensionMetafield", "ofType": null}, + {"kind": "OBJECT", "name": "UnknownSale", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Order", + "description": "A customer’s completed request to purchase one or more products from a shop.", + "fields": [ + { + "name": "agreements", + "description": "A list of sales agreements associated with the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SalesAgreementConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "billingAddress", + "description": "The mailing address provided by the customer. Not all orders have a mailing address.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cancelReason", + "description": "The reason for the cancellation of the order. Returns `null` if the order wasn't canceled.", + "args": [], + "type": { + "kind": "ENUM", + "name": "OrderCancelReason", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cancelledAt", + "description": "The date and time when the order was canceled.\nReturns `null` if the order wasn't canceled.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutToken", + "description": "The checkout token associated with this order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmationNumber", + "description": "A randomly generated alpha-numeric identifier for the order that may be shown to the customer\ninstead of the sequential order name. For example, \"XPAV284CT\", \"R50KELTJP\" or \"35PKUN0UJ\".\nThis value isn't guaranteed to be unique.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactExists", + "description": "Whether the customer who made the order has an enabled associated contact.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the order was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The shop currency when the order was placed.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "The list of custom attributes associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The customer who placed the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerLocale", + "description": "The locale code representing the region where this specific order was placed.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerStatusPageUrl", + "description": "The unique URL for the customer to access the order.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerV1", + "description": "The customer who placed the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PersonalAccount", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountApplications", + "description": "The discounts that have been applied to the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountApplicationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountInformation", + "description": "The discount information for the order, including line-level discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderDiscountInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrder", + "description": "The draft order associated with the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "DraftOrder", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrderName", + "description": "The name of the associated draft order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "editSummary", + "description": "The edit summary of the order.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderEditSummary", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "edited", + "description": "Whether the order has been edited or not.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailAddress", + "description": "The email address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "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 of the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderFulfillmentStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fulfillments", + "description": "The fulfillments associated with the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `order_id`\n - `shipment_status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "FulfillmentSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasEmail", + "description": "Whether the customer has an email address.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasMultipleFulfillments", + "description": "Whether the order has multiple fulfillments.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latestFulfillmentDeliveryDate", + "description": "The delivery or estimated delivery date of the latest fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemContainers", + "description": "The list of the order's line item containers (e.g., Unfulfilled).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "LineItemContainer", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "The list of line items of the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemsSummary", + "description": "The summary of the quantity of line items for the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderLineItemsSummary", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationName", + "description": "The name of the fulfillment location assigned at the time of order creation.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "market", + "description": "The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Market", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "A metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the\nsupplied list of namespaces and keys.\n", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The 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": "note", + "description": "The order's notes.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "number", + "description": "A unique numeric identifier for the order, used by both the shop owner and customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderReceiptMetafields", + "description": "The list of metafields associated with the order receipt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInformation", + "description": "The payment information for the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderPaymentInformation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTermsTemplate", + "description": "Represents the merchant configured payment terms.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentTermsTemplate", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the customer for SMS notifications.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupInformation", + "description": "The pickup information for the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderPickupInformation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "poNumber", + "description": "The purchase order number of the order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processedAt", + "description": "The date and time when the order was processed.\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": "purchasingEntity", + "description": "The purchasing entity for the order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchasingEntityV1", + "description": "The purchasing entity for the order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntityV1", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refunds", + "description": "A list of refunds associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Refund", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reorderPath", + "description": "The path to recreate the order in the cart and redirect to checkout. Will return nil if the line item count exceeds 100.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the order requires shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returns", + "description": "The list of returns for the order with pagination.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ReturnSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The mailing address to which the order items are shipped.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingDiscountAllocations", + "description": "The discounts that have been allocated onto the shipping line by discount applications.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingLine", + "description": "A summary of all shipping costs on the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShippingLine", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingLineGroups", + "description": "The list of shipping line groups for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderShippingLineGroup", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingTitle", + "description": "A summary of the shipping titles for the order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopAppLinksAndResources", + "description": "The various fields for subscribing to order updates via Shop Pay.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ShopAppLinksAndResources", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldInformation", + "description": "The totals and quantities for the order, ignoring returns.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderSoldInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "statusPageUrl", + "description": "The unique URL for the status page of the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "statusUrl", + "description": "The unique URL for the status page of the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotal", + "description": "The price of the order before duties, shipping, and taxes.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalBeforeDiscounts", + "description": "The price of the order before order-level discounts, duties, shipping. It includes taxes in tax-inclusive orders.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountedShipping", + "description": "The total cost of shipping after discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDuties", + "description": "The total amount of duties after returns.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutiesSummary", + "description": "The total duties and duties status.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderDutiesSummary", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalRefunded", + "description": "The total amount refunded.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalShipping", + "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": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTip", + "description": "The total value of tips.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactions", + "description": "A list of transactions associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderTransaction", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderActionType", + "description": "The possible order action types for a\n[sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement).\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ORDER", + "description": "An order with a purchase or charge.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_EDIT", + "description": "An edit to the order.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUND", + "description": "A refund on the order.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "An unknown agreement action. Represents new actions that may be added in future versions.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderAgreement", + "description": "An agreement associated with an order placement.", + "fields": [ + { + "name": "happenedAt", + "description": "The date and time when the agreement occurred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "The order associated with the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Order", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reason", + "description": "The reason the agreement was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sales", + "description": "The sales associated with the agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "SalesAgreement", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderAllDiscounts", + "description": "The information about all discounts applied to a specific order.", + "fields": [ + { + "name": "discountApplicationType", + "description": "The type of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountValue", + "description": "The value of the applied discount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line to which the discount applies.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the discount.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderByCompanySortKeys", + "description": "The set of valid sort keys for the OrderByCompany query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_NUMBER", + "description": "Sort by the `order_number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROCESSED_AT", + "description": "Sort by the `processed_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderByContactSortKeys", + "description": "The set of valid sort keys for the OrderByContact query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_NUMBER", + "description": "Sort by the `order_number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROCESSED_AT", + "description": "Sort by the `processed_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PURCHASING_COMPANY_LOCATION_NAME", + "description": "Sort by the `purchasing_company_location_name` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderByLocationSortKeys", + "description": "The set of valid sort keys for the OrderByLocation query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_NUMBER", + "description": "Sort by the `order_number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROCESSED_AT", + "description": "Sort by the `processed_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderCancelReason", + "description": "The reason for the cancellation of the order.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER", + "description": "The customer wanted to cancel the order.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DECLINED", + "description": "Payment was declined.", + "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": "OTHER", + "description": "The order was canceled for an unlisted reason.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STAFF", + "description": "Staff made an error.", + "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": "nodes", + "description": "A list of the nodes contained in OrderEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Order", "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": "UNION", + "name": "OrderDetailsPageOrder", + "description": "An order that redacts data if the requester does not have authorization to view it.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Order", "ofType": null}, + {"kind": "OBJECT", "name": "PublicOrder", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "OrderDiscountInformation", + "description": "The disount information for a specific order.", + "fields": [ + { + "name": "allAppliedDiscounts", + "description": "The discount information for the order, including line_level discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderAllDiscounts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "allOrderLevelAppliedDiscounts", + "description": "The order level discount information for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderAllDiscounts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "allOrderLevelAppliedDiscountsOnSoldItems", + "description": "The order level discount information for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderAllDiscounts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscounts", + "description": "Total discounts for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalOrderLevelAppliedDiscounts", + "description": "The current order-level discount amount after all order updates.", + "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": "ENUM", + "name": "OrderDutiesStatusType", + "description": "The status of duties for the order.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DUTIES_ERROR", + "description": "The order is being shipped from another country, so duties and taxes may be charged on delivery.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DUTIES_OK", + "description": "The order is being shipped from another country, so duties have been added to the order total.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DUTIES_ZERO", + "description": "The order is being shipped from another country. Duties are not charged on orders of this value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderDutiesSummary", + "description": "The summary of duties associated with an order.\n", + "fields": [ + { + "name": "totalDuties", + "description": "The total amount of duties for the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutiesStatus", + "description": "The status of duties for the order.", + "args": [], + "type": { + "kind": "ENUM", + "name": "OrderDutiesStatusType", + "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": "OBJECT", + "name": "OrderEditAgreement", + "description": "An agreement related to an edit of the order.", + "fields": [ + { + "name": "happenedAt", + "description": "The date and time when the agreement occurred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reason", + "description": "The reason the agreement was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sales", + "description": "The sales associated with the agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "SalesAgreement", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderEditSummary", + "description": "The edit summary associated with an order.", + "fields": [ + { + "name": "changes", + "description": "The edit changes of the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderEditSummaryChange", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latestHappenedAt", + "description": "The date and time of the latest edit.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderEditSummaryChange", + "description": "A change in the edit summary of an order.\n", + "fields": [ + { + "name": "delta", + "description": "The quantity delta of the change.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The handle that describes the change type.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the change.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderFinancialStatus", + "description": "Represents the order's current financial status.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHORIZED", + "description": "Displayed as **Authorized**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAID", + "description": "Displayed as **Paid**.", + "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": "PENDING", + "description": "Displayed as **Pending**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUNDED", + "description": "Displayed as **Refunded**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VOIDED", + "description": "Displayed as **Voided**.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderFulfillmentStatus", + "description": "The aggregated fulfillment status of the order for display purposes.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ATTEMPTED_TO_DELIVER", + "description": "Attempted to deliver the fulfillment.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONFIRMED", + "description": "The fulfillment is confirmed.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERED", + "description": "The fulfillment has been successfully delivered.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN_TRANSIT", + "description": "The fulfillment is in transit.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MULTIPLE_SHIPMENTS", + "description": "This order has multiple fulfillments with differing statuses.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ON_ITS_WAY", + "description": "The fulfillment is on its way.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OUT_FOR_DELIVERY", + "description": "The fulfillment is out for delivery.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PICKED_UP", + "description": "The fulfillment has been picked up.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PREPARING_FOR_SHIPPING", + "description": "The fulfillment is being prepared for shipping.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "READY_FOR_PICKUP", + "description": "The fulfillment is ready to be picked up.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "THERE_WAS_A_PROBLEM", + "description": "There was a problem with the fulfillment.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderLineItemsSummary", + "description": "The quantitative information about the line items of a specific order.", + "fields": [ + { + "name": "lineItemCount", + "description": "The number of line items in the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalQuantityOfLineItems", + "description": "The total quantity of all line items in the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalQuantityOfTipLineItems", + "description": "The total quantity of all tips in the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderPaymentInformation", + "description": "The summary of payment status information for the order.", + "fields": [ + { + "name": "paymentCollectionUrl", + "description": "The URL for collecting a payment on the order.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentStatus", + "description": "The financial status of the order.", + "args": [], + "type": { + "kind": "ENUM", + "name": "OrderPaymentStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTerms", + "description": "The payment terms linked with the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "PaymentTerms", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalOutstandingAmount", + "description": "The total amount that's yet to be transacted for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPaidAmount", + "description": "The total amount that has been paid for the order before any refund.", + "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": "ENUM", + "name": "OrderPaymentStatus", + "description": "The current payment status of the order.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHORIZED", + "description": "The payment has been authorized.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED", + "description": "The payment has expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAID", + "description": "The payment has been paid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARTIALLY_PAID", + "description": "The payment has been partially paid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARTIALLY_REFUNDED", + "description": "The payment has been partially refunded.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "The payment is pending.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUNDED", + "description": "The payment has been refunded.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VOIDED", + "description": "The payment has been voided.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderPickupInformation", + "description": "The pickup information associated with an order.\n", + "fields": [ + { + "name": "address", + "description": "The pickup address for the order.", + "args": [], + "type": {"kind": "OBJECT", "name": "PickupAddress", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the pickup order was created.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The pickup status for the order.", + "args": [], + "type": {"kind": "ENUM", "name": "PickupStatus", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the pickup order was updated.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderRequestReturnPayload", + "description": "Return type for `orderRequestReturn` mutation.", + "fields": [ + { + "name": "return", + "description": "The return request that has been made.", + "args": [], + "type": {"kind": "OBJECT", "name": "Return", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderShippingLineGroup", + "description": "The group including the shipping lines of the order.", + "fields": [ + { + "name": "groupType", + "description": "The type of the shipping group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DeliveryOptionGroupType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineAmountAfterDiscounts", + "description": "The price of the shipping method after discounts.", + "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": "OrderSoldInformation", + "description": "A summary that regroups totals for an order, including the line items that have been returned.", + "fields": [ + { + "name": "quantity", + "description": "The total quantity of line items in the order, including the quantities for line items that have been returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refundedQuantity", + "description": "The total quantity of line items in the order that were refunded, even if the totalRefunded amount was zero.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotal", + "description": "The total amount of the order (before shipping and discounts), including the amounts for line items that have been returned.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total", + "description": "The total amount of the order (including taxes and discounts), including the amounts for line items that have been returned.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscount", + "description": "The total discount amount for the order, including the amounts for line items that have been returned.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxes", + "description": "The total tax amount of the order, including the amounts for line items that have been returned.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "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": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_NUMBER", + "description": "Sort by the `order_number` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROCESSED_AT", + "description": "Sort by the `processed_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderTransaction", + "description": "A payment transaction within an order context.", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the transaction was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "giftCardDetails", + "description": "The gift card details for the transaction.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "GiftCardDetails", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "kind", + "description": "The kind of the transaction.", + "args": [], + "type": { + "kind": "ENUM", + "name": "OrderTransactionKind", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentDetails", + "description": "The payment details for the transaction.", + "args": [], + "type": {"kind": "UNION", "name": "PaymentDetails", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentIcon", + "description": "The payment icon to display for the transaction.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentIconImage", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processedAt", + "description": "The date and time when the transaction was processed.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the transaction.", + "args": [], + "type": { + "kind": "ENUM", + "name": "OrderTransactionStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactionAmount", + "description": "The amount and currency of the transaction in shop and presentment currencies.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyBag", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactionParentId", + "description": "The ID of the parent transaction.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of the transaction.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderTransactionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "typeDetails", + "description": "The details of the transaction type.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "TransactionTypeDetails", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "PaymentIcon", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderTransactionKind", + "description": "The kind of order transaction.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHORIZATION", + "description": "An authorization transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CAPTURE", + "description": "A capture transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CARD_APPROVAL", + "description": "A card approval transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CARD_DECLINE", + "description": "A card decline transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHANGE", + "description": "A change transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMV_AUTHORIZATION", + "description": "An EMV authorization transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUND", + "description": "A refund transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUND_EMV_INITIATE", + "description": "A refund EMV initiate transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SALE", + "description": "A sale transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUGGESTED_REFUND", + "description": "A suggested refund transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VOID", + "description": "A void transaction.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderTransactionStatus", + "description": "Represents the status of an order transaction.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ERROR", + "description": "The transaction has an error.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILURE", + "description": "The transaction has failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "The transaction is pending.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING_AUTHENTICATION", + "description": "The transaction is pending authentication.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUCCESS", + "description": "The transaction is successful.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderTransactionType", + "description": "The type of order transaction.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BANK_DEPOSIT", + "description": "A bank deposit transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CARD", + "description": "A card transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CASH_ON_DELIVERY", + "description": "A cash on delivery transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CUSTOM", + "description": "A custom payment transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD", + "description": "A gift card transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MANUAL", + "description": "A generic manual transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MONEY_ORDER", + "description": "A money order transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOPIFY_INSTALLMENTS", + "description": "A Shopify installments transaction.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageInfo", + "description": "Returns information about pagination in a connection, in accordance with the\n[Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).\nFor more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).\n", + "fields": [ + { + "name": "endCursor", + "description": "The cursor corresponding to the last node in edges.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasNextPage", + "description": "Whether there are more pages to fetch following the current page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasPreviousPage", + "description": "Whether there are any pages prior to the current page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startCursor", + "description": "The cursor corresponding to the first node in edges.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "PaymentDetails", + "description": "Payment details related to a transaction.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "CardPaymentDetails", "ofType": null} + ] + }, + { + "kind": "INTERFACE", + "name": "PaymentIcon", + "description": "The payment icon to display for the transaction.", + "fields": [ + { + "name": "paymentIcon", + "description": "The payment icon to display for the transaction.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentIconImage", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "OrderTransaction", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "PaymentIconImage", + "description": "Represents an image resource.", + "fields": [ + { + "name": "altText", + "description": "A word or phrase to share the nature or contents of an image.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": "The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A unique non-nullable ID for the image.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalSrc", + "description": "The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "src", + "description": "The location of the image as a URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "transformedSrc", + "description": "The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.\n", + "args": [ + { + "name": "crop", + "description": "Crops the image according to the specified region.", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredContentType", + "description": "Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).", + "type": { + "kind": "ENUM", + "name": "ImageContentType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url(transform:)` instead" + }, + { + "name": "url", + "description": "The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).\n", + "args": [ + { + "name": "transform", + "description": "A set of options to transform the original image.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ImageTransformInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": "The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "PaymentInstrument", + "description": "A payment instrument.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "CustomerCreditCard", "ofType": null}, + {"kind": "OBJECT", "name": "PaypalBillingAgreement", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "PaymentInstrumentBillingAddress", + "description": "The billing address associated with a credit card payment instrument.", + "fields": [ + { + "name": "address1", + "description": "The first line of the address, typically the street address or PO Box number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address, typically the apartment, suite, or unit number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address, for example, US.", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name in the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name in the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The two-letter code for the region, for example, ON.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentInstrumentRemovePayload", + "description": "Return type for `paymentInstrumentRemove` mutation.", + "fields": [ + { + "name": "deletedPaymentInstrumentId", + "description": "The ID of the deleted payment instrument.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentInstrumentUpdateDefaultPayload", + "description": "Return type for `paymentInstrumentUpdateDefault` mutation.", + "fields": [ + { + "name": "updatedPaymentInstrumentId", + "description": "The ID of the updated payment instrument.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PaymentInstrumentWalletType", + "description": "The types of credit card wallets.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "APPLE_PAY", + "description": "The credit card is an Apple Pay wallet.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GOOGLE_PAY", + "description": "The credit card is a Google Pay wallet.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOP_PAY", + "description": "The credit card is a Shop Pay wallet.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentSchedule", + "description": "A single payment schedule defined in the payment terms.", + "fields": [ + { + "name": "amount", + "description": "The amount owed for this payment schedule.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed", + "description": "Whether the payment has been completed.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completedAt", + "description": "The date and time when the payment schedule was paid or fulfilled.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dueAt", + "description": "The date and time when the payment schedule is due.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentScheduleConnection", + "description": "An auto-generated type for paginating through multiple PaymentSchedules.\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": "PaymentScheduleEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in PaymentScheduleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PaymentSchedule", + "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": "PaymentScheduleEdge", + "description": "An auto-generated type which holds one PaymentSchedule 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 PaymentScheduleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PaymentSchedule", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentTerms", + "description": "The payment terms associated with an order or draft order.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nextDueAt", + "description": "The next due date if this is the NET or FIXED type of payment terms.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "overdue", + "description": "Whether the payment terms have overdue payment schedules.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentSchedules", + "description": "The list of schedules associated with the payment terms.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PaymentScheduleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTermsName", + "description": "The name of the payment terms template that was used to create the payment terms.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTermsType", + "description": "The type of the payment terms template that was used to create the payment terms.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PaymentTermsType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentTermsTemplate", + "description": "The template for payment terms.", + "fields": [ + { + "name": "description", + "description": "The description of the payment terms template.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dueInDays", + "description": "The number of days between the issue date and due date for net-type payment terms.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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 payment terms template.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentTermsType", + "description": "The type of the payment terms template.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PaymentTermsType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "translatedName", + "description": "The translated name of the payment terms template.", + "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": "ENUM", + "name": "PaymentTermsType", + "description": "The type of a payment terms or a payment terms template.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "FIXED", + "description": "The payment terms or payment terms template is fixed type (due on a specified date).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FULFILLMENT", + "description": "The payment terms or payment terms template is due upon fulfillment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NET", + "description": "The payment terms or payment terms template is net type (due a number of days after issue).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RECEIPT", + "description": "The payment terms or payment terms template is due upon receipt.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "The type of the payment terms or payment terms template is unknown.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaypalAccountEnablePayload", + "description": "Return type for `paypalAccountEnable` mutation.", + "fields": [ + { + "name": "paypalBillingAgreement", + "description": "The newly established PayPal billing agreement.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaypalBillingAgreement", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaypalTokenUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaypalBillingAgreement", + "description": "A payment method using a PayPal billing agreement.", + "fields": [ + { + "name": "billingAddress", + "description": "The billing address associated with the payment method.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaymentInstrumentBillingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalAccountEmail", + "description": "The email address associated with the PayPal account.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pendingOrders", + "description": "The list of pending orders associated with this PayPal billing agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContracts", + "description": "The list of subscription contracts charged using this PayPal billing agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SubscriptionContractsSortKeys", + "ofType": null + }, + "defaultValue": "CREATED_AT", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "PaymentInstrument", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaypalTokenCreatePayload", + "description": "Return type for `paypalTokenCreate` mutation.", + "fields": [ + { + "name": "token", + "description": "The created PayPal Express token.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaypalTokenUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PermittedOperation", + "description": "The operations that can be performed on a B2B resource.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADD", + "description": "The permission to add a resource.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ALL", + "description": "All permissions for a resource.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELETE", + "description": "The permission to delete a resource.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EDIT", + "description": "The permission to edit a resource.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "USE", + "description": "The permission to use a resource.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VIEW", + "description": "The permission to view a resource.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PersonalAccount", + "description": "Represents the personal information of a customer.", + "fields": [ + { + "name": "acceptsEmailMarketing", + "description": "Indicates if the customer accepts email marketing communication.\nIf the customer doesn't have an email address, then this property is `false`.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "acceptsSmsMarketing", + "description": "Indicates if the customer accepts sms marketing communication.\nIf the customer doesn't have a phone number, then this property is `false`.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addresses", + "description": "The addresses associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "skipDefault", + "description": "A flag indicating whether the default address should be included.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerMailingAddressConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "availableWalletPaymentConfigs", + "description": "The list of wallet payment configs for providers that the payment method accepts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "WalletPaymentConfig", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the customer was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creationDate", + "description": "The date and time when the customer was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCard", + "description": "A Credit Card resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Credit Card to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerCreditCard", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCards", + "description": "The stored Credit Cards associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerCreditCardConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerEmailAddress", + "description": "The email address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerEmailAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerPhoneNumber", + "description": "The phone number of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerPhoneNumber", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The default mailing address of the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerMailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayName", + "description": "The full name of the customer, based on the first_name and last_name values. If these aren't available, it falls back to the customer's email address, and if that isn't available, the customer's phone number.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrder", + "description": "A Draft Order resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Draft Order to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "DraftOrder", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrders", + "description": "The Draft Orders associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `company_contact_id`\n - `created_at`\n - `customer_id`\n - `name`\n - `purchasing_entity`\n - `source`\n - `status`\n - `tag`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "DraftOrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DraftOrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailMarketingConsent", + "description": "The current email marketing state for the customer.\nIf the customer doesn't have an email address, then this property is `null`.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "EmailMarketingConsentState", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "imageUrl", + "description": "The URL to the avatar image of the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastIncompleteCheckout", + "description": "The customer's most recently updated, incomplete checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "A metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the\nsupplied list of namespaces and keys.\n", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "Returns an Order resource by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderDetailsPageOrder", + "description": "An Order resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "UNION", + "name": "OrderDetailsPageOrder", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The orders associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `order_number`\n - `processed_at`\n - `purchasing_company_contact_id`\n - `purchasing_company_id`\n - `purchasing_company_location_id`\n - `purchasing_entity`\n - `shipment_status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paypalBillingAgreement", + "description": "A PayPal Billing Agreement resource.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PaypalBillingAgreement", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "return", + "description": "A Return identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Return", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContract", + "description": "A Subscription Contract resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the SubscriptionContract to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionContracts", + "description": "The Subscription Contracts associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `status`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SubscriptionContractsSortKeys", + "ofType": null + }, + "defaultValue": "CREATED_AT", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "A comma-separated list of tags that have been added to the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExempt", + "description": "Indicates whether the customer is exempt from being charged taxes on their orders.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptions", + "description": "The list of tax exemption types applied to the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TaxExemption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxExemptionsDetails", + "description": "The list of tax exemptions applied to the customer with additional details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "PersonalInformationUpdateInput", + "description": "The input fields to update a customer's personal information.\n", + "fields": null, + "inputFields": [ + { + "name": "firstName", + "description": "The customer's first name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The customer's last name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PersonalInformationUpdatePayload", + "description": "Return type for `personalInformationUpdate` mutation.", + "fields": [ + { + "name": "personalInformation", + "description": "The customer's personal information that has been updated.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PersonalAccount", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPersonalInformationUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PickupAddress", + "description": "The address of a pickup location.\n", + "fields": [ + { + "name": "address1", + "description": "The street address for the pickup location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "Any additional address information for the pickup location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The city of the pickup location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The country code for the pickup location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CountryCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number for the pickup location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The ZIP code for the pickup location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zoneCode", + "description": "The province code for the pickup location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PickupStatus", + "description": "The status of the order's pickup.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CLOSED", + "description": "The pickup of the order has been confirmed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN_PROGRESS", + "description": "The order has been picked up.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPEN", + "description": "The order is ready for pick up.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PricingPercentageValue", + "description": "Represents the value of the percentage pricing object.", + "fields": [ + { + "name": "percentage", + "description": "The percentage value of the object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "PricingValue", + "description": "The price value (fixed or percentage) for a discount application.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + {"kind": "OBJECT", "name": "PricingPercentageValue", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "ProductSale", + "description": "A sale associated with a product.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item for the associated sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PublicOrder", + "description": "The data that about an order that is visible to anyone with the order ID.", + "fields": [ + { + "name": "cancelledAt", + "description": "The date and time when the order was canceled.\nReturns `null` if the order wasn't canceled.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmationNumber", + "description": "A randomly generated alpha-numeric identifier for the order that may be shown to the customer\ninstead of the sequential order name. For example, \"XPAV284CT\", \"R50KELTJP\" or \"35PKUN0UJ\".\nThis value isn't guaranteed to be unique.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountInformation", + "description": "The discount information for the order, including line-level discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderDiscountInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrderName", + "description": "The name of the associated draft order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "editSummary", + "description": "The edit summary of the order.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderEditSummary", + "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 of the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderFulfillmentStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fulfillments", + "description": "The fulfillments associated with the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `order_id`\n - `shipment_status`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "FulfillmentSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasEmail", + "description": "Whether the customer has an email address.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemContainers", + "description": "The list of the order's line item containers (e.g., Unfulfilled).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "LineItemContainer", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "The list of line items of the order.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "market", + "description": "The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Market", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The 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": "paymentInformation", + "description": "The payment information for the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderPaymentInformation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupInformation", + "description": "The pickup information for the order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderPickupInformation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "poNumber", + "description": "The purchase order number of the order.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "processedAt", + "description": "The date and time when the order was processed.\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": "purchasingEntity", + "description": "The purchasing entity for the order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchasingEntityV1", + "description": "The purchasing entity for the order.", + "args": [], + "type": { + "kind": "UNION", + "name": "PurchasingEntityV1", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refunds", + "description": "A list of refunds associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Refund", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reorderPath", + "description": "The path to recreate the order in the cart and redirect to checkout. Will return nil if the line item count exceeds 100.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the order requires shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returns", + "description": "The list of returns for the order with pagination.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ReturnSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingLineGroups", + "description": "The list of shipping line groups for the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderShippingLineGroup", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "soldInformation", + "description": "The totals and quantities for the order, ignoring returns.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderSoldInformation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotal", + "description": "The price of the order before duties, shipping, and taxes.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalBeforeDiscounts", + "description": "The price of the order before order-level discounts, duties, shipping. It includes taxes in tax-inclusive orders.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountedShipping", + "description": "The total cost of shipping after discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDuties", + "description": "The total amount of duties after returns.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutiesSummary", + "description": "The total duties and duties status.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "OrderDutiesSummary", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalRefunded", + "description": "The total amount refunded.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalShipping", + "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": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTip", + "description": "The total value of tips.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactions", + "description": "A list of transactions associated with the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderTransaction", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PurchasingCompany", + "description": "The information of the purchasing company for an order or draft order.\n", + "fields": [ + { + "name": "company", + "description": "The company associated with the order or draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Company", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contact", + "description": "The company contact associated with the order or draft order.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CompanyContact", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contactV1", + "description": "The company contact associated with the order or draft order.", + "args": [], + "type": {"kind": "OBJECT", "name": "Contact", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "The company location associated with the order or draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompanyLocation", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationV1", + "description": "The company location associated with the order or draft order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Location", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "PurchasingEntity", + "description": "Represents information about the purchasing entity for the order or draft order.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Customer", "ofType": null}, + {"kind": "OBJECT", "name": "PurchasingCompany", "ofType": null} + ] + }, + { + "kind": "UNION", + "name": "PurchasingEntityV1", + "description": "Represents information about the purchasing entity for the order or draft order.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "PersonalAccount", "ofType": null}, + {"kind": "OBJECT", "name": "PurchasingCompany", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "QueryRoot", + "description": "This acts as the public, top-level API from which all queries start.", + "fields": [ + { + "name": "addressFormSettings", + "description": "Returns the settings for the address form.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormSettings", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "businessAccount", + "description": "Returns the business account of the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BusinessAccount", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The information of the customer's company.", + "args": [ + { + "name": "id", + "description": "The ID of the Company.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Company", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyLocation", + "description": "The Location corresponding to the provided ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Location.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CompanyLocation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "Returns the Customer resource.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Customer", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "draftOrder", + "description": "Returns a Draft Order resource by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Draft Order to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "DraftOrder", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "extensionApiTokens", + "description": "The API tokens for UI extensions.", + "args": [ + { + "name": "appId", + "description": "The UI extension app ID for which API tokens will be generated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ExtensionApiTokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "Returns an Order resource by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to return.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderDetailsPageOrder", + "description": "An Order resource identified by ID.", + "args": [ + { + "name": "id", + "description": "The ID of the Order to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "UNION", + "name": "OrderDetailsPageOrder", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "personalAccount", + "description": "Returns the personal information of the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PersonalAccount", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shop", + "description": "Returns the information about the shop.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Shop", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uiExtensionMetafields", + "description": "Public metafields for Shop, Order, Customer, Company, CompanyLocation, Product, and ProductVariant.\nShop metafields are always fetched if there is a match for the given namespace and key pairs.\nProduct and ProductVariant are only fetched if resource_ids are provided and there is a match for the\nnamespace and key. This is restricted to development shops for local UI extension development purposes only.\n", + "args": [ + { + "name": "filters", + "description": "Filters to scope down the metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UiExtensionMetafieldFilterInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderId", + "description": "The order id for which metafield resource metafield owners are fetched. The resources are the Order,\nProduct, ProductVariant, Customer, Company, and Company Location.\n", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourceIds", + "description": "The resource ids for which metafields will be fetched. IDs for Order, Product, ProductVariant, Customer,\nCompany, and Company Location can be provided.\n", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UiExtensionMetafield", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uiExtensionSessionToken", + "description": "A session token for an UI extension.", + "args": [ + { + "name": "id", + "description": "The ID for which a session token will be generated. Only IDs for App and ActivatedUiExtension\ncan be provided.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UiExtensionSessionToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Refund", + "description": " The record of refunds issued to a customer.\n", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the refund was created.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returnName", + "description": "The name of the return, if the refund was issued from a return.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalRefunded", + "description": "The total amount refunded across all transactions, in presentment currencies.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the refund was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RefundAgreement", + "description": "An agreement for refunding all or a portion of the order between the merchant and the customer.", + "fields": [ + { + "name": "happenedAt", + "description": "The date and time when the agreement occurred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reason", + "description": "The reason the agreement was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refund", + "description": "The refund that's associated with the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Refund", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sales", + "description": "The sales associated with the agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "SalesAgreement", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RemainingLineItemContainer", + "description": "The information about the line items container for items that have not been refunded or removed.\n", + "fields": [ + { + "name": "id", + "description": "A unique ID for the container.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "The line items contained within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItem", + "description": "The information about the line item in the line item container.\n", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the container.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItemConnection", + "description": "An auto-generated type for paginating through multiple RemainingLineItemContainerLineItems.\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": "RemainingLineItemContainerLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in RemainingLineItemContainerLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItem", + "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": "RemainingLineItemContainerLineItemEdge", + "description": "An auto-generated type which holds one RemainingLineItemContainerLineItem 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 RemainingLineItemContainerLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RemainingLineItemContainerLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "RequestedLineItemInput", + "description": "The input fields for a line item requested for return.", + "fields": null, + "inputFields": [ + { + "name": "customerNote", + "description": "A note from the customer explaining the item to be returned.\nFor instance, the note can detail issues with the item for the merchant's information.\nMaximum length: 300 characters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemId", + "description": "The ID of the line item that's to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the item that's to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returnReason", + "description": "The reason for returning the item.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "ReturnReason", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ResendGiftCardPayload", + "description": "Return type for `resendGiftCard` mutation.", + "fields": [ + { + "name": "orderId", + "description": "The ID of the order that resends the gift cards.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsResendGiftCardErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ResourcePermission", + "description": "Represents permissions on resources.", + "fields": [ + { + "name": "permittedOperations", + "description": "The operations permitted on the resource.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PermittedOperation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resource", + "description": "The name of the resource.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "ResourceType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ResourceType", + "description": "The B2B resource types.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BUSINESS_PROFILE", + "description": "The Business Profile resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY", + "description": "The Company resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_CONTACT", + "description": "The Company Contact resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_CONTACT_ROLE", + "description": "The Company Contact Role resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_LOCATION", + "description": "The Company Location resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_LOCATION_BILLING_ADDRESS", + "description": "The Company Location Billing Address resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_LOCATION_SHIPPING_ADDRESS", + "description": "The Company Location Shipping Address resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_TAX_EXEMPTION", + "description": "The Company Tax Exemption resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DRAFT_ORDER", + "description": "The Draft Order resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER", + "description": "The Order resource type.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_METHOD", + "description": "The Payment Method resource type.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Return", + "description": "A product return.", + "fields": [ + { + "name": "closedAt", + "description": "The date when the return was closed.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date when the return was created.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name assigned to the return.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returnLineItems", + "description": "The line items associated with the return.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverseDeliveries", + "description": "The list of reverse deliveries associated with the return.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReverseDeliveryConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The current status of the `Return`.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "ReturnStatus", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timelineEvents", + "description": "The timeline events related to the return.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TimelineEvent", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date when the return was last updated.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReturnConnection", + "description": "An auto-generated type for paginating through multiple Returns.\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": "ReturnEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ReturnEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Return", "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": "ReturnEdge", + "description": "An auto-generated type which holds one Return 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 ReturnEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Return", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReturnLineItem", + "description": "A line item that is being returned.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The specific line item that's being returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the item that's being returned.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returnReason", + "description": "The reason for returning the item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "ReturnReason", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReturnLineItemConnection", + "description": "An auto-generated type for paginating through multiple ReturnLineItems.\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": "ReturnLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ReturnLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnLineItem", + "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": "ReturnLineItemEdge", + "description": "An auto-generated type which holds one ReturnLineItem 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 ReturnLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReturnLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ReturnReason", + "description": "The reason for returning the item.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "COLOR", + "description": "The color of the item didn't meet expectations.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DEFECTIVE", + "description": "The item was damaged or defective.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_AS_DESCRIBED", + "description": "The item was not as described.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OTHER", + "description": "Other reason not listed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SIZE_TOO_LARGE", + "description": "The size of the item was too large.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SIZE_TOO_SMALL", + "description": "The size of the item was too small.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STYLE", + "description": "The style of the item didn't meet expectations.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "The reason is unknown.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNWANTED", + "description": "The customer changed their mind about the item.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WRONG_ITEM", + "description": "The customer received the wrong item.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ReturnSortKeys", + "description": "The set of valid sort keys for the Return query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ReturnStatus", + "description": "The current status of a `Return`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CANCELED", + "description": "The `Return` has been canceled by the user.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CLOSED", + "description": "The `Return` has been successfully completed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DECLINED", + "description": "The `Return` request was declined.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPEN", + "description": "The `Return` is currently in progress.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUESTED", + "description": "The `Return` has been requested by the user.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReturnSupportedReason", + "description": "The supported reason for returning a line item.", + "fields": [ + { + "name": "reason", + "description": "The specific reason for returning the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "ReturnReason", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The user-friendly title for the return reason.", + "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": "ReverseDelivery", + "description": "A reverse delivery represents a package being sent back by a buyer to a merchant post-fulfillment.\nThis could occur when a buyer requests a return and the merchant provides a shipping label.\nThe reverse delivery includes the context of the items being returned, the method of return\n(for example, a shipping label), and the current status of the delivery (tracking information).\n", + "fields": [ + { + "name": "customerGeneratedLabel", + "description": "Whether the label was generated by the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliverable", + "description": "The deliverable linked with the reverse delivery.", + "args": [], + "type": { + "kind": "UNION", + "name": "ReverseDeliveryDeliverable", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReverseDeliveryConnection", + "description": "An auto-generated type for paginating through multiple ReverseDeliveries.\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": "ReverseDeliveryEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ReverseDeliveryEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReverseDelivery", + "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": "UNION", + "name": "ReverseDeliveryDeliverable", + "description": "The method and associated details of a reverse delivery.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "ReverseDeliveryShippingDeliverable", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "ReverseDeliveryEdge", + "description": "An auto-generated type which holds one ReverseDelivery 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 ReverseDeliveryEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReverseDelivery", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReverseDeliveryLabel", + "description": "The return label information for a reverse delivery.", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the reverse delivery label was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicFileUrl", + "description": "A publicly accessible link for downloading the label image.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the reverse delivery label was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReverseDeliveryShippingDeliverable", + "description": "A set of shipping deliverables for reverse delivery.", + "fields": [ + { + "name": "label", + "description": "The return label that's attached to the reverse delivery.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ReverseDeliveryLabel", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tracking", + "description": "The tracking information for the reverse delivery.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ReverseDeliveryTracking", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReverseDeliveryTracking", + "description": "The tracking information for a reverse delivery.", + "fields": [ + { + "name": "carrierName", + "description": "The name of the delivery service provider, in a format that's suitable for display purposes.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingNumber", + "description": "The identifier that the courier uses to track the shipment.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingUrl", + "description": "The URL used to track the shipment.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Sale", + "description": "A record of an individual sale associated with a sales agreement. Every monetary value in an order's sales data is represented in the smallest unit of the currency.\nWhen amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order.\nTo address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for.\nIn aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts.\nThis is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items.\n", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "AdditionalFeeSale", "ofType": null}, + {"kind": "OBJECT", "name": "AdjustmentSale", "ofType": null}, + {"kind": "OBJECT", "name": "DutySale", "ofType": null}, + {"kind": "OBJECT", "name": "GiftCardSale", "ofType": null}, + {"kind": "OBJECT", "name": "ProductSale", "ofType": null}, + {"kind": "OBJECT", "name": "ShippingLineSale", "ofType": null}, + {"kind": "OBJECT", "name": "TipSale", "ofType": null}, + {"kind": "OBJECT", "name": "UnknownSale", "ofType": null} + ] + }, + { + "kind": "ENUM", + "name": "SaleActionType", + "description": "An order action type associated with a sale.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ORDER", + "description": "A purchase or charge.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RETURN", + "description": "A removal or return.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "An unidentified order action. Represents new actions that may be added in future versions.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATE", + "description": "A change to the price, taxes, or discounts for a previous purchase.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SaleConnection", + "description": "An auto-generated type for paginating through multiple Sales.\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": "SaleEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SaleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "Sale", + "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": "SaleEdge", + "description": "An auto-generated type which holds one Sale 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 SaleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "INTERFACE", "name": "Sale", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SaleLineType", + "description": "The possible line types of a sale record. A sale can be an adjustment, which occurs when a refund is issued for a line item that is either more or less than the total value of the line item.\nExamples include restocking fees and goodwill payments. In such cases, Shopify generates a sales agreement with sale records for each line item that is returned or refunded, and an additional sale record for the adjustment, for example a restocking fee.\nThe sale records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDITIONAL_FEE", + "description": "An additional fee.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADJUSTMENT", + "description": "A sale adjustment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DUTY", + "description": "A duty charge.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD", + "description": "A gift card.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT", + "description": "A product that was purchased, returned, or exchanged.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING", + "description": "A shipping charge.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TIP", + "description": "A tip given by the customer.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNKNOWN", + "description": "An unknown sale line type. This represents new types that may be added in future versions.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SaleTax", + "description": "The tax allocated to a sale from a single tax line.", + "fields": [ + { + "name": "amount", + "description": "The portion of the total tax amount on the related sale that's from the associated tax line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the sale tax.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxLine", + "description": "The tax line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "TaxLine", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "SalesAgreement", + "description": "A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more.", + "fields": [ + { + "name": "happenedAt", + "description": "The date and time when the agreement occurred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the agreement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reason", + "description": "The reason the agreement was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "OrderActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sales", + "description": "The sales associated with the agreement.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "OrderAgreement", "ofType": null}, + {"kind": "OBJECT", "name": "OrderEditAgreement", "ofType": null}, + {"kind": "OBJECT", "name": "RefundAgreement", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "SalesAgreementConnection", + "description": "An auto-generated type for paginating through multiple SalesAgreements.\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": "SalesAgreementEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SalesAgreementEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "SalesAgreement", + "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": "SalesAgreementEdge", + "description": "An auto-generated type which holds one SalesAgreement 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 SalesAgreementEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "SalesAgreement", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ScriptDiscountApplication", + "description": "Captures the intentions of a discount that was created by a Shopify Script.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "The lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application as defined by the Script.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanAnchor", + "description": "Represents a selling plan policy anchor.", + "fields": [ + { + "name": "cutoffDay", + "description": "The cutoff day for the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "day", + "description": "The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` isn't WEEKDAY, then the value must be between 1-31.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "month", + "description": "The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SellingPlanAnchorType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SellingPlanAnchorType", + "description": "Defines the anchor type.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "MONTHDAY", + "description": "Represents a day of the month, between 1-31.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WEEKDAY", + "description": "Represents a day of the week, between 1-7.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEARDAY", + "description": "Represents days of the month and year, month between 1-12, and day between 1-31.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SellingPlanInterval", + "description": "Defines valid selling plan intervals.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DAY", + "description": "Represents a day interval.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MONTH", + "description": "Represents a month interval.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WEEK", + "description": "Represents a week interval.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEAR", + "description": "Represents a year interval.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShippingLine", + "description": "Represents the shipping details that the customer chose for their order.", + "fields": [ + { + "name": "handle", + "description": "A unique identifier for the shipping rate.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalPrice", + "description": "The pre-tax shipping price without any discounts applied.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the shipping line.", + "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": "ShippingLineSale", + "description": "A sale associated with a shipping charge.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShippingRate", + "description": "A shipping rate to be applied to a checkout.", + "fields": [ + { + "name": "handle", + "description": "The human-readable unique identifier for this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The price of this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Shop", + "description": "A collection of the general information about the shop.", + "fields": [ + { + "name": "addressFormSettings", + "description": "Returns the settings for the address form.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddressFormSettings", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email of the shop.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "A metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A container for a set of metafields.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the\nsupplied list of namespaces and keys.\n", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "myshopifyDomain", + "description": "The shop's .myshopify.com domain name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the shop.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopPolicies", + "description": "The list of all legal policies associated with the shop.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ShopPolicy", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the shop's online store.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopAppLinksAndResources", + "description": "The shop app links and resources for an order.", + "fields": [ + { + "name": "buyerHasShopApp", + "description": "Whether the the buyer is associated to Shop App.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerHasShopPay", + "description": "Whether the the buyer is associated to Shop Pay.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "canTrackOrderUpdates", + "description": "Whether or not the track order updates button should be rendered.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "installmentsHighlightEligible", + "description": "Whether or not showing the installments highlight is eligible.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mobileUrl", + "description": "The URL to the mobile Shop App.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mobileUrlAttributionPayload", + "description": "The attribution details related to the mobile url.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderUpdateOptions", + "description": "The various options that exist for subscribing to order updates.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "qrCodeUrl", + "description": "The URL to the Shop App QR code.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopAppEligible", + "description": "Whether or not Shop App eligible.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopAppQrCodeKillswitch", + "description": "Whether QR code should be hidden.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopInstallmentsMobileUrl", + "description": "The URL to the Shop Pay Installments reminders.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopInstallmentsViewSchedules", + "description": "The URL to view the Shop Pay Installments schedules in the mobile Shop App.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopPayOrder", + "description": "Whether the order was a shop pay order.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopPayConfiguration", + "description": "The configuration values used to initialize a Shop Pay checkout.", + "fields": [ + { + "name": "checkoutOne", + "description": "Whether the checkout is a checkout one session.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactionParams", + "description": "The URL parameters containing an encrypted blob used by Shop Pay's backend.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactionUrl", + "description": "The URL from which the Shop Pay checkout can be completed.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopPayCreditCardGetUpdateUrlPayload", + "description": "Return type for `shopPayCreditCardGetUpdateUrl` mutation.", + "fields": [ + { + "name": "updateShopPayCreditCardUrl", + "description": "The URL to which the customer should be redirected to update their Shop Pay credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopPolicy", + "description": "A policy that a merchant has configured for their store, such as their refund or privacy policy.", + "fields": [ + { + "name": "body", + "description": "The text of the policy. The maximum size is 512kb.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The handle of the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The public URL to the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SmsMarketingState", + "description": "Defines the valid SMS marketing states for a customer’s phone number.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "NOT_SUBSCRIBED", + "description": "The customer has not subscribed to SMS marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "The customer is in the process of subscribing to SMS marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REDACTED", + "description": "The customer's personal data has been erased. This value is internally-set and read-only.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIBED", + "description": "The customer has subscribed to SMS marketing.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNSUBSCRIBED", + "description": "The customer is not currently subscribed to SMS marketing but was previously subscribed.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "String", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycle", + "description": "The billing cycle of a subscription.", + "fields": [ + { + "name": "billingAttemptExpectedDate", + "description": "The expected date of the billing attempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cycleEndAt", + "description": "The end date of the billing cycle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cycleIndex", + "description": "The index of the billing cycle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cycleStartAt", + "description": "The start date of the billing cycle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "edited", + "description": "Whether the billing cycle was edited.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "skipped", + "description": "Whether the billing cycle was skipped.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the billing cycle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SubscriptionBillingCycleBillingCycleStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionBillingCycleBillingCycleStatus", + "description": "The possible statuses of a subscription billing cycle.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BILLED", + "description": "The billing cycle has been billed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNBILLED", + "description": "The billing cycle has not been billed.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleConnection", + "description": "An auto-generated type for paginating through multiple SubscriptionBillingCycles.\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": "SubscriptionBillingCycleEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SubscriptionBillingCycleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycle", + "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": "SubscriptionBillingCycleEdge", + "description": "An auto-generated type which holds one SubscriptionBillingCycle 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 SubscriptionBillingCycleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycle", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionBillingCycleInput", + "description": "The input fields for specifying the subscription contract and selecting the associated billing cycle.", + "fields": null, + "inputFields": [ + { + "name": "contractId", + "description": "The ID of the subscription contract associated with the billing cycle.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "selector", + "description": "Selects the billing cycle by date or index.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionBillingCycleSelector", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionBillingCycleSelector", + "description": "The input fields to select a SubscriptionBillingCycle by either date or index.", + "fields": null, + "inputFields": [ + { + "name": "date", + "description": "The date to select a billing cycle.", + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "index", + "description": "The index to select a billing cycle.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleSkipPayload", + "description": "Return type for `subscriptionBillingCycleSkip` mutation.", + "fields": [ + { + "name": "billingCycle", + "description": "The updated billing cycle.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycle", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleSkipUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleSkipUserError", + "description": "An error that occurs during the execution of `SubscriptionBillingCycleSkip`.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionBillingCycleSkipUserErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionBillingCycleSkipUserErrorCode", + "description": "Possible error codes that can be returned by `SubscriptionBillingCycleSkipUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleUnskipPayload", + "description": "Return type for `subscriptionBillingCycleUnskip` mutation.", + "fields": [ + { + "name": "billingCycle", + "description": "The updated billing cycle.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycle", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleUnskipUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleUnskipUserError", + "description": "An error that occurs during the execution of `SubscriptionBillingCycleUnskip`.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionBillingCycleUnskipUserErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionBillingCycleUnskipUserErrorCode", + "description": "Possible error codes that can be returned by `SubscriptionBillingCycleUnskipUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionBillingCyclesSortKeys", + "description": "The set of valid sort keys for the SubscriptionBillingCycles query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CYCLE_END_AT", + "description": "Sort by the `cycle_end_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CYCLE_INDEX", + "description": "Sort by the `cycle_index` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionBillingPolicy", + "description": "The billing policy of a subscription.", + "fields": [ + { + "name": "anchors", + "description": "The anchor dates for calculating billing intervals.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAnchor", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interval", + "description": "The type of interval associated with this schedule (e.g. Monthly, Weekly, etc).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SellingPlanInterval", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "intervalCount", + "description": "The number of intervals between invoices.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxCycles", + "description": "The maximum number of cycles after which the subscription ends.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "minCycles", + "description": "The minimum number of cycles required for the subscription.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContract", + "description": "A Subscription Contract.", + "fields": [ + { + "name": "appEligibleForCustomerActions", + "description": "Whether the subscription contract is eligible for customer actions.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "billingPolicy", + "description": "The billing policy associated with the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingPolicy", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the subscription contract was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The currency used for the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "A list of custom attributes to be added to the generated orders.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryMethod", + "description": "The delivery method for each billing of the subscription contract.", + "args": [], + "type": { + "kind": "UNION", + "name": "SubscriptionDeliveryMethod", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryPolicy", + "description": "The delivery policy associated with the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionDeliveryPolicy", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryPrice", + "description": "The delivery price for each billing of the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastPaymentStatus", + "description": "The current status of the last payment.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionContractLastPaymentStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineCount", + "description": "The number of lines associated with the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "A list of subscription lines associated with the subscription contract.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionLineConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nextBillingDate", + "description": "The next billing date for the subscription contract.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "A note that will be applied to the generated orders.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "A list of the subscription contract's orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originOrder", + "description": "The order from which the contract originated.", + "args": [], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentInstrument", + "description": "The payment instrument being charged for this subscription contract.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "PaymentInstrument", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceBreakdownEstimate", + "description": "An estimate of the breakdown of the amounts that will be charged in the next billing attempt.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionPriceBreakdown", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revisionId", + "description": "The revision ID of the contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UnsignedInt64", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The current status of the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SubscriptionContractSubscriptionStatus", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "upcomingBillingCycles", + "description": "The upcoming billing cycles on the subscription contract.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SubscriptionBillingCyclesSortKeys", + "ofType": null + }, + "defaultValue": "CYCLE_INDEX", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionBillingCycleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the subscription contract was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "SubscriptionContractBase", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractActivatePayload", + "description": "Return type for `subscriptionContractActivate` mutation.", + "fields": [ + { + "name": "contract", + "description": "The activated Subscription Contract.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractStatusUpdateUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "SubscriptionContractBase", + "description": "The common fields of a subscription contract.", + "fields": [ + { + "name": "appEligibleForCustomerActions", + "description": "Whether the subscription contract is eligible for customer actions.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The currency used for the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "A list of custom attributes to be added to the generated orders.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryMethod", + "description": "The delivery method for each billing of the subscription contract.", + "args": [], + "type": { + "kind": "UNION", + "name": "SubscriptionDeliveryMethod", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryPrice", + "description": "The delivery price for each billing of the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineCount", + "description": "The number of lines associated with the subscription contract.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "A list of subscription lines associated with the subscription contract.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionLineConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "A note that will be applied to the generated orders.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "A list of the subscription contract's orders.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceBreakdownEstimate", + "description": "An estimate of the breakdown of the amounts that will be charged in the next billing attempt.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionPriceBreakdown", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the subscription contract was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "SubscriptionContract", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractCancelPayload", + "description": "Return type for `subscriptionContractCancel` mutation.", + "fields": [ + { + "name": "contract", + "description": "The canceled Subscription Contract.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractStatusUpdateUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractChangePaymentInstrumentPayload", + "description": "Return type for `subscriptionContractChangePaymentInstrument` mutation.", + "fields": [ + { + "name": "contract", + "description": "The updated Subscription Contract after the payment instrument change.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractConnection", + "description": "An auto-generated type for paginating through multiple SubscriptionContracts.\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": "SubscriptionContractEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SubscriptionContractEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "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": "SubscriptionContractEdge", + "description": "An auto-generated type which holds one SubscriptionContract 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 SubscriptionContractEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractFetchDeliveryOptionsPayload", + "description": "Return type for `subscriptionContractFetchDeliveryOptions` mutation.", + "fields": [ + { + "name": "deliveryOptionsResult", + "description": "The available delivery options for a given delivery address. Returns `null` for pending requests.", + "args": [], + "type": { + "kind": "UNION", + "name": "SubscriptionDeliveryOptionsResult", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionContractLastPaymentStatus", + "description": "The status of the last payment on a subscription contract.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "FAILED", + "description": "A failed subscription billing attempt.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUCCEEDED", + "description": "A successful subscription billing attempt.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractPausePayload", + "description": "Return type for `subscriptionContractPause` mutation.", + "fields": [ + { + "name": "contract", + "description": "The updated Subscription Contract after the pause operation.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractStatusUpdateUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractSelectDeliveryMethodPayload", + "description": "Return type for `subscriptionContractSelectDeliveryMethod` mutation.", + "fields": [ + { + "name": "contract", + "description": "The updated subscription contract object.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SubscriptionContract", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionContractUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionContractStatusUpdateErrorCode", + "description": "Possible error codes that can be returned by `SubscriptionContractStatusUpdateUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CONTRACT_FAILED", + "description": "Subscription contract status cannot be changed once failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONTRACT_TERMINATED", + "description": "Subscription contract status cannot be changed once terminated.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HAS_FUTURE_EDITS", + "description": "Subscription contract has a future contract or schedule edit.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION_CONTRACT_DOES_NOT_EXIST", + "description": "Subscription contract does not exist.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractStatusUpdateUserError", + "description": "The error codes for failed subscription contract mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionContractStatusUpdateErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionContractSubscriptionStatus", + "description": "The status of a subscription.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ACTIVE", + "description": "The contract is active and is continuing per its policies.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CANCELLED", + "description": "The contract was ended by an unplanned customer action.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED", + "description": "The contract has ended per the expected circumstances. All billing and delivery cycles of the subscriptions have been executed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED", + "description": "The contract has ended because billing failed and no further billing attempts are expected.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAUSED", + "description": "The contract is temporarily paused and is expected to resume in the future.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STALE", + "description": "The contract has expired due to inactivity.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionContractUserError", + "description": "The error codes for failed subscription contract mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "SubscriptionContractUserErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionContractUserErrorCode", + "description": "Possible error codes that can be returned by `SubscriptionContractUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BLANK", + "description": "The input value is blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HAS_FUTURE_EDITS", + "description": "Subscription contract has a future contract or schedule edit.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSTRUMENT_DOES_NOT_EXIST", + "description": "Payment instrument does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION_CONTRACT_DOES_NOT_EXIST", + "description": "Subscription contract does not exist.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubscriptionContractsSortKeys", + "description": "The set of valid sort keys for the SubscriptionContracts query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "SubscriptionDeliveryMethod", + "description": "The delivery method to use to deliver the physical goods to the customer.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodLocalDelivery", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodPickup", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodShipping", + "ofType": null + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodInput", + "description": "Specifies delivery method fields for a subscription contract.\nThis is an input union: one, and only one, field can be provided.\nThe field provided will determine which delivery method is to be used.\n", + "fields": null, + "inputFields": [ + { + "name": "localDelivery", + "description": "The input fields for the local delivery method.", + "type": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodLocalDeliveryInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickup", + "description": "The input fields for the pickup delivery method.", + "type": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodPickupInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shipping", + "description": "The input fields for the shipping delivery method.", + "type": { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodShippingInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodLocalDelivery", + "description": "The local delivery method, including a mailing address and a local delivery option.", + "fields": [ + { + "name": "address", + "description": "The delivery address.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionMailingAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "localDeliveryOption", + "description": "The local delivery method details.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodLocalDeliveryOption", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodLocalDeliveryInput", + "description": "The input fields for a local delivery method.", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": "The address to deliver to.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "instructions", + "description": "The delivery instructions that the customer can provide to the merchant.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number that the customer must provide to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodLocalDeliveryOption", + "description": "The delivery option selected for a subscription contract.", + "fields": [ + { + "name": "description", + "description": "The description of the delivery option shown to the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "instructions", + "description": "The delivery instructions provided by the customer to the merchant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the customer provided to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The displayed title of the delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodPickup", + "description": "A delivery method with a pickup option.", + "fields": [ + { + "name": "pickupOption", + "description": "The details of the pickup delivery method.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodPickupOption", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodPickupInput", + "description": "The input fields for a pickup delivery method.", + "fields": null, + "inputFields": [ + { + "name": "locationId", + "description": "The ID of the pickup location.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodPickupOption", + "description": "Represents the selected pickup option on a subscription contract.", + "fields": [ + { + "name": "description", + "description": "The details displayed to the customer to describe the pickup option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupAddress", + "description": "The pickup address where the customer will pick up the merchandise.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PickupAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The presentment title of the pickup option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the pickup option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodShipping", + "description": "The shipping delivery method, including a mailing address and a shipping option.", + "fields": [ + { + "name": "address", + "description": "The address for shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionMailingAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingOption", + "description": "The details of the shipping method.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodShippingOption", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SubscriptionDeliveryMethodShippingInput", + "description": "The input fields for a shipping delivery method.", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": "The address to ship to.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerMailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryMethodShippingOption", + "description": "The selected shipping option on a subscription contract.", + "fields": [ + { + "name": "description", + "description": "The description of the shipping option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The presentment title of the shipping option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the shipping option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "SubscriptionDeliveryOption", + "description": "The delivery option for a subscription contract.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "SubscriptionLocalDeliveryOption", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionPickupOption", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionShippingOption", + "ofType": null + } + ] + }, + { + "kind": "UNION", + "name": "SubscriptionDeliveryOptionsResult", + "description": "The result of the query that fetches delivery options for the subscription contract.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryOptionsResultFailure", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryOptionsResultSuccess", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryOptionsResultFailure", + "description": "A failed result indicating unavailability of delivery options for the subscription contract.", + "fields": [ + { + "name": "message", + "description": "The reason for the failure.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionDeliveryOptionsResultSuccess", + "description": "A successful result containing the available delivery options for the subscription contract.", + "fields": [ + { + "name": "deliveryOptions", + "description": "The available delivery options.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "SubscriptionDeliveryOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token", + "description": "The token associated with the successful result of delivery options.", + "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": "SubscriptionDeliveryPolicy", + "description": "Represents a Subscription Delivery Policy.", + "fields": [ + { + "name": "anchors", + "description": "The anchor dates for calculating delivery intervals.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAnchor", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interval", + "description": "The type of interval associated with this schedule (e.g. Monthly, Weekly, etc).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SellingPlanInterval", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "intervalCount", + "description": "The number of intervals between deliveries.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionLine", + "description": "A line item in a subscription.", + "fields": [ + { + "name": "currentPrice", + "description": "The current price per unit for the subscription line in the contract's currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "The custom attributes associated with the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "The image associated with the product variant.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineDiscountedPrice", + "description": "The total price of the line item after all discounts have been applied.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the product.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL of the product in the online store.\nA value of `null` indicates that the product isn't published in the Online Store sales channel.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the unit selected for the subscription line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether the product variant requires shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sku", + "description": "The SKU of the product variant associated with the subscription line.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxable", + "description": "Whether the product variant is taxable.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the product associated with the subscription line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantImage", + "description": "The image associated with the product variant.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTitle", + "description": "The title of the product variant associated with the subscription line.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionLineConnection", + "description": "An auto-generated type for paginating through multiple SubscriptionLines.\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": "SubscriptionLineEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SubscriptionLineEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionLine", + "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": "SubscriptionLineEdge", + "description": "An auto-generated type which holds one SubscriptionLine 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 SubscriptionLineEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubscriptionLine", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionLocalDeliveryOption", + "description": "A local delivery option for a subscription contract.", + "fields": [ + { + "name": "code", + "description": "The code of the local delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the local delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneRequired", + "description": "Whether a phone number is required for the local delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The presentment title of the local delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The price of the local delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the local delivery option.", + "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": "SubscriptionMailingAddress", + "description": "The mailing address on a subscription.", + "fields": [ + { + "name": "address1", + "description": "The first line of the address, typically the street address or PO Box number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address, typically the apartment, suite, or unit number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The name of the customer's company or organization.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.\nFor example, US.\n", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The full name of the customer, based on the first name and last name.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "A unique phone number for the customer, formatted using the E.164 standard. For example, _+16135551111_.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The two-letter code for the region.\nFor example, ON.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubscriptionPickupOption", + "description": "A pickup option to deliver a subscription contract.", + "fields": [ + { + "name": "code", + "description": "The code of the pickup option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the pickup option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locationId", + "description": "The ID of the pickup location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneRequired", + "description": "Whether a phone number is required for the pickup option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupAddress", + "description": "The pickup address where the customer will pickup the merchandise.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PickupAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pickupTime", + "description": "The estimated amount of time it takes for the pickup to be ready. For example, \"Usually ready in 24 hours\".\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The presentment title of the pickup option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The price of the pickup option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the pickup option.", + "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": "SubscriptionPriceBreakdown", + "description": "Represents the breakdown of prices to be charges in the billing attempt.", + "fields": [ + { + "name": "subtotalPrice", + "description": "The sum of the prices for all line items after discounts.\nIf taxesIncluded is true, then the subtotal also includes tax.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxesIncluded", + "description": "Whether taxes are included in the subtotal price.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscounts", + "description": "The total amount discounted.\nThis includes both order and line level discounts.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The total price. This includes taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalShippingPrice", + "description": "The total shipping amount before discounts and returns.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTax", + "description": "The total tax amount.", + "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": "SubscriptionShippingOption", + "description": "A shipping option to deliver a subscription contract.", + "fields": [ + { + "name": "code", + "description": "The code of the shipping option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the shipping option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phoneRequired", + "description": "Whether a phone number is required for the shipping option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentTitle", + "description": "The presentment title of the shipping option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The price of the shipping option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the shipping option.", + "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": "TaxExemption", + "description": "The available tax exemptions for a customer.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUSTRALIA_RESELLER_EXEMPTION", + "description": "This customer is exempt from GST taxes for holding a valid exemption. The business customer should provide their GST number and account for the GST.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_BC_COMMERCIAL_FISHERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_BC_CONTRACTOR_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_BC_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_BC_SUB_CONTRACTOR_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_DIPLOMAT_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_MB_COMMERCIAL_FISHERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_MB_FARMER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_MB_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_NS_COMMERCIAL_FISHERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_NS_FARMER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_ON_PURCHASE_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_PE_COMMERCIAL_FISHERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_COMMERCIAL_FISHERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_CONTRACTOR_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_FARMER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_SK_SUB_CONTRACTOR_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA_STATUS_CARD_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EU_REVERSE_CHARGE_EXEMPTION_RULE", + "description": "This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_AK_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_AL_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_AR_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_AZ_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_CA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_CO_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_CT_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_DC_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_DE_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_FL_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_GA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_HI_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_IA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_ID_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_IL_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_IN_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_KS_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_KY_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_LA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MD_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_ME_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MI_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MN_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MO_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MS_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_MT_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NC_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_ND_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NE_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NH_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NJ_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NM_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NV_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_NY_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_OH_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_OK_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_OR_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_PA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_RI_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_SC_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_SD_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_TN_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_TX_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_UT_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_VA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_VT_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_WA_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_WI_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_WV_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US_WY_RESELLER_EXEMPTION", + "description": "This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TaxExemptionDetails", + "description": "The detailed information about tax exemptions that can be applied to customers.", + "fields": [ + { + "name": "applicable", + "description": "Whether the tax exemption can be applied on tax lines.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "exemptionGroup", + "description": "An identifier that groups exemptions.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "exemptionGroupName", + "description": "The translated display name of the tax exemption group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "groupedName", + "description": "The translated display name of the tax exemption when grouped.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The translated display name of the tax exemption.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxRegionCode", + "description": "The code of the tax region this exemption applies to. If null, it applies in all regions.", + "args": [], + "type": {"kind": "ENUM", "name": "TaxRegionCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The unique type of the exemption.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "TaxExemption", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TaxLine", + "description": "The details about a single tax applied to the associated line item.", + "fields": [ + { + "name": "channelLiable", + "description": "Whether the channel that submitted the tax line is responsible for remitting it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceSet", + "description": "The tax amount in shop and presentment currencies, calculated after discounts and before returns.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rate", + "description": "The proportion of the line item price represented by the tax, expressed as a decimal.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ratePercentage", + "description": "The proportion of the line item price represented by the tax, expressed as a percentage.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "source", + "description": "The origin of the tax.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The name of the applied tax.", + "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": "ENUM", + "name": "TaxRegionCode", + "description": "The ISO 3166-1 alpha-2 codes that distinguish a region where common tax rules apply.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AC", + "description": "Ascension Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AD", + "description": "Andorra.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AE", + "description": "United Arab Emirates.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AF", + "description": "Afghanistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AG", + "description": "Antigua & Barbuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AI", + "description": "Anguilla.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AL", + "description": "Albania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AM", + "description": "Armenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AN", + "description": "Netherlands Antilles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AO", + "description": "Angola.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AR", + "description": "Argentina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AT", + "description": "Austria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AU", + "description": "Australia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AW", + "description": "Aruba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AX", + "description": "Åland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZ", + "description": "Azerbaijan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BA", + "description": "Bosnia & Herzegovina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BB", + "description": "Barbados.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BD", + "description": "Bangladesh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BE", + "description": "Belgium.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BF", + "description": "Burkina Faso.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BG", + "description": "Bulgaria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BH", + "description": "Bahrain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BI", + "description": "Burundi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BJ", + "description": "Benin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BL", + "description": "St. Barthélemy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BM", + "description": "Bermuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BN", + "description": "Brunei.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BO", + "description": "Bolivia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BQ", + "description": "Caribbean Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BR", + "description": "Brazil.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BS", + "description": "Bahamas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BT", + "description": "Bhutan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BV", + "description": "Bouvet Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BW", + "description": "Botswana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BY", + "description": "Belarus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BZ", + "description": "Belize.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA", + "description": "Canada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CC", + "description": "Cocos (Keeling) Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CD", + "description": "Congo - Kinshasa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CF", + "description": "Central African Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CG", + "description": "Congo - Brazzaville.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CH", + "description": "Switzerland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CI", + "description": "Côte d’Ivoire.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CK", + "description": "Cook Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CL", + "description": "Chile.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CM", + "description": "Cameroon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CN", + "description": "China.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CO", + "description": "Colombia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CR", + "description": "Costa Rica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CU", + "description": "Cuba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CV", + "description": "Cape Verde.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CW", + "description": "Curaçao.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CX", + "description": "Christmas Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CY", + "description": "Cyprus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CZ", + "description": "Czechia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DE", + "description": "Germany.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DJ", + "description": "Djibouti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DK", + "description": "Denmark.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DM", + "description": "Dominica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DO", + "description": "Dominican Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZ", + "description": "Algeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EC", + "description": "Ecuador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EE", + "description": "Estonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EG", + "description": "Egypt.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EH", + "description": "Western Sahara.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ER", + "description": "Eritrea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ES", + "description": "Spain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ET", + "description": "Ethiopia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EU", + "description": "European Union.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FI", + "description": "Finland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FJ", + "description": "Fiji.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FK", + "description": "Falkland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FO", + "description": "Faroe Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FR", + "description": "France.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GA", + "description": "Gabon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GB", + "description": "United Kingdom.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GD", + "description": "Grenada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GE", + "description": "Georgia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GF", + "description": "French Guiana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GG", + "description": "Guernsey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GH", + "description": "Ghana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GI", + "description": "Gibraltar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GL", + "description": "Greenland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GM", + "description": "Gambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GN", + "description": "Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GP", + "description": "Guadeloupe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GQ", + "description": "Equatorial Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GR", + "description": "Greece.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GS", + "description": "South Georgia & South Sandwich Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GT", + "description": "Guatemala.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GW", + "description": "Guinea-Bissau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GY", + "description": "Guyana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HK", + "description": "Hong Kong SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HM", + "description": "Heard & McDonald Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HN", + "description": "Honduras.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HR", + "description": "Croatia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HT", + "description": "Haiti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HU", + "description": "Hungary.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Indonesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IE", + "description": "Ireland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IL", + "description": "Israel.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IM", + "description": "Isle of Man.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN", + "description": "India.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IO", + "description": "British Indian Ocean Territory.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IQ", + "description": "Iraq.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IR", + "description": "Iran.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IS", + "description": "Iceland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IT", + "description": "Italy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JE", + "description": "Jersey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JM", + "description": "Jamaica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JO", + "description": "Jordan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JP", + "description": "Japan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KE", + "description": "Kenya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KG", + "description": "Kyrgyzstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KH", + "description": "Cambodia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KI", + "description": "Kiribati.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KM", + "description": "Comoros.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KN", + "description": "St. Kitts & Nevis.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KP", + "description": "North Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KR", + "description": "South Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KW", + "description": "Kuwait.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KY", + "description": "Cayman Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KZ", + "description": "Kazakhstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LA", + "description": "Laos.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LB", + "description": "Lebanon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LC", + "description": "St. Lucia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LI", + "description": "Liechtenstein.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LK", + "description": "Sri Lanka.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LR", + "description": "Liberia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LS", + "description": "Lesotho.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LT", + "description": "Lithuania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LU", + "description": "Luxembourg.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LV", + "description": "Latvia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LY", + "description": "Libya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MA", + "description": "Morocco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MC", + "description": "Monaco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MD", + "description": "Moldova.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ME", + "description": "Montenegro.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MF", + "description": "St. Martin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "Madagascar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MK", + "description": "North Macedonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "Mali.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MM", + "description": "Myanmar (Burma).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MN", + "description": "Mongolia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MO", + "description": "Macao SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MQ", + "description": "Martinique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MR", + "description": "Mauritania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MS", + "description": "Montserrat.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MT", + "description": "Malta.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MU", + "description": "Mauritius.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MV", + "description": "Maldives.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MW", + "description": "Malawi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MX", + "description": "Mexico.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MY", + "description": "Malaysia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MZ", + "description": "Mozambique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NA", + "description": "Namibia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NC", + "description": "New Caledonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NE", + "description": "Niger.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NF", + "description": "Norfolk Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NG", + "description": "Nigeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NI", + "description": "Nicaragua.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NL", + "description": "Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO", + "description": "Norway.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NP", + "description": "Nepal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NR", + "description": "Nauru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NU", + "description": "Niue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NZ", + "description": "New Zealand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OM", + "description": "Oman.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PA", + "description": "Panama.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PE", + "description": "Peru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PF", + "description": "French Polynesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PG", + "description": "Papua New Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PH", + "description": "Philippines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PK", + "description": "Pakistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PL", + "description": "Poland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PM", + "description": "St. Pierre & Miquelon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PN", + "description": "Pitcairn Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PS", + "description": "Palestinian Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT", + "description": "Portugal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PY", + "description": "Paraguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QA", + "description": "Qatar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RE", + "description": "Réunion.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RO", + "description": "Romania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RS", + "description": "Serbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RU", + "description": "Russia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RW", + "description": "Rwanda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SA", + "description": "Saudi Arabia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SB", + "description": "Solomon Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SC", + "description": "Seychelles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SD", + "description": "Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SE", + "description": "Sweden.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SG", + "description": "Singapore.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SH", + "description": "St. Helena.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SI", + "description": "Slovenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SJ", + "description": "Svalbard & Jan Mayen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SK", + "description": "Slovakia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SL", + "description": "Sierra Leone.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SM", + "description": "San Marino.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SN", + "description": "Senegal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SO", + "description": "Somalia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SR", + "description": "Suriname.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SS", + "description": "South Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ST", + "description": "São Tomé & Príncipe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SV", + "description": "El Salvador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SX", + "description": "Sint Maarten.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SY", + "description": "Syria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SZ", + "description": "Eswatini.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TA", + "description": "Tristan da Cunha.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TC", + "description": "Turks & Caicos Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TD", + "description": "Chad.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TF", + "description": "French Southern Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TG", + "description": "Togo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TH", + "description": "Thailand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TJ", + "description": "Tajikistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TK", + "description": "Tokelau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TL", + "description": "Timor-Leste.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TM", + "description": "Turkmenistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TN", + "description": "Tunisia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TO", + "description": "Tonga.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TR", + "description": "Turkey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TT", + "description": "Trinidad & Tobago.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TV", + "description": "Tuvalu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TW", + "description": "Taiwan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TZ", + "description": "Tanzania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UA", + "description": "Ukraine.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UG", + "description": "Uganda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UM", + "description": "U.S. Outlying Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US", + "description": "United States.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UY", + "description": "Uruguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZ", + "description": "Uzbekistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VA", + "description": "Vatican City.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VC", + "description": "St. Vincent & Grenadines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VE", + "description": "Venezuela.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VG", + "description": "British Virgin Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VN", + "description": "Vietnam.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VU", + "description": "Vanuatu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WF", + "description": "Wallis & Futuna.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WS", + "description": "Samoa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XK", + "description": "Kosovo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YE", + "description": "Yemen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YT", + "description": "Mayotte.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZA", + "description": "South Africa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZM", + "description": "Zambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZW", + "description": "Zimbabwe.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TimelineEvent", + "description": "The events that chronicle resource activities available to the customer.\n", + "fields": [ + { + "name": "happenedAt", + "description": "The date and time when the event occurred.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID for the timeline event.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "Additional details about the event.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtitle", + "description": "The subtitle of the event.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the event.", + "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": "TipSale", + "description": "A sale that is associated with a tip.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItem", + "description": "The line item associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "LineItem", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The type of line associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TrackingInformation", + "description": "Represents the tracking information for a fulfillment.", + "fields": [ + { + "name": "company", + "description": "The name of the tracking company.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "number", + "description": "The tracking number for the fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URLs to track the fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "TransactionTypeDetails", + "description": "The details related to the transaction type.", + "fields": [ + { + "name": "message", + "description": "The message of the transaction type.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the transaction type.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "URL", + "description": "Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\n\nFor example, `\"https://johns-apparel.myshopify.com\"` is a valid URL. It includes a scheme (`https`) and a host\n(`johns-apparel.myshopify.com`).\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UiExtensionMetafield", + "description": "The custom data attached to a resource. Metafields can be sorted into namespaces and are\ncomprised of keys, values, and value types.\n", + "fields": [ + { + "name": "description", + "description": "The description of a metafield.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": "The key name for a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The namespace for a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ownerId", + "description": "The owner ID for a metafield.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "String", "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`." + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UiExtensionMetafieldFilterInput", + "description": "The input fields for filtering ui extension metafields.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "A metafield key.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "A metafield namespace.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UiExtensionSessionToken", + "description": "A session token for a UI extension.\n", + "fields": [ + { + "name": "expiresIn", + "description": "The second count until the session token expires.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the UI extension session token.\n", + "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": "UnfulfilledDigitalLineItemContainer", + "description": "The information about the container for unfulfilled digital line items (excluding gift cards).\n", + "fields": [ + { + "name": "lineItems", + "description": "The line items within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UnfulfilledLineItemContainerCommonFields", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledGiftCardLineItemContainer", + "description": "The information about the container for unfulfilled gift card type line items.\n", + "fields": [ + { + "name": "lineItems", + "description": "The line items within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UnfulfilledLineItemContainerCommonFields", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledLineItemContainer", + "description": "The information about the container for unfulfilled line items.\n", + "fields": [ + { + "name": "displayableState", + "description": "The translated state of the line item container (for example, `Unfulfilled`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "The line items within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": "The state of the line item container (for example, `unfulfilled`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UnfulfilledLineItemContainerCommonFields", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "UnfulfilledLineItemContainerCommonFields", + "description": "The common fields for containers of unfulfilled line items series.", + "fields": [ + { + "name": "lineItems", + "description": "The line items within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "UnfulfilledDigitalLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledGiftCardLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledLineItemContainer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UnfulfilledPhysicalLineItemContainer", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "UnfulfilledPhysicalLineItemContainer", + "description": "The information about the container for unfulfilled physical type line items.\n", + "fields": [ + { + "name": "lineItems", + "description": "The line items within this container.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LineItemContainerLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UnfulfilledLineItemContainerCommonFields", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UnitPrice", + "description": "The unit price of the line component. For example, \"$9.99 / 100ml\".\n", + "fields": [ + { + "name": "measurement", + "description": "The unit measurement. For example, \"$9.99 / 100ml\".\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UnitPriceMeasurement", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The unit price of the variant. For example, \"$1 per xy\" where price is \"$1\".\n", + "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": "UnitPriceMeasurement", + "description": "The unit price measurement of the line component. For example, \"$9.99 / 100ml\".\n", + "fields": [ + { + "name": "referenceUnit", + "description": "The reference unit for the unit price measurement. For example, \"$9.99 / 100ml\" where the reference unit is \"ml\".\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "UnitPriceMeasurementUnit", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "referenceValue", + "description": "The reference value for the unit price measurement. For example, \"$9.99 / 100ml\" where the reference value is \"100\".\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UnitPriceMeasurementUnit", + "description": "The valid units of measurement for a unit price measurement.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CL", + "description": "100 centiliters equals 1 liter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CM", + "description": "100 centimeters equals 1 meter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "G", + "description": "Metric system unit of weight.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KG", + "description": "1 kilogram equals 1000 grams.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "L", + "description": "Metric system unit of volume.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M", + "description": "Metric system unit of length.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M2", + "description": "Metric system unit of area.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M3", + "description": "1 cubic meter equals 1000 liters.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "1000 milligrams equals 1 gram.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "1000 milliliters equals 1 liter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MM", + "description": "1000 millimeters equals 1 meter.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UnknownSale", + "description": "This represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale.", + "fields": [ + { + "name": "actionType", + "description": "The type of order action represented by the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SaleActionType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineType", + "description": "The line type assocated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "SaleLineType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of units ordered or intended to be returned.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxes", + "description": "The individual taxes associated with the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SaleTax", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total sale amount after taxes and discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountAfterTaxes", + "description": "The total amount of discounts allocated to the sale after taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDiscountAmountBeforeTaxes", + "description": "The total discounts allocated to the sale before taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The total tax amount for the sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + {"kind": "INTERFACE", "name": "Sale", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "UnsignedInt64", + "description": "An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.\n\nExample value: `\"50\"`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsAddressUserErrors", + "description": "The error codes that are provided for failed address mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsAddressUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsAddressUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsAddressUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDRESS1_MISSING", + "description": "The Address1 field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ALREADY_EXISTS", + "description": "The provided address already exists.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ARGUMENT_EMPTY", + "description": "The provided address argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ID_DOES_NOT_EXIST", + "description": "The provided address ID doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_CODE_MISSING", + "description": "The Country Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_NOT_EXIST", + "description": "The provided country doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELETING_DEFAULT_ADDRESS_NOT_ALLOWED", + "description": "The default address can't be deleted before setting another one as default.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DEMOTING_DEFAULT_ADDRESS_NOT_ALLOWED", + "description": "Demoting the default address isn't allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The provided address field isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY", + "description": "The provided value is invalid for the country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", + "description": "The provided value is invalid for the country and province.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_TERRITORY_CODE", + "description": "The provided Territory Code isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_NUMBER_NOT_VALID", + "description": "The provided phone number isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "The field is required.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TERRITORY_CODE_MISSING", + "description": "The Territory Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The provided address field is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_MISSING", + "description": "The Zone Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsBusinessContactUserErrors", + "description": "The error codes for failed business contact mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsBusinessContactUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsBusinessContactUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsBusinessContactUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BUSINESS_CONTACT_NOT_FOUND", + "description": "Business contact was not found.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUSINESS_CONTACT_UPDATE_INPUT_ARGUMENT_EMPTY", + "description": "Business contact update input argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "Business contact field is too long.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrors", + "description": "The error codes for failed payment instrument mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsBusinessLocationPaymentInstrumentUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsBusinessLocationPaymentInstrumentUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDRESS1_MISSING", + "description": "Address1 field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ARGUMENT_EMPTY", + "description": "Address argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BRAND_NOT_SUPPORTED", + "description": "The card's brand is not supported.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CANNOT_REPLACE_PAYMENT_INSTRUMENT_WITH_ITSELF", + "description": "Cannot replace a payment instrument with itself.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CITY_MISSING", + "description": "City field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_LOCATION_ID_DOES_NOT_EXIST", + "description": "Company location ID does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_CODE_MISSING", + "description": "Country Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DECLINED", + "description": "The card was declined.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED", + "description": "The card is expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIRST_NAME_BLANK", + "description": "The card's first name is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GENERIC_ERROR", + "description": "An error occured.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INCORRECT", + "description": "The address is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "Address field is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY", + "description": "Invalid for country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", + "description": "Invalid for country and province.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_PROVINCE_IN_COUNTRY", + "description": "Invalid province in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT", + "description": "The card's start date or issue number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_STATE_IN_COUNTRY", + "description": "Invalid state in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LAST_NAME_BLANK", + "description": "The card's last name is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MONTH_INCLUSION", + "description": "The card's month is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME_INVALID", + "description": "The card's name is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER_INVALID", + "description": "The card's number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER_INVALID_FORMAT", + "description": "The card's number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSTRUMENT_ID_DOES_NOT_EXIST", + "description": "Payment instrument ID does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSTRUMENT_TAKEN", + "description": "This payment instrument is already on file.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_NUMBER_NOT_VALID", + "description": "Phone number is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "The field is required.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TEST_MODE_LIVE_CARD", + "description": "This test card cannot be used for real transactions.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "Address field is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATE_LIMIT_EXCEEDED", + "description": "Too many payment instrument updates.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_BLANK", + "description": "The card's verification value is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_INCORRECT", + "description": "The card's verification value is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE", + "description": "The card's verification value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEAR_EXPIRED", + "description": "The card's expiry year has passed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEAR_INVALID_EXPIRY_YEAR", + "description": "The card's year is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZIP_INCORRECT", + "description": "The address's zip code is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_MISSING", + "description": "Zone Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCompanyAddressUserErrors", + "description": "The error codes for failed business location address mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsCompanyAddressUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsCompanyAddressUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsCompanyAddressUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDRESS1_CANNOT_BE_BLANK", + "description": "Address1 field cannot be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS1_MISSING", + "description": "Address1 field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUSINESS_LOCATION_BILLING_ADDRESS_NOT_FOUND", + "description": "Business location billing address doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUSINESS_LOCATION_NOT_FOUND", + "description": "Business location doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUSINESS_LOCATION_SHIPPING_ADDRESS_NOT_FOUND", + "description": "Business location shipping address doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_ADDRESS_CREATE_INPUT_ARGUMENT_EMPTY", + "description": "Company address create input argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMPANY_ADDRESS_UPDATE_INPUT_ARGUMENT_EMPTY", + "description": "Company address update input argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_CODE_CANNOT_BE_BLANK", + "description": "Country_code field cannot be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_CODE_MISSING", + "description": "Country Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_CREATE", + "description": "Creating the address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_DELETE", + "description": "Deleting the address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_SET_ADDRESS", + "description": "Setting the address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_SET_BILLING_ADDRESS", + "description": "Setting the billing address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_SET_SHIPPING_ADDRESS", + "description": "Setting the shipping address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_UPDATE", + "description": "Updating the address failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_ADDRESS_FIELD", + "description": "Invalid address field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_ADDRESS_TYPE", + "description": "Invalid address type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LOCATION_HAS_ALREADY_BILLING_ADDRESS", + "description": "Location has already a billing address.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LOCATION_HAS_ALREADY_SHIPPING_ADDRESS", + "description": "Location has already a shipping address.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO_ZONE_IN_COUNTRY", + "description": "The country does not have zones.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PERMISSION_DENIED", + "description": "Permission denied.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_CANNOT_BE_BLANK", + "description": "Phone field cannot be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_NUMBER_NOT_VALID", + "description": "Phone number is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRESENT", + "description": "Recipient and first/last name present at the same time.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "The field is required.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The field value is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNEXPECTED_TYPE", + "description": "Unexpected type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_CANNOT_BE_BLANK", + "description": "Zone_code field cannot be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_MISSING", + "description": "Zone Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerAddressUserErrors", + "description": "The error codes that are provided for failed address mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsCustomerAddressUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsCustomerAddressUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsCustomerAddressUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDRESS1_MISSING", + "description": "The Address1 field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ARGUMENT_EMPTY", + "description": "The provided address argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ID_DOES_NOT_EXIST", + "description": "The provided address ID doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_NOT_EXIST", + "description": "The provided country doesn't exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CUSTOMER_ADDRESS_ALREADY_EXISTS", + "description": "The provided customer address already exists.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELETING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED", + "description": "The default address of the customer can't be deleted before setting another one as default.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DEMOTING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED", + "description": "Demoting the default address of the customer isn't allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The provided address field isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY", + "description": "The provided value is invalid for the country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", + "description": "The provided value is invalid for the country and province.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_TERRITORY_CODE", + "description": "The provided Territory Code isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_NUMBER_NOT_VALID", + "description": "The provided phone number isn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "The field is required.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TERRITORY_CODE_MISSING", + "description": "The Territory Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The provided address field is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_MISSING", + "description": "The Zone Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingOptInUserErrors", + "description": "Provides error codes for failed marketing opt-in mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsCustomerEmailMarketingOptInUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsCustomerEmailMarketingOptInUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingOptInUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_ALREADY_SUBSCRIBED", + "description": "The customer is already subscribed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMAIL_ADDRESS_NOT_FOUND", + "description": "The customer does not have an email address.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED", + "description": "There was an error.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerEmailMarketingUserErrors", + "description": "Provides error codes for marketing subscribe mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsCustomerEmailMarketingUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsCustomerEmailMarketingUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_ALREADY_SUBSCRIBED", + "description": "The customer is already subscribed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMAIL_ADDRESS_NOT_FOUND", + "description": "The customer does not have an email address.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_SUBSCRIBE", + "description": "Subscription failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILED_TO_UNSUBSCRIBE", + "description": "Unsubscription failed.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsCustomerUserErrors", + "description": "Provides error codes for failed personal information mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsCustomerUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsCustomerUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsCustomerUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_DOES_NOT_EXIST", + "description": "The customer does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CUSTOMER_INPUT_ARGUMENT_EMPTY", + "description": "The personal information input argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The personal information field is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The personal information field is too long.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPaymentInstrumentUserErrors", + "description": "The error codes for failed payment instrument mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsPaymentInstrumentUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsPaymentInstrumentUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsPaymentInstrumentUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ADDRESS1_MISSING", + "description": "Address1 field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ADDRESS_ARGUMENT_EMPTY", + "description": "Address argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BRAND_NOT_SUPPORTED", + "description": "The card's brand is not supported.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CANNOT_REDIRECT_TO_SHOP_PAY", + "description": "Cannot find Shop Pay order for redirection.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CANNOT_REPLACE_PAYMENT_INSTRUMENT_WITH_ITSELF", + "description": "Cannot replace a payment instrument with itself.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CITY_MISSING", + "description": "City field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COUNTRY_CODE_MISSING", + "description": "Country Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DECLINED", + "description": "The card was declined.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED", + "description": "The card is expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIRST_NAME_BLANK", + "description": "The card's first name is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GENERIC_ERROR", + "description": "An error occured.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INCORRECT", + "description": "The address is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "Address field is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY", + "description": "Invalid for country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", + "description": "Invalid for country and province.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_PROVINCE_IN_COUNTRY", + "description": "Invalid province in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT", + "description": "The card's start date or issue number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_STATE_IN_COUNTRY", + "description": "Invalid state in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LAST_NAME_BLANK", + "description": "The card's last name is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MONTH_INCLUSION", + "description": "The card's month is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME_INVALID", + "description": "The card's name is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER_INVALID", + "description": "The card's number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NUMBER_INVALID_FORMAT", + "description": "The card's number is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSTRUMENT_ID_DOES_NOT_EXIST", + "description": "Payment instrument ID does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSTRUMENT_TAKEN", + "description": "This payment instrument is already on file.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHONE_NUMBER_NOT_VALID", + "description": "Phone number is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REQUIRED", + "description": "The field is required.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TEST_MODE_LIVE_CARD", + "description": "This test card cannot be used for real transactions.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "Address field is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNSUPPORTED_PAYMENT_INSTRUMENT_TYPE", + "description": "Payment instrument type is not supported for this operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATE_LIMIT_EXCEEDED", + "description": "Too many payment instrument updates.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_BLANK", + "description": "The card's verification value is missing.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_INCORRECT", + "description": "The card's verification value is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE", + "description": "The card's verification value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEAR_EXPIRED", + "description": "The card's expiry year has passed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YEAR_INVALID_EXPIRY_YEAR", + "description": "The card's year is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZIP_INCORRECT", + "description": "The address's zip code is incorrect.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZONE_CODE_MISSING", + "description": "Zone Code field is missing.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPaypalTokenUserErrors", + "description": "The error codes for failed PayPal token mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsPaypalTokenUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsPaypalTokenUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsPaypalTokenUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PAYPAL_EXPRESS_GATEWAY_NOT_ENABLED", + "description": "PayPal Express gateway is not enabled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFERENCE_TRANSACTIONS_NOT_ENABLED", + "description": "PayPal account does not support reference transactions.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOKEN_COULD_NOT_BE_CREATED", + "description": "PayPal Express token could not be created.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsPersonalInformationUserErrors", + "description": "Provides error codes for failed personal information mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsPersonalInformationUserErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsPersonalInformationUserErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsPersonalInformationUserErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CUSTOMER_DOES_NOT_EXIST", + "description": "The customer does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The personal information field is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PERSONAL_INFORMATION_INPUT_ARGUMENT_EMPTY", + "description": "The personal information input argument is empty.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The personal information field is too long.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserErrorsResendGiftCardErrors", + "description": "The error codes for failed resending gift card mutations.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UserErrorsResendGiftCardErrorsCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserErrorsResendGiftCardErrorsCode", + "description": "Possible error codes that can be returned by `UserErrorsResendGiftCardErrors`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "GIFT_CARD_NOT_FOUND_FOR_ORDER", + "description": "No gift card is associated with the order.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ORDER_NOT_FOUND", + "description": "This order does not exist.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "WalletPaymentConfig", + "description": "The configuration used for Payment Wallets.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "ApplePayWalletConfig", "ofType": null}, + {"kind": "OBJECT", "name": "GooglePayWalletConfig", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Weight", + "description": "A weight, which includes a numeric value and a unit of measurement.", + "fields": [ + { + "name": "unit", + "description": "The unit of measurement for `value`.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "WeightUnit", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The weight value using the unit system specified with `unit`.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "WeightUnit", + "description": "Units of measurement for weight.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "GRAMS", + "description": "Metric system unit of mass.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KILOGRAMS", + "description": "1 kilogram equals 1000 grams.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OUNCES", + "description": "Imperial system unit of mass.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POUNDS", + "description": "1 pound equals 16 ounces.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Directive", + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isRepeatable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__DirectiveLocation", + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "QUERY", + "description": "Location adjacent to a query operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUTATION", + "description": "Location adjacent to a mutation operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION", + "description": "Location adjacent to a subscription operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD", + "description": "Location adjacent to a field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_DEFINITION", + "description": "Location adjacent to a fragment definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_SPREAD", + "description": "Location adjacent to a fragment spread.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INLINE_FRAGMENT", + "description": "Location adjacent to an inline fragment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIABLE_DEFINITION", + "description": "Location adjacent to a variable definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCHEMA", + "description": "Location adjacent to a schema definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCALAR", + "description": "Location adjacent to a scalar definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Location adjacent to an object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD_DEFINITION", + "description": "Location adjacent to a field definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARGUMENT_DEFINITION", + "description": "Location adjacent to an argument definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Location adjacent to an interface definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Location adjacent to a union definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Location adjacent to an enum definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM_VALUE", + "description": "Location adjacent to an enum value definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Location adjacent to an input object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_FIELD_DEFINITION", + "description": "Location adjacent to an input object field definition.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Field", + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__InputValue", + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultValue", + "description": "A GraphQL-formatted string representing the default value for this input value.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "A list of all types supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queryType", + "description": "The type that query operations will be rooted at.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mutationType", + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionType", + "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directives", + "description": "A list of all directives supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Type", + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "fields": [ + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "__TypeKind", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specifiedByURL", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Field", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interfaces", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "possibleTypes", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ofType", + "description": null, + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__TypeKind", + "description": "An enum describing what kind of type a given `__Type` is.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SCALAR", + "description": "Indicates this type is a scalar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "Indicates this type is a list. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NON_NULL", + "description": "Indicates this type is a non-null. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + } + ], + "directives": [ + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "isRepeatable": false, + "locations": [ + "ARGUMENT_DEFINITION", + "ENUM_VALUE", + "FIELD_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": "\"No longer supported\"", + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "include", + "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", + "isRepeatable": false, + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "args": [ + { + "name": "if", + "description": "Included when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "oneOf", + "description": "Requires that exactly one field must be supplied and that field must not be `null`.", + "isRepeatable": false, + "locations": ["INPUT_OBJECT"], + "args": [] + }, + { + "name": "skip", + "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", + "isRepeatable": false, + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "args": [ + { + "name": "if", + "description": "Skipped when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "specifiedBy", + "description": "Exposes a URL that specifies the behavior of this scalar.", + "isRepeatable": false, + "locations": ["SCALAR"], + "args": [ + { + "name": "url", + "description": "The URL that specifies the behavior of this scalar.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + } + ] + } +} diff --git a/packages/hydrogen-react/package.json b/packages/hydrogen-react/package.json index 4ffff8bd7c..26cabeb29d 100644 --- a/packages/hydrogen-react/package.json +++ b/packages/hydrogen-react/package.json @@ -13,7 +13,8 @@ }, "files": [ "dist", - "storefront.schema.json" + "storefront.schema.json", + "customer.schema.json" ], "type": "commonjs", "exports": { @@ -50,6 +51,7 @@ }, "./storefront-api-types": "./dist/types/storefront-api-types.d.ts", "./storefront.schema.json": "./storefront.schema.json", + "./customer.schema.json": "./customer.schema.json", "./package.json": "./package.json", "./*": { "node": { diff --git a/packages/hydrogen-react/src/codegen.helpers.ts b/packages/hydrogen-react/src/codegen.helpers.ts index 5b81816741..49cacf8f15 100644 --- a/packages/hydrogen-react/src/codegen.helpers.ts +++ b/packages/hydrogen-react/src/codegen.helpers.ts @@ -12,3 +12,17 @@ export const storefrontApiCustomScalars = { Color: 'string', UnsignedInt64: 'string', }; + +/** + * Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly. + * Reference for the GraphQL types: https://shopify.dev/docs/api/customer/current/scalars/HTML + * Note: JSON is generated as 'unknown' by default. + */ +export const customerApiCustomScalars = { + DateTime: 'string', + Decimal: 'string', + HTML: 'string', + ISO8601DateTime: 'string', + URL: 'string', + UnsignedInt64: 'string', +}; diff --git a/packages/hydrogen-react/src/customer-account-api-types.d.ts b/packages/hydrogen-react/src/customer-account-api-types.d.ts new file mode 100644 index 0000000000..a2f6c8f8f5 --- /dev/null +++ b/packages/hydrogen-react/src/customer-account-api-types.d.ts @@ -0,0 +1,9675 @@ +/** + * THIS FILE IS AUTO-GENERATED, DO NOT EDIT + * Based on Customer Account API 2024-01 + * If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `npm run graphql-types`. + * Except custom Scalars, which are defined in the `codegen.ts` file + */ +/* eslint-disable */ +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = {[K in keyof T]: T[K]}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +export type MakeEmpty = { + [_ in K]?: never; +}; +export type Incremental = + | T + | {[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never}; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: {input: string; output: string}; + String: {input: string; output: string}; + Boolean: {input: boolean; output: boolean}; + Int: {input: number; output: number}; + Float: {input: number; output: number}; + DateTime: {input: string; output: string}; + Decimal: {input: string; output: string}; + HTML: {input: string; output: string}; + ISO8601DateTime: {input: string; output: string}; + URL: {input: string; output: string}; + UnsignedInt64: {input: string; output: string}; +}; + +/** A sale that includes an additional fee charge. */ +export type AdditionalFeeSale = Node & + Sale & { + __typename?: 'AdditionalFeeSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** Return type for `addressCreate` mutation. */ +export type AddressCreatePayload = { + __typename?: 'AddressCreatePayload'; + /** The created address. */ + address?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `addressDelete` mutation. */ +export type AddressDeletePayload = { + __typename?: 'AddressDeletePayload'; + /** The ID of the deleted address. */ + deletedAddressId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The address form field. */ +export type AddressFormField = { + __typename?: 'AddressFormField'; + /** The mode of the address field. */ + mode: AddressFormFieldMode; +}; + +/** Defines the mode for an address form field. */ +export type AddressFormFieldMode = + /** + * Indicates that the form field should be hidden from the UI. + * Any values provided by the client will be ignored by the backend. + * + */ + | 'IGNORED' + /** + * Indicates that the form field is visible in the UI and can be left empty. + * + */ + | 'OPTIONAL' + /** + * Indicates that the form field is visible in the UI and requires a non-empty value. + * + */ + | 'REQUIRED'; + +/** The settings for the address form. */ +export type AddressFormSettings = { + __typename?: 'AddressFormSettings'; + /** The setting for the Address2 form field. */ + address2: AddressFormField; + /** Whether the address autocompletion is enabled. */ + addressAutocompletion: Scalars['Boolean']['output']; + /** The setting for the Company form field. */ + company: AddressFormField; + /** The setting for the First name form field. */ + firstName: AddressFormField; + /** The setting for the Phone form field. */ + phone: AddressFormField; +}; + +/** Return type for `addressUpdate` mutation. */ +export type AddressUpdatePayload = { + __typename?: 'AddressUpdatePayload'; + /** The updated address. */ + address?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** A sale event that results in an adjustment to the order price. */ +export type AdjustmentSale = Node & + Sale & { + __typename?: 'AdjustmentSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** The input fields for the billing address received from Apple Pay. */ +export type ApplePayBillingAddressInput = { + /** The first line of the address, typically the street address or PO Box number. */ + address1?: InputMaybe; + /** The second line of the address, typically the apartment, suite, or unit number. */ + address2?: InputMaybe; + /** The region of the address, such as the province, state, or district. */ + administrativeArea?: InputMaybe; + /** The name of the country. */ + country?: InputMaybe; + /** The two-letter code for the country of the address. */ + countryCode?: InputMaybe; + /** The family name of the customer. */ + familyName?: InputMaybe; + /** The given name of the customer. */ + givenName?: InputMaybe; + /** The name of the city, district, village, or town. */ + locality?: InputMaybe; + /** The telephone number of the customer. */ + phoneNumber?: InputMaybe; + /** The zip or postal code of the address. */ + postalCode?: InputMaybe; +}; + +/** Return type for `applePayCreditCardAdd` mutation. */ +export type ApplePayCreditCardAddPayload = { + __typename?: 'ApplePayCreditCardAddPayload'; + /** The newly added credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `applePayCreditCardUpdate` mutation. */ +export type ApplePayCreditCardUpdatePayload = { + __typename?: 'ApplePayCreditCardUpdatePayload'; + /** The updated credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `applePaySessionCreate` mutation. */ +export type ApplePaySessionCreatePayload = { + __typename?: 'ApplePaySessionCreatePayload'; + /** The object that contains the session data. */ + body?: Maybe; + /** The ID for the created session. */ + id?: Maybe; + /** + * Whether the session is ready. The `body` field is `null` while this value is `false`. + * + */ + ready?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The error codes for failures to create Apple Pay sessions. */ +export type ApplePaySessionUserError = DisplayableError & { + __typename?: 'ApplePaySessionUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `ApplePaySessionUserError`. */ +export type ApplePaySessionUserErrorCode = + /** Apple Pay session could not be created. */ + | 'SESSION_COULD_NOT_BE_CREATED' + /** Validation URL is not an Apple Pay gateway endpoint. */ + | 'VALIDATION_URL_IS_INVALID'; + +/** The configuration settings for the Apple Pay wallet. */ +export type ApplePayWalletConfig = { + __typename?: 'ApplePayWalletConfig'; + /** Supported card networks for Apple Pay. */ + supportedNetworks: Array; +}; + +/** The details about the gift card used on the checkout. */ +export type AppliedGiftCard = Node & { + __typename?: 'AppliedGiftCard'; + /** The amount deducted from the gift card. */ + amountUsed: MoneyV2; + /** The remaining amount on the gift card. */ + balance: MoneyV2; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last characters of the gift card. */ + lastCharacters: Scalars['String']['output']; + /** The amount applied to the checkout in its currency. */ + presentmentAmountUsed: MoneyV2; +}; + +/** Represents a generic custom attribute. */ +export type Attribute = { + __typename?: 'Attribute'; + /** Key or name of the attribute. */ + key: Scalars['String']['output']; + /** Value of the attribute. */ + value?: Maybe; +}; + +/** + * Captures the intentions of a discount that was automatically applied. + * + */ +export type AutomaticDiscountApplication = DiscountApplication & { + __typename?: 'AutomaticDiscountApplication'; + /** The method by which the discount's value is allocated to its entitled items. */ + allocationMethod: DiscountApplicationAllocationMethod; + /** The lines of targetType that the discount is allocated over. */ + targetSelection: DiscountApplicationTargetSelection; + /** The type of line that the discount is applicable towards. */ + targetType: DiscountApplicationTargetType; + /** The title of the application. */ + title: Scalars['String']['output']; + /** The value of the discount application. */ + value: PricingValue; +}; + +/** A collection of available shipping rates for a checkout. */ +export type AvailableShippingRates = { + __typename?: 'AvailableShippingRates'; + /** + * Whether the shipping rates are ready. + * The `shippingRates` field is `null` when this value is `false`. + * This field should be polled until its value becomes `true`. + * + */ + ready: Scalars['Boolean']['output']; + /** The fetched shipping rates. `null` until the `ready` field is `true`. */ + shippingRates?: Maybe>; +}; + +/** Represents the business account information. */ +export type BusinessAccount = { + __typename?: 'BusinessAccount'; + /** The list of companies the customer operates in. */ + companies: CompanyConnection; + /** The information of the customer's company. */ + company?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The profile of the customer. */ + profile?: Maybe; + /** The profile of the customer. */ + profileV1?: Maybe; +}; + +/** Represents the business account information. */ +export type BusinessAccountCompaniesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents the business account information. */ +export type BusinessAccountCompanyArgs = { + id?: InputMaybe; +}; + +/** + * The input fields required for updating a business contact. + * + */ +export type BusinessContactUpdateInput = { + /** The first name of the business contact. */ + firstName?: InputMaybe; + /** The last name of the business contact. */ + lastName?: InputMaybe; + /** The locale of the business contact. */ + locale?: InputMaybe; + /** The title of the business contact. */ + title?: InputMaybe; +}; + +/** Return type for `businessContactUpdate` mutation. */ +export type BusinessContactUpdatePayload = { + __typename?: 'BusinessContactUpdatePayload'; + /** The updated business contact information. */ + businessContact?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessContactUpdateV1` mutation. */ +export type BusinessContactUpdateV1Payload = { + __typename?: 'BusinessContactUpdateV1Payload'; + /** The updated business contact information. */ + businessContact?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Possible error codes that can be returned by `BusinessCustomerUserError`. */ +export type BusinessCustomerErrorCode = + /** The input value is blank. */ + | 'BLANK' + /** Business location doesn't exist. */ + | 'BUSINESS_LOCATION_NOT_FOUND' + /** Deleting the resource failed. */ + | 'FAILED_TO_DELETE' + /** An internal error occurred. */ + | 'INTERNAL_ERROR' + /** The input value is invalid. */ + | 'INVALID' + /** The input is invalid. */ + | 'INVALID_INPUT' + /** The number of resources exceeded the limit. */ + | 'LIMIT_REACHED' + /** The input is empty. */ + | 'NO_INPUT' + /** Permission denied. */ + | 'PERMISSION_DENIED' + /** Missing a required field. */ + | 'REQUIRED' + /** The resource wasn't found. */ + | 'RESOURCE_NOT_FOUND' + /** The input value is already taken. */ + | 'TAKEN' + /** The field value is too long. */ + | 'TOO_LONG' + /** Unexpected type. */ + | 'UNEXPECTED_TYPE'; + +/** An error that happens during the execution of a business customer mutation. */ +export type BusinessCustomerUserError = DisplayableError & { + __typename?: 'BusinessCustomerUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Return type for `businessLocationBillingAddressCreate` mutation. */ +export type BusinessLocationBillingAddressCreatePayload = { + __typename?: 'BusinessLocationBillingAddressCreatePayload'; + /** The created address. */ + businessLocationBillingAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationBillingAddressUpdate` mutation. */ +export type BusinessLocationBillingAddressUpdatePayload = { + __typename?: 'BusinessLocationBillingAddressUpdatePayload'; + /** The updated address. */ + businessLocationBillingAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationCreditCardAdd` mutation. */ +export type BusinessLocationCreditCardAddPayload = { + __typename?: 'BusinessLocationCreditCardAddPayload'; + /** The newly added credit card. */ + creditCard?: Maybe; + /** + * The URL to redirect the customer to for completing the 3D Secure payment flow. + * + */ + nextActionUrl?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationCreditCardUpdate` mutation. */ +export type BusinessLocationCreditCardUpdatePayload = { + __typename?: 'BusinessLocationCreditCardUpdatePayload'; + /** The updated credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationPaymentInstrumentRemove` mutation. */ +export type BusinessLocationPaymentInstrumentRemovePayload = { + __typename?: 'BusinessLocationPaymentInstrumentRemovePayload'; + /** The ID of the removed payment instrument. */ + deletedPaymentInstrumentId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationShippingAddressCreate` mutation. */ +export type BusinessLocationShippingAddressCreatePayload = { + __typename?: 'BusinessLocationShippingAddressCreatePayload'; + /** The created address. */ + businessLocationShippingAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `businessLocationShippingAddressUpdate` mutation. */ +export type BusinessLocationShippingAddressUpdatePayload = { + __typename?: 'BusinessLocationShippingAddressUpdatePayload'; + /** The updated address. */ + businessLocationShippingAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The configuration for the buyer's checkout. */ +export type BuyerExperienceConfiguration = { + __typename?: 'BuyerExperienceConfiguration'; + /** + * Whether the buyer must pay at checkout or + * can choose to pay at checkout or pay later using net terms. + * + */ + payNowOnly: Scalars['Boolean']['output']; + /** The merchant configured payment terms. */ + paymentTermsTemplate?: Maybe; +}; + +/** The card payment details related to a transaction. */ +export type CardPaymentDetails = { + __typename?: 'CardPaymentDetails'; + /** The brand of the credit card used. */ + cardBrand: Scalars['String']['output']; + /** The last four digits of the credit card used. */ + last4?: Maybe; +}; + +/** A container for information required to checkout items and pay. */ +export type Checkout = Node & { + __typename?: 'Checkout'; + /** The gift cards used on the checkout. */ + appliedGiftCards: Array; + /** + * The available shipping rates for this Checkout. + * Should only be used when checkout `requiresShipping` is `true` and + * the shipping address is valid. + * + */ + availableShippingRates?: Maybe; + /** The date and time when the checkout was created. */ + createdAt: Scalars['DateTime']['output']; + /** The currency code for the checkout. */ + currencyCode: CurrencyCode; + /** The extra information added to the checkout. */ + customAttributes: Array; + /** The discounts applied on the checkout. */ + discountApplications: DiscountApplicationConnection; + /** The email associated with this checkout. */ + email?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** A list of line item objects, each containing information about an item in the checkout. */ + lineItems: CheckoutLineItemConnection; + /** + * The sum of all the prices of all the items in the checkout, + * excluding duties, taxes, shipping, and discounts. + * + */ + lineItemsSubtotalPrice: MoneyV2; + /** The note associated with the checkout. */ + note?: Maybe; + /** 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. */ + paymentDue: MoneyV2; + /** + * Whether the Checkout is ready and can be completed. Checkouts may + * have asynchronous operations that can take time to finish. If you want + * to complete a checkout or ensure all the fields are populated and up to + * date, polling is required until the value is true. + * + */ + ready: Scalars['Boolean']['output']; + /** Whether the fulfillment requires shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The address where the line items will be shipped. */ + shippingAddress?: Maybe; + /** + * The discounts allocated to the shipping line by discount applications. + * + */ + shippingDiscountAllocations: Array; + /** The selected shipping rate, transitioned to a `shipping_line` object. */ + shippingLine?: Maybe; + /** The configuration values used to initialize a Shop Pay checkout. */ + shopPayConfiguration?: Maybe; + /** The price at checkout before duties, shipping, and taxes. */ + subtotalPrice: MoneyV2; + /** Whether the checkout is tax exempt. */ + taxExempt: Scalars['Boolean']['output']; + /** Whether taxes are included in the line item and shipping line prices. */ + taxesIncluded: Scalars['Boolean']['output']; + /** The sum of all the duties applied to the line items in the checkout. */ + totalDuties?: Maybe; + /** + * The sum of all the prices of all the items in the checkout, + * duties, taxes, and discounts included. + * + */ + totalPrice: MoneyV2; + /** The sum of all the taxes applied to the line items and shipping lines in the checkout. */ + totalTax: MoneyV2; + /** The URL for the checkout, accessible from the web. */ + webUrl: Scalars['URL']['output']; +}; + +/** A container for information required to checkout items and pay. */ +export type CheckoutDiscountApplicationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A container for information required to checkout items and pay. */ +export type CheckoutLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A line item in the checkout, grouped by variant and attributes. */ +export type CheckoutLineItem = Node & { + __typename?: 'CheckoutLineItem'; + /** An array of Key-Value pairs providing extra information about the line item. */ + customAttributes: Array; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The price of the line item. */ + price?: Maybe; + /** The quantity of the line item. */ + quantity: Scalars['Int']['output']; + /** The title of the line item. Defaults to the product's title. */ + title: Scalars['String']['output']; + /** The unit price of the line item. */ + unitPrice?: Maybe; + /** The name of the variant. */ + variantTitle?: Maybe; +}; + +/** + * An auto-generated type for paginating through multiple CheckoutLineItems. + * + */ +export type CheckoutLineItemConnection = { + __typename?: 'CheckoutLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CheckoutLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CheckoutLineItem and a cursor during pagination. + * + */ +export type CheckoutLineItemEdge = { + __typename?: 'CheckoutLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CheckoutLineItemEdge. */ + node: CheckoutLineItem; +}; + +/** Represents a company's information. */ +export type Company = Node & { + __typename?: 'Company'; + /** The list of company draft orders. */ + draftOrders: DraftOrderConnection; + /** A unique externally-supplied ID for the company. */ + externalId?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The list of locations that the business of the business contact belongs to. */ + locations: CompanyLocationConnection; + /** The name of the company. */ + name: Scalars['String']['output']; + /** The list of customer orders under the company. */ + orders: OrderConnection; + /** The profile of the customer. */ + profile?: Maybe; + /** The profile of the customer. */ + profileV1?: Maybe; +}; + +/** Represents a company's information. */ +export type CompanyDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's information. */ +export type CompanyLocationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's information. */ +export type CompanyOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** The address of a company location, either billing or shipping. */ +export type CompanyAddress = Node & { + __typename?: 'CompanyAddress'; + /** The first line of the address. It is typically the street address or PO Box number. */ + address1: Scalars['String']['output']; + /** The second line of the address. It is typically the apartment, suite, or unit number. */ + address2?: Maybe; + /** The city, district, village, or town. */ + city?: Maybe; + /** The name of the company. */ + company: Scalars['String']['output']; + /** The name of the company. */ + companyName: Scalars['String']['output']; + /** The name of the country of the address. */ + country?: Maybe; + /** The two-letter code for the country of the address, for example, US. */ + countryCode: CountryCode; + /** The two-letter code for the country of the address, for example, US. */ + countryCodeV2: CountryCode; + /** + * The date and time (in [ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) + * when the company address was created. + * + */ + createdAt: Scalars['DateTime']['output']; + /** The first name of the recipient. */ + firstName?: Maybe; + /** The formatted version of the address. */ + formatted: Array; + /** The formatted version of the address. */ + formattedAddress: Array; + /** A comma-separated list of the city, province, and country values. */ + formattedArea?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last name of the recipient. */ + lastName?: Maybe; + /** The latitude coordinate of the address. */ + latitude?: Maybe; + /** The longitude coordinate of the address. */ + longitude?: Maybe; + /** + * The unique phone number of the customer, formatted using the E.164 standard, for example, _+16135551111_. + * + */ + phone?: Maybe; + /** The region of the address, such as the province, state, or district. */ + province?: Maybe; + /** The two-letter code for the region, for example, ON. */ + provinceCode?: Maybe; + /** The identity of the recipient, for example, 'Receiving Department'. */ + recipient?: Maybe; + /** + * The date and time (in [ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) + * when the company address was last updated. + * + */ + updatedAt: Scalars['DateTime']['output']; + /** The zip or postal code of the address. */ + zip?: Maybe; + /** The two-letter code for the region, for example, ON. */ + zoneCode?: Maybe; +}; + +/** The address of a company location, either billing or shipping. */ +export type CompanyAddressFormattedArgs = { + withCompanyName?: InputMaybe; + withName?: InputMaybe; +}; + +/** The address of a company location, either billing or shipping. */ +export type CompanyAddressFormattedAddressArgs = { + withCompanyName?: InputMaybe; + withName?: InputMaybe; +}; + +/** The input fields for creating or updating a company location address. */ +export type CompanyAddressInput = { + /** The first line of the address, typically the street address or PO Box number. */ + address1?: InputMaybe; + /** The second line of the address, typically the number of the apartment, suite, or unit. */ + address2?: InputMaybe; + /** The name of the city, district, village, or town. */ + city?: InputMaybe; + /** The two-letter code for the country of the address. */ + countryCode?: InputMaybe; + /** The first name in the address. */ + firstName?: InputMaybe; + /** The last name in the address. */ + lastName?: InputMaybe; + /** A unique phone number for the business location, formatted using the E.164 standard, for example, _+16135551111_. */ + phone?: InputMaybe; + /** The identity of the recipient, for example, 'Receiving Department'. */ + recipient?: InputMaybe; + /** The zip or postal code of the address. */ + zip?: InputMaybe; + /** The code for the region of the address, such as the province, state, or district, for example, QC for Quebec, Canada. */ + zoneCode?: InputMaybe; +}; + +/** The valid values for the address type of a company. */ +export type CompanyAddressType = + /** The address is a billing address. */ + | 'BILLING' + /** The address is a shipping address. */ + | 'SHIPPING'; + +/** + * An auto-generated type for paginating through multiple Companies. + * + */ +export type CompanyConnection = { + __typename?: 'CompanyConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CompanyEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** Represents the customer's contact information. */ +export type CompanyContact = Node & { + __typename?: 'CompanyContact'; + /** The information of the copmany contact's company. */ + company?: Maybe; + /** The customer associated to this contact. */ + customer: Customer; + /** The list of company contact's draft orders. */ + draftOrders: DraftOrderConnection; + /** Whether the company contact has permissions on locations in the scope. */ + hasPermissionOnLocations: Scalars['Boolean']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The list of locations that the company contact belongs to. */ + locations: CompanyLocationConnection; + /** The list of locations that the company contact belongs to. */ + locationsV1: LocationConnection; + /** The list of company contact's orders. */ + orders: OrderConnection; + /** The current status of the company contact. */ + status: CompanyContactStatusType; + /** The list of tax exemptions applied to the company contact with additional details. */ + taxExemptionsDetails: Array; + /** The job title of the company contact. */ + title?: Maybe; +}; + +/** Represents the customer's contact information. */ +export type CompanyContactDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the customer's contact information. */ +export type CompanyContactHasPermissionOnLocationsArgs = { + permissions: Array; + resource: ResourceType; + scope: ContactPermissionLocationScopeType; +}; + +/** Represents the customer's contact information. */ +export type CompanyContactLocationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the customer's contact information. */ +export type CompanyContactLocationsV1Args = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the customer's contact information. */ +export type CompanyContactOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple CompanyContacts. + * + */ +export type CompanyContactConnection = { + __typename?: 'CompanyContactConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CompanyContactEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CompanyContact and a cursor during pagination. + * + */ +export type CompanyContactEdge = { + __typename?: 'CompanyContactEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CompanyContactEdge. */ + node: CompanyContact; +}; + +/** A role for a company contact. */ +export type CompanyContactRole = Node & { + __typename?: 'CompanyContactRole'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The name of the role. */ + name: Scalars['String']['output']; + /** The permissions on a specified resource. */ + resourcePermission: Array; + /** A list of permissions on all resources. */ + resourcePermissions: Array; +}; + +/** A role for a company contact. */ +export type CompanyContactRoleResourcePermissionArgs = { + resource: ResourceType; +}; + +/** Represents information about a company contact role assignment. */ +export type CompanyContactRoleAssignment = Node & { + __typename?: 'CompanyContactRoleAssignment'; + /** The company contact for whom this role is assigned. */ + contact: CompanyContact; + /** The company contact for whom this role is assigned. */ + contactV1: Contact; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The role that's assigned. */ + role: CompanyContactRole; +}; + +/** + * An auto-generated type for paginating through multiple CompanyContactRoleAssignments. + * + */ +export type CompanyContactRoleAssignmentConnection = { + __typename?: 'CompanyContactRoleAssignmentConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CompanyContactRoleAssignmentEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CompanyContactRoleAssignment and a cursor during pagination. + * + */ +export type CompanyContactRoleAssignmentEdge = { + __typename?: 'CompanyContactRoleAssignmentEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CompanyContactRoleAssignmentEdge. */ + node: CompanyContactRoleAssignment; +}; + +/** The set of valid sort keys for the CompanyContactRoleAssignment query. */ +export type CompanyContactRoleAssignmentSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `location_name` value. */ + | 'LOCATION_NAME' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The set of valid sort keys for the CompanyContact query. */ +export type CompanyContactSortKeys = + /** Sort by the `company_id` value. */ + | 'COMPANY_ID' + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `email` value. */ + | 'EMAIL' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `name` value. */ + | 'NAME' + /** Sort by the `name_email` value. */ + | 'NAME_EMAIL' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `title` value. */ + | 'TITLE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** A flag to describe the current status of a company contact. */ +export type CompanyContactStatusType = + /** The contact is disabled and removed from the company. */ + | 'DISABLED' + /** The contact is enabled and active. */ + | 'ENABLED'; + +/** + * An auto-generated type which holds one Company and a cursor during pagination. + * + */ +export type CompanyEdge = { + __typename?: 'CompanyEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CompanyEdge. */ + node: Company; +}; + +/** Represents a company's business location. */ +export type CompanyLocation = Node & { + __typename?: 'CompanyLocation'; + /** The billing address of the company location. */ + billingAddress?: Maybe; + /** The configuration of the buyer's B2B checkout. */ + buyerExperienceConfiguration?: Maybe; + /** The list of contacts under a particular business location. */ + contacts: CompanyContactConnection; + /** The list of contacts under a particular business location. */ + contactsV1: ContactConnection; + /** The credit card corresponding to the provided ID. */ + creditCard?: Maybe; + /** The list of stored credit cards. */ + creditCards: CustomerCreditCardConnection; + /** The list of company draft orders. */ + draftOrders: DraftOrderConnection; + /** A unique externally-supplied ID for the location. */ + externalId?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The market that includes the location's shipping address. If the shipping address is empty, the shop's primary market is returned. */ + market: Market; + /** The name of the company location. */ + name: Scalars['String']['output']; + /** The list of customer orders under the company. */ + orders: OrderConnection; + /** The list of roles assigned to this location. */ + roleAssignments: CompanyContactRoleAssignmentConnection; + /** The shipping address of the company location. */ + shippingAddress?: Maybe; + /** The list of tax exemptions applied to the location. */ + taxExemptions: Array; + /** The list of tax exemptions applied to the location with additional details. */ + taxExemptionsDetails: Array; + /** The tax id of the company location. */ + taxIdentifier?: Maybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationContactsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationContactsV1Args = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationCreditCardArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents a company's business location. */ +export type CompanyLocationCreditCardsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type CompanyLocationRoleAssignmentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Return type for `companyLocationAssignAddress` mutation. */ +export type CompanyLocationAssignAddressPayload = { + __typename?: 'CompanyLocationAssignAddressPayload'; + /** The list of updated addresses on the company location. */ + addresses?: Maybe>; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * An auto-generated type for paginating through multiple CompanyLocations. + * + */ +export type CompanyLocationConnection = { + __typename?: 'CompanyLocationConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CompanyLocationEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CompanyLocation and a cursor during pagination. + * + */ +export type CompanyLocationEdge = { + __typename?: 'CompanyLocationEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CompanyLocationEdge. */ + node: CompanyLocation; +}; + +/** The set of valid sort keys for the CompanyLocation query. */ +export type CompanyLocationSortKeys = + /** Sort by the `company_and_location_name` value. */ + | 'COMPANY_AND_LOCATION_NAME' + /** Sort by the `company_id` value. */ + | 'COMPANY_ID' + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `name` value. */ + | 'NAME' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** Represents customer's personal information. */ +export type Contact = Node & { + __typename?: 'Contact'; + /** The Draft Order corresponding to the provided ID. */ + draftOrder?: Maybe; + /** The list of company draft orders. */ + draftOrders: DraftOrderConnection; + /** The email address of the customer. */ + email?: Maybe; + /** The email address of the contact. */ + emailAddress?: Maybe; + /** The first name of the customer. */ + firstName?: Maybe; + /** Whether the company contact has view permission on any location. */ + hasOrdersViewPermissionOnAnyLocation: Scalars['Boolean']['output']; + /** Whether the company contact has permissions on locations in the scope. */ + hasPermissionOnLocations: Scalars['Boolean']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last name of the customer. */ + lastName?: Maybe; + /** The locale of the customer. */ + locale?: Maybe; + /** The Location corresponding to the provided ID. */ + location?: Maybe; + /** The Location corresponding to the provided ID. */ + locationV1?: Maybe; + /** The list of locations that the business of the business contact belongs to. */ + locations: CompanyLocationConnection; + /** The list of locations that the business of the business contact belongs to. */ + locationsV1: LocationConnection; + /** The Order corresponding to the provided ID. */ + order?: Maybe; + /** The Order corresponding to the provided ID. */ + orderDetailsPageOrder?: Maybe; + /** The list of contact orders. */ + orders: OrderConnection; + /** The phone number of the customer. */ + phone?: Maybe; + /** The phone number of the customer. */ + phoneNumber?: Maybe; + /** The current status of the customer. */ + status: CompanyContactStatusType; + /** Whether the company contact is exempt from being charged taxes on their orders. */ + taxExempt: Scalars['Boolean']['output']; + /** The list of tax exemption types applied to the company_contact. */ + taxExemptions: Array; + /** The list of tax exemptions applied to the company contact with additional details. */ + taxExemptionsDetails: Array; + /** The title of the customer. */ + title?: Maybe; +}; + +/** Represents customer's personal information. */ +export type ContactDraftOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents customer's personal information. */ +export type ContactDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents customer's personal information. */ +export type ContactHasPermissionOnLocationsArgs = { + permissions: Array; + resource: ResourceType; + scope: ContactPermissionLocationScopeType; +}; + +/** Represents customer's personal information. */ +export type ContactLocationArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents customer's personal information. */ +export type ContactLocationV1Args = { + id: Scalars['ID']['input']; +}; + +/** Represents customer's personal information. */ +export type ContactLocationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents customer's personal information. */ +export type ContactLocationsV1Args = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents customer's personal information. */ +export type ContactOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents customer's personal information. */ +export type ContactOrderDetailsPageOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents customer's personal information. */ +export type ContactOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple Contacts. + * + */ +export type ContactConnection = { + __typename?: 'ContactConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in ContactEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one Contact and a cursor during pagination. + * + */ +export type ContactEdge = { + __typename?: 'ContactEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of ContactEdge. */ + node: Contact; +}; + +/** + * Defines the extent of locations for which a contact holds permissions on a resource. + * + */ +export type ContactPermissionLocationScopeType = + /** + * The contact has permission on all locations. + * + */ + | 'ALL' + /** + * The contact has permission for at least one location. + * + */ + | 'ANY' + /** + * The contact has no permission on any location. + * + */ + | 'NONE' + /** + * The contact has permission on only one location. + * + */ + | 'ONE'; + +/** + * The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. + * If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision + * of another country. For example, the territories associated with Spain are represented by the country code `ES`, + * and the territories associated with the United States of America are represented by the country code `US`. + * + */ +export type CountryCode = + /** Ascension Island. */ + | 'AC' + /** Andorra. */ + | 'AD' + /** United Arab Emirates. */ + | 'AE' + /** Afghanistan. */ + | 'AF' + /** Antigua & Barbuda. */ + | 'AG' + /** Anguilla. */ + | 'AI' + /** Albania. */ + | 'AL' + /** Armenia. */ + | 'AM' + /** Netherlands Antilles. */ + | 'AN' + /** Angola. */ + | 'AO' + /** Argentina. */ + | 'AR' + /** Austria. */ + | 'AT' + /** Australia. */ + | 'AU' + /** Aruba. */ + | 'AW' + /** Åland Islands. */ + | 'AX' + /** Azerbaijan. */ + | 'AZ' + /** Bosnia & Herzegovina. */ + | 'BA' + /** Barbados. */ + | 'BB' + /** Bangladesh. */ + | 'BD' + /** Belgium. */ + | 'BE' + /** Burkina Faso. */ + | 'BF' + /** Bulgaria. */ + | 'BG' + /** Bahrain. */ + | 'BH' + /** Burundi. */ + | 'BI' + /** Benin. */ + | 'BJ' + /** St. Barthélemy. */ + | 'BL' + /** Bermuda. */ + | 'BM' + /** Brunei. */ + | 'BN' + /** Bolivia. */ + | 'BO' + /** Caribbean Netherlands. */ + | 'BQ' + /** Brazil. */ + | 'BR' + /** Bahamas. */ + | 'BS' + /** Bhutan. */ + | 'BT' + /** Bouvet Island. */ + | 'BV' + /** Botswana. */ + | 'BW' + /** Belarus. */ + | 'BY' + /** Belize. */ + | 'BZ' + /** Canada. */ + | 'CA' + /** Cocos (Keeling) Islands. */ + | 'CC' + /** Congo - Kinshasa. */ + | 'CD' + /** Central African Republic. */ + | 'CF' + /** Congo - Brazzaville. */ + | 'CG' + /** Switzerland. */ + | 'CH' + /** Côte d’Ivoire. */ + | 'CI' + /** Cook Islands. */ + | 'CK' + /** Chile. */ + | 'CL' + /** Cameroon. */ + | 'CM' + /** China. */ + | 'CN' + /** Colombia. */ + | 'CO' + /** Costa Rica. */ + | 'CR' + /** Cuba. */ + | 'CU' + /** Cape Verde. */ + | 'CV' + /** Curaçao. */ + | 'CW' + /** Christmas Island. */ + | 'CX' + /** Cyprus. */ + | 'CY' + /** Czechia. */ + | 'CZ' + /** Germany. */ + | 'DE' + /** Djibouti. */ + | 'DJ' + /** Denmark. */ + | 'DK' + /** Dominica. */ + | 'DM' + /** Dominican Republic. */ + | 'DO' + /** Algeria. */ + | 'DZ' + /** Ecuador. */ + | 'EC' + /** Estonia. */ + | 'EE' + /** Egypt. */ + | 'EG' + /** Western Sahara. */ + | 'EH' + /** Eritrea. */ + | 'ER' + /** Spain. */ + | 'ES' + /** Ethiopia. */ + | 'ET' + /** Finland. */ + | 'FI' + /** Fiji. */ + | 'FJ' + /** Falkland Islands. */ + | 'FK' + /** Faroe Islands. */ + | 'FO' + /** France. */ + | 'FR' + /** Gabon. */ + | 'GA' + /** United Kingdom. */ + | 'GB' + /** Grenada. */ + | 'GD' + /** Georgia. */ + | 'GE' + /** French Guiana. */ + | 'GF' + /** Guernsey. */ + | 'GG' + /** Ghana. */ + | 'GH' + /** Gibraltar. */ + | 'GI' + /** Greenland. */ + | 'GL' + /** Gambia. */ + | 'GM' + /** Guinea. */ + | 'GN' + /** Guadeloupe. */ + | 'GP' + /** Equatorial Guinea. */ + | 'GQ' + /** Greece. */ + | 'GR' + /** South Georgia & South Sandwich Islands. */ + | 'GS' + /** Guatemala. */ + | 'GT' + /** Guinea-Bissau. */ + | 'GW' + /** Guyana. */ + | 'GY' + /** Hong Kong SAR. */ + | 'HK' + /** Heard & McDonald Islands. */ + | 'HM' + /** Honduras. */ + | 'HN' + /** Croatia. */ + | 'HR' + /** Haiti. */ + | 'HT' + /** Hungary. */ + | 'HU' + /** Indonesia. */ + | 'ID' + /** Ireland. */ + | 'IE' + /** Israel. */ + | 'IL' + /** Isle of Man. */ + | 'IM' + /** India. */ + | 'IN' + /** British Indian Ocean Territory. */ + | 'IO' + /** Iraq. */ + | 'IQ' + /** Iran. */ + | 'IR' + /** Iceland. */ + | 'IS' + /** Italy. */ + | 'IT' + /** Jersey. */ + | 'JE' + /** Jamaica. */ + | 'JM' + /** Jordan. */ + | 'JO' + /** Japan. */ + | 'JP' + /** Kenya. */ + | 'KE' + /** Kyrgyzstan. */ + | 'KG' + /** Cambodia. */ + | 'KH' + /** Kiribati. */ + | 'KI' + /** Comoros. */ + | 'KM' + /** St. Kitts & Nevis. */ + | 'KN' + /** North Korea. */ + | 'KP' + /** South Korea. */ + | 'KR' + /** Kuwait. */ + | 'KW' + /** Cayman Islands. */ + | 'KY' + /** Kazakhstan. */ + | 'KZ' + /** Laos. */ + | 'LA' + /** Lebanon. */ + | 'LB' + /** St. Lucia. */ + | 'LC' + /** Liechtenstein. */ + | 'LI' + /** Sri Lanka. */ + | 'LK' + /** Liberia. */ + | 'LR' + /** Lesotho. */ + | 'LS' + /** Lithuania. */ + | 'LT' + /** Luxembourg. */ + | 'LU' + /** Latvia. */ + | 'LV' + /** Libya. */ + | 'LY' + /** Morocco. */ + | 'MA' + /** Monaco. */ + | 'MC' + /** Moldova. */ + | 'MD' + /** Montenegro. */ + | 'ME' + /** St. Martin. */ + | 'MF' + /** Madagascar. */ + | 'MG' + /** North Macedonia. */ + | 'MK' + /** Mali. */ + | 'ML' + /** Myanmar (Burma). */ + | 'MM' + /** Mongolia. */ + | 'MN' + /** Macao SAR. */ + | 'MO' + /** Martinique. */ + | 'MQ' + /** Mauritania. */ + | 'MR' + /** Montserrat. */ + | 'MS' + /** Malta. */ + | 'MT' + /** Mauritius. */ + | 'MU' + /** Maldives. */ + | 'MV' + /** Malawi. */ + | 'MW' + /** Mexico. */ + | 'MX' + /** Malaysia. */ + | 'MY' + /** Mozambique. */ + | 'MZ' + /** Namibia. */ + | 'NA' + /** New Caledonia. */ + | 'NC' + /** Niger. */ + | 'NE' + /** Norfolk Island. */ + | 'NF' + /** Nigeria. */ + | 'NG' + /** Nicaragua. */ + | 'NI' + /** Netherlands. */ + | 'NL' + /** Norway. */ + | 'NO' + /** Nepal. */ + | 'NP' + /** Nauru. */ + | 'NR' + /** Niue. */ + | 'NU' + /** New Zealand. */ + | 'NZ' + /** Oman. */ + | 'OM' + /** Panama. */ + | 'PA' + /** Peru. */ + | 'PE' + /** French Polynesia. */ + | 'PF' + /** Papua New Guinea. */ + | 'PG' + /** Philippines. */ + | 'PH' + /** Pakistan. */ + | 'PK' + /** Poland. */ + | 'PL' + /** St. Pierre & Miquelon. */ + | 'PM' + /** Pitcairn Islands. */ + | 'PN' + /** Palestinian Territories. */ + | 'PS' + /** Portugal. */ + | 'PT' + /** Paraguay. */ + | 'PY' + /** Qatar. */ + | 'QA' + /** Réunion. */ + | 'RE' + /** Romania. */ + | 'RO' + /** Serbia. */ + | 'RS' + /** Russia. */ + | 'RU' + /** Rwanda. */ + | 'RW' + /** Saudi Arabia. */ + | 'SA' + /** Solomon Islands. */ + | 'SB' + /** Seychelles. */ + | 'SC' + /** Sudan. */ + | 'SD' + /** Sweden. */ + | 'SE' + /** Singapore. */ + | 'SG' + /** St. Helena. */ + | 'SH' + /** Slovenia. */ + | 'SI' + /** Svalbard & Jan Mayen. */ + | 'SJ' + /** Slovakia. */ + | 'SK' + /** Sierra Leone. */ + | 'SL' + /** San Marino. */ + | 'SM' + /** Senegal. */ + | 'SN' + /** Somalia. */ + | 'SO' + /** Suriname. */ + | 'SR' + /** South Sudan. */ + | 'SS' + /** São Tomé & Príncipe. */ + | 'ST' + /** El Salvador. */ + | 'SV' + /** Sint Maarten. */ + | 'SX' + /** Syria. */ + | 'SY' + /** Eswatini. */ + | 'SZ' + /** Tristan da Cunha. */ + | 'TA' + /** Turks & Caicos Islands. */ + | 'TC' + /** Chad. */ + | 'TD' + /** French Southern Territories. */ + | 'TF' + /** Togo. */ + | 'TG' + /** Thailand. */ + | 'TH' + /** Tajikistan. */ + | 'TJ' + /** Tokelau. */ + | 'TK' + /** Timor-Leste. */ + | 'TL' + /** Turkmenistan. */ + | 'TM' + /** Tunisia. */ + | 'TN' + /** Tonga. */ + | 'TO' + /** Turkey. */ + | 'TR' + /** Trinidad & Tobago. */ + | 'TT' + /** Tuvalu. */ + | 'TV' + /** Taiwan. */ + | 'TW' + /** Tanzania. */ + | 'TZ' + /** Ukraine. */ + | 'UA' + /** Uganda. */ + | 'UG' + /** U.S. Outlying Islands. */ + | 'UM' + /** United States. */ + | 'US' + /** Uruguay. */ + | 'UY' + /** Uzbekistan. */ + | 'UZ' + /** Vatican City. */ + | 'VA' + /** St. Vincent & Grenadines. */ + | 'VC' + /** Venezuela. */ + | 'VE' + /** British Virgin Islands. */ + | 'VG' + /** Vietnam. */ + | 'VN' + /** Vanuatu. */ + | 'VU' + /** Wallis & Futuna. */ + | 'WF' + /** Samoa. */ + | 'WS' + /** Kosovo. */ + | 'XK' + /** Yemen. */ + | 'YE' + /** Mayotte. */ + | 'YT' + /** South Africa. */ + | 'ZA' + /** Zambia. */ + | 'ZM' + /** Zimbabwe. */ + | 'ZW' + /** Unknown Region. */ + | 'ZZ'; + +/** Return type for `creditCardAdd` mutation. */ +export type CreditCardAddPayload = { + __typename?: 'CreditCardAddPayload'; + /** The newly added credit card. */ + creditCard?: Maybe; + /** The URL to which the customer should be redirected to complete the 3D Secure payment flow. */ + nextActionUrl?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `creditCardUpdate` mutation. */ +export type CreditCardUpdatePayload = { + __typename?: 'CreditCardUpdatePayload'; + /** The updated credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, `credit_card` will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The part of the image that should remain after cropping. */ +export type CropRegion = + /** Keep the bottom of the image. */ + | 'BOTTOM' + /** Keep the center of the image. */ + | 'CENTER' + /** Keep the left of the image. */ + | 'LEFT' + /** Keep the right of the image. */ + | 'RIGHT' + /** Keep the top of the image. */ + | 'TOP'; + +/** + * The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes, + * and non-standard codes. + * + */ +export type CurrencyCode = + /** United Arab Emirates Dirham (AED). */ + | 'AED' + /** Afghan Afghani (AFN). */ + | 'AFN' + /** Albanian Lek (ALL). */ + | 'ALL' + /** Armenian Dram (AMD). */ + | 'AMD' + /** Netherlands Antillean Guilder. */ + | 'ANG' + /** Angolan Kwanza (AOA). */ + | 'AOA' + /** Argentine Pesos (ARS). */ + | 'ARS' + /** Australian Dollars (AUD). */ + | 'AUD' + /** Aruban Florin (AWG). */ + | 'AWG' + /** Azerbaijani Manat (AZN). */ + | 'AZN' + /** Bosnia and Herzegovina Convertible Mark (BAM). */ + | 'BAM' + /** Barbadian Dollar (BBD). */ + | 'BBD' + /** Bangladesh Taka (BDT). */ + | 'BDT' + /** Bulgarian Lev (BGN). */ + | 'BGN' + /** Bahraini Dinar (BHD). */ + | 'BHD' + /** Burundian Franc (BIF). */ + | 'BIF' + /** Bermudian Dollar (BMD). */ + | 'BMD' + /** Brunei Dollar (BND). */ + | 'BND' + /** Bolivian Boliviano (BOB). */ + | 'BOB' + /** Brazilian Real (BRL). */ + | 'BRL' + /** Bahamian Dollar (BSD). */ + | 'BSD' + /** Bhutanese Ngultrum (BTN). */ + | 'BTN' + /** Botswana Pula (BWP). */ + | 'BWP' + /** Belarusian Ruble (BYN). */ + | 'BYN' + /** Belarusian Ruble (BYR). */ + | 'BYR' + /** Belize Dollar (BZD). */ + | 'BZD' + /** Canadian Dollars (CAD). */ + | 'CAD' + /** Congolese franc (CDF). */ + | 'CDF' + /** Swiss Francs (CHF). */ + | 'CHF' + /** Chilean Peso (CLP). */ + | 'CLP' + /** Chinese Yuan Renminbi (CNY). */ + | 'CNY' + /** Colombian Peso (COP). */ + | 'COP' + /** Costa Rican Colones (CRC). */ + | 'CRC' + /** Cape Verdean escudo (CVE). */ + | 'CVE' + /** Czech Koruny (CZK). */ + | 'CZK' + /** Djiboutian Franc (DJF). */ + | 'DJF' + /** Danish Kroner (DKK). */ + | 'DKK' + /** Dominican Peso (DOP). */ + | 'DOP' + /** Algerian Dinar (DZD). */ + | 'DZD' + /** Egyptian Pound (EGP). */ + | 'EGP' + /** Eritrean Nakfa (ERN). */ + | 'ERN' + /** Ethiopian Birr (ETB). */ + | 'ETB' + /** Euro (EUR). */ + | 'EUR' + /** Fijian Dollars (FJD). */ + | 'FJD' + /** Falkland Islands Pounds (FKP). */ + | 'FKP' + /** United Kingdom Pounds (GBP). */ + | 'GBP' + /** Georgian Lari (GEL). */ + | 'GEL' + /** Ghanaian Cedi (GHS). */ + | 'GHS' + /** Gibraltar Pounds (GIP). */ + | 'GIP' + /** Gambian Dalasi (GMD). */ + | 'GMD' + /** Guinean Franc (GNF). */ + | 'GNF' + /** Guatemalan Quetzal (GTQ). */ + | 'GTQ' + /** Guyanese Dollar (GYD). */ + | 'GYD' + /** Hong Kong Dollars (HKD). */ + | 'HKD' + /** Honduran Lempira (HNL). */ + | 'HNL' + /** Croatian Kuna (HRK). */ + | 'HRK' + /** Haitian Gourde (HTG). */ + | 'HTG' + /** Hungarian Forint (HUF). */ + | 'HUF' + /** Indonesian Rupiah (IDR). */ + | 'IDR' + /** Israeli New Shekel (NIS). */ + | 'ILS' + /** Indian Rupees (INR). */ + | 'INR' + /** Iraqi Dinar (IQD). */ + | 'IQD' + /** Iranian Rial (IRR). */ + | 'IRR' + /** Icelandic Kronur (ISK). */ + | 'ISK' + /** Jersey Pound. */ + | 'JEP' + /** Jamaican Dollars (JMD). */ + | 'JMD' + /** Jordanian Dinar (JOD). */ + | 'JOD' + /** Japanese Yen (JPY). */ + | 'JPY' + /** Kenyan Shilling (KES). */ + | 'KES' + /** Kyrgyzstani Som (KGS). */ + | 'KGS' + /** Cambodian Riel. */ + | 'KHR' + /** Kiribati Dollar (KID). */ + | 'KID' + /** Comorian Franc (KMF). */ + | 'KMF' + /** South Korean Won (KRW). */ + | 'KRW' + /** Kuwaiti Dinar (KWD). */ + | 'KWD' + /** Cayman Dollars (KYD). */ + | 'KYD' + /** Kazakhstani Tenge (KZT). */ + | 'KZT' + /** Laotian Kip (LAK). */ + | 'LAK' + /** Lebanese Pounds (LBP). */ + | 'LBP' + /** Sri Lankan Rupees (LKR). */ + | 'LKR' + /** Liberian Dollar (LRD). */ + | 'LRD' + /** Lesotho Loti (LSL). */ + | 'LSL' + /** Lithuanian Litai (LTL). */ + | 'LTL' + /** Latvian Lati (LVL). */ + | 'LVL' + /** Libyan Dinar (LYD). */ + | 'LYD' + /** Moroccan Dirham. */ + | 'MAD' + /** Moldovan Leu (MDL). */ + | 'MDL' + /** Malagasy Ariary (MGA). */ + | 'MGA' + /** Macedonia Denar (MKD). */ + | 'MKD' + /** Burmese Kyat (MMK). */ + | 'MMK' + /** Mongolian Tugrik. */ + | 'MNT' + /** Macanese Pataca (MOP). */ + | 'MOP' + /** Mauritanian Ouguiya (MRU). */ + | 'MRU' + /** Mauritian Rupee (MUR). */ + | 'MUR' + /** Maldivian Rufiyaa (MVR). */ + | 'MVR' + /** Malawian Kwacha (MWK). */ + | 'MWK' + /** Mexican Pesos (MXN). */ + | 'MXN' + /** Malaysian Ringgits (MYR). */ + | 'MYR' + /** Mozambican Metical. */ + | 'MZN' + /** Namibian Dollar. */ + | 'NAD' + /** Nigerian Naira (NGN). */ + | 'NGN' + /** Nicaraguan Córdoba (NIO). */ + | 'NIO' + /** Norwegian Kroner (NOK). */ + | 'NOK' + /** Nepalese Rupee (NPR). */ + | 'NPR' + /** New Zealand Dollars (NZD). */ + | 'NZD' + /** Omani Rial (OMR). */ + | 'OMR' + /** Panamian Balboa (PAB). */ + | 'PAB' + /** Peruvian Nuevo Sol (PEN). */ + | 'PEN' + /** Papua New Guinean Kina (PGK). */ + | 'PGK' + /** Philippine Peso (PHP). */ + | 'PHP' + /** Pakistani Rupee (PKR). */ + | 'PKR' + /** Polish Zlotych (PLN). */ + | 'PLN' + /** Paraguayan Guarani (PYG). */ + | 'PYG' + /** Qatari Rial (QAR). */ + | 'QAR' + /** Romanian Lei (RON). */ + | 'RON' + /** Serbian dinar (RSD). */ + | 'RSD' + /** Russian Rubles (RUB). */ + | 'RUB' + /** Rwandan Franc (RWF). */ + | 'RWF' + /** Saudi Riyal (SAR). */ + | 'SAR' + /** Solomon Islands Dollar (SBD). */ + | 'SBD' + /** Seychellois Rupee (SCR). */ + | 'SCR' + /** Sudanese Pound (SDG). */ + | 'SDG' + /** Swedish Kronor (SEK). */ + | 'SEK' + /** Singapore Dollars (SGD). */ + | 'SGD' + /** Saint Helena Pounds (SHP). */ + | 'SHP' + /** Sierra Leonean Leone (SLL). */ + | 'SLL' + /** Somali Shilling (SOS). */ + | 'SOS' + /** Surinamese Dollar (SRD). */ + | 'SRD' + /** South Sudanese Pound (SSP). */ + | 'SSP' + /** Sao Tome And Principe Dobra (STD). */ + | 'STD' + /** Sao Tome And Principe Dobra (STN). */ + | 'STN' + /** Syrian Pound (SYP). */ + | 'SYP' + /** Swazi Lilangeni (SZL). */ + | 'SZL' + /** Thai baht (THB). */ + | 'THB' + /** Tajikistani Somoni (TJS). */ + | 'TJS' + /** Turkmenistani Manat (TMT). */ + | 'TMT' + /** Tunisian Dinar (TND). */ + | 'TND' + /** Tongan Pa'anga (TOP). */ + | 'TOP' + /** Turkish Lira (TRY). */ + | 'TRY' + /** Trinidad and Tobago Dollars (TTD). */ + | 'TTD' + /** Taiwan Dollars (TWD). */ + | 'TWD' + /** Tanzanian Shilling (TZS). */ + | 'TZS' + /** Ukrainian Hryvnia (UAH). */ + | 'UAH' + /** Ugandan Shilling (UGX). */ + | 'UGX' + /** United States Dollars (USD). */ + | 'USD' + /** Uruguayan Pesos (UYU). */ + | 'UYU' + /** Uzbekistan som (UZS). */ + | 'UZS' + /** Venezuelan Bolivares (VED). */ + | 'VED' + /** Venezuelan Bolivares (VEF). */ + | 'VEF' + /** Venezuelan Bolivares Soberanos (VES). */ + | 'VES' + /** Vietnamese đồng (VND). */ + | 'VND' + /** Vanuatu Vatu (VUV). */ + | 'VUV' + /** Samoan Tala (WST). */ + | 'WST' + /** Central African CFA Franc (XAF). */ + | 'XAF' + /** East Caribbean Dollar (XCD). */ + | 'XCD' + /** West African CFA franc (XOF). */ + | 'XOF' + /** CFP Franc (XPF). */ + | 'XPF' + /** Unrecognized currency. */ + | 'XXX' + /** Yemeni Rial (YER). */ + | 'YER' + /** South African Rand (ZAR). */ + | 'ZAR' + /** Zambian Kwacha (ZMW). */ + | 'ZMW'; + +/** Represents the personal information of a customer. */ +export type Customer = HasMetafields & + Node & { + __typename?: 'Customer'; + /** The addresses associated with the customer. */ + addresses: CustomerAddressConnection; + /** The list of wallet payment configs for providers that the payment method accepts. */ + availableWalletPaymentConfigs: Array; + /** The list of contacts the customer is associated with. */ + companyContacts: CompanyContactConnection; + /** The date and time when the customer was created. */ + createdAt: Scalars['DateTime']['output']; + /** The date and time when the customer was created. */ + creationDate: Scalars['DateTime']['output']; + /** A Credit Card resource identified by ID. */ + creditCard?: Maybe; + /** The stored Credit Cards associated with the customer. */ + creditCards: CustomerCreditCardConnection; + /** The default address of the customer. */ + defaultAddress?: Maybe; + /** + * The full name of the customer, based on the first_name and last_name values. If these aren't available, it falls back to the customer's email address, and if that isn't available, the customer's phone number. + * + */ + displayName: Scalars['String']['output']; + /** The Draft Orders associated with the customer. */ + draftOrders: DraftOrderConnection; + /** The email address of the customer. */ + emailAddress?: Maybe; + /** The first name of the customer. */ + firstName?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The URL to the avatar image of the customer. */ + imageUrl: Scalars['URL']['output']; + /** The customer's most recently updated, incomplete checkout. */ + lastIncompleteCheckout?: Maybe; + /** The last name of the customer. */ + lastName?: Maybe; + /** A metafield found by namespace and key. */ + metafield?: Maybe; + /** + * The metafields associated with the resource matching the + * supplied list of namespaces and keys. + * + */ + metafields: Array>; + /** The orders associated with the customer. */ + orders: OrderConnection; + /** A PayPal Billing Agreement resource. */ + paypalBillingAgreement?: Maybe; + /** The phone number of the customer. */ + phoneNumber?: Maybe; + /** A Return identified by ID. */ + return?: Maybe; + /** A Subscription Contract resource identified by ID. */ + subscriptionContract?: Maybe; + /** The Subscription Contracts associated with the customer. */ + subscriptionContracts: SubscriptionContractConnection; + /** A comma-separated list of tags that have been added to the customer. */ + tags: Array; + /** The list of tax exemptions applied to the customer with additional details. */ + taxExemptionsDetails: Array; + }; + +/** Represents the personal information of a customer. */ +export type CustomerAddressesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; + skipDefault?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type CustomerCompanyContactsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type CustomerCreditCardArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type CustomerCreditCardsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type CustomerDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type CustomerMetafieldArgs = { + key: Scalars['String']['input']; + namespace: Scalars['String']['input']; +}; + +/** Represents the personal information of a customer. */ +export type CustomerMetafieldsArgs = { + identifiers: Array; +}; + +/** Represents the personal information of a customer. */ +export type CustomerOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type CustomerReturnArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type CustomerSubscriptionContractArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type CustomerSubscriptionContractsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * Represents a customer's mailing address. + * For example, a customer's default address and an order's billing address are both mailing addresses. + * + */ +export type CustomerAddress = Node & { + __typename?: 'CustomerAddress'; + /** The first line of the address. Typically the street address or PO Box number. */ + address1?: Maybe; + /** + * The second line of the address. This is typically the apartment, suite, or unit number. + * + */ + address2?: Maybe; + /** + * The name of the city, district, village, or town. + * + */ + city?: Maybe; + /** + * The name of the customer's company or organization. + * + */ + company?: Maybe; + /** + * The name of the country. + * + */ + country?: Maybe; + /** The first name of the customer. */ + firstName?: Maybe; + /** A formatted version of the address, customized by the provided arguments. */ + formatted: Array; + /** A comma-separated list of the values for city, province, and country. */ + formattedArea?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last name of the customer. */ + lastName?: Maybe; + /** + * The full name of the customer, based on firstName and lastName. + * + */ + name?: Maybe; + /** + * The customer's unique phone number. + * + * Formatted using E.164 standard. For example, _+16135551111_. + * + */ + phoneNumber?: Maybe; + /** The region of the address, such as the province, state, or district. */ + province?: Maybe; + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + */ + territoryCode?: Maybe; + /** The zip or postal code of the address. */ + zip?: Maybe; + /** + * The two-letter code for the region. + * + * For example, ON. + * + */ + zoneCode?: Maybe; +}; + +/** + * Represents a customer's mailing address. + * For example, a customer's default address and an order's billing address are both mailing addresses. + * + */ +export type CustomerAddressFormattedArgs = { + withCompany?: InputMaybe; + withName?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple CustomerAddresses. + * + */ +export type CustomerAddressConnection = { + __typename?: 'CustomerAddressConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CustomerAddressEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** Return type for `customerAddressCreate` mutation. */ +export type CustomerAddressCreatePayload = { + __typename?: 'CustomerAddressCreatePayload'; + /** The created customer address. */ + customerAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `customerAddressDelete` mutation. */ +export type CustomerAddressDeletePayload = { + __typename?: 'CustomerAddressDeletePayload'; + /** The ID of the deleted address. */ + deletedAddressId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * An auto-generated type which holds one CustomerAddress and a cursor during pagination. + * + */ +export type CustomerAddressEdge = { + __typename?: 'CustomerAddressEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CustomerAddressEdge. */ + node: CustomerAddress; +}; + +/** The input fields to create or update a mailing address. */ +export type CustomerAddressInput = { + /** The first line of the address. Typically the street address or PO Box number. */ + address1?: InputMaybe; + /** The second line of the address. Typically the apartment, suite, or unit number. */ + address2?: InputMaybe; + /** The name of the city, district, village, or town. */ + city?: InputMaybe; + /** The name of the customer's company or organization. */ + company?: InputMaybe; + /** The first name of the customer. */ + firstName?: InputMaybe; + /** The last name of the customer. */ + lastName?: InputMaybe; + /** The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_. */ + phoneNumber?: InputMaybe; + /** The territory code for the country of the address. */ + territoryCode?: InputMaybe; + /** The zip or postal code of the address. */ + zip?: InputMaybe; + /** + * The code for the region of the address, such as the province, + * state, or district. For example, QC for Quebec, Canada. + * + */ + zoneCode?: InputMaybe; +}; + +/** Return type for `customerAddressUpdate` mutation. */ +export type CustomerAddressUpdatePayload = { + __typename?: 'CustomerAddressUpdatePayload'; + /** The updated address. */ + customerAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The credit card payment instrument. */ +export type CustomerCreditCard = Node & + PaymentInstrument & { + __typename?: 'CustomerCreditCard'; + /** The billing address associated with the credit card. */ + billingAddress?: Maybe; + /** The brand of the credit card. */ + brand: Scalars['String']['output']; + /** Whether the credit card is the default payment method. */ + default: Scalars['Boolean']['output']; + /** Whether the credit card is about to expire. */ + expiresSoon: Scalars['Boolean']['output']; + /** The expiry month of the credit card. */ + expiryMonth: Scalars['Int']['output']; + /** The expiry year of the credit card. */ + expiryYear: Scalars['Int']['output']; + /** The BIN number of the credit card. */ + firstDigits?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last 4 digits of the credit card. */ + lastDigits: Scalars['String']['output']; + /** The masked credit card number, displaying only the last 4 digits. */ + maskedNumber: Scalars['String']['output']; + /** The name of the card holder. */ + name: Scalars['String']['output']; + /** The list of open draft orders of an associated credit card. */ + openDraftOrders: DraftOrderConnection; + /** The list of pending orders associated with this credit card. */ + pendingOrders: OrderConnection; + /** Whether this credit card has permission to be shown at checkout for future purchases. */ + permissionToShowAtCheckout: Scalars['Boolean']['output']; + /** The list of subscription contracts charged against this credit card. */ + subscriptionContracts: SubscriptionContractConnection; + /** The last 4 digits of the Device Account Number. */ + virtualLastDigits?: Maybe; + /** The type of wallet, if the credit card is associated with a wallet. */ + walletType?: Maybe; + }; + +/** The credit card payment instrument. */ +export type CustomerCreditCardOpenDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The credit card payment instrument. */ +export type CustomerCreditCardPendingOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The credit card payment instrument. */ +export type CustomerCreditCardSubscriptionContractsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple CustomerCreditCards. + * + */ +export type CustomerCreditCardConnection = { + __typename?: 'CustomerCreditCardConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CustomerCreditCardEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CustomerCreditCard and a cursor during pagination. + * + */ +export type CustomerCreditCardEdge = { + __typename?: 'CustomerCreditCardEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CustomerCreditCardEdge. */ + node: CustomerCreditCard; +}; + +/** An email address associated with a customer. */ +export type CustomerEmailAddress = { + __typename?: 'CustomerEmailAddress'; + /** The email address of the customer. */ + emailAddress?: Maybe; + /** The customer's subscription status for email marketing. */ + marketingState: EmailMarketingState; +}; + +/** Return type for `customerEmailMarketingOptIn` mutation. */ +export type CustomerEmailMarketingOptInPayload = { + __typename?: 'CustomerEmailMarketingOptInPayload'; + /** The customer who was force subscribed to email marketing. */ + customerEmailAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `customerEmailMarketingSubscribe` mutation. */ +export type CustomerEmailMarketingSubscribePayload = { + __typename?: 'CustomerEmailMarketingSubscribePayload'; + /** The customer's email address that's subscribed to the email marketing. */ + emailAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `customerEmailMarketingUnsubscribe` mutation. */ +export type CustomerEmailMarketingUnsubscribePayload = { + __typename?: 'CustomerEmailMarketingUnsubscribePayload'; + /** The customer's email address that's unsubscribed from the email marketing. */ + emailAddress?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * Represents a customer's mailing address. + * For example, a customer's default address and an order's billing address are both mailing addresses. + * + */ +export type CustomerMailingAddress = Node & { + __typename?: 'CustomerMailingAddress'; + /** The first line of the address. Typically the street address or PO Box number. */ + address1?: Maybe; + /** + * The second line of the address. This is typically the apartment, suite, or unit number. + * + */ + address2?: Maybe; + /** + * The name of the city, district, village, or town. + * + */ + city?: Maybe; + /** + * The name of the customer's company or organization. + * + */ + company?: Maybe; + /** + * The name of the country. + * + */ + country?: Maybe; + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + */ + countryCode?: Maybe; + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + */ + countryCodeV2?: Maybe; + /** Indicates whether the address is the default address or not. */ + defaultAddress: Scalars['Boolean']['output']; + /** The first name of the customer. */ + firstName?: Maybe; + /** A formatted version of the address, customized by the provided arguments. */ + formatted: Array; + /** A comma-separated list of the values for city, province, and country. */ + formattedArea?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The last name of the customer. */ + lastName?: Maybe; + /** The latitude coordinate of the customer's address. */ + latitude?: Maybe; + /** The longitude coordinate of the customer's address. */ + longitude?: Maybe; + /** + * The full name of the customer, based on firstName and lastName. + * + */ + name?: Maybe; + /** + * The customer's unique phone number. + * + * Formatted using E.164 standard. For example, _+16135551111_. + * + */ + phone?: Maybe; + /** + * The customer's unique phone number. + * + * Formatted using E.164 standard. For example, _+16135551111_. + * + */ + phoneNumber?: Maybe; + /** The region of the address, such as the province, state, or district. */ + province?: Maybe; + /** + * The two-letter code for the region. + * + * For example, ON. + * + */ + provinceCode?: Maybe; + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + */ + territoryCode?: Maybe; + /** Indicates whether the address was geolocated and is a valid address. The field returns `false` if the verification failed, or if the job to verify this address was never started. */ + verified: Scalars['Boolean']['output']; + /** The zip or postal code of the address. */ + zip?: Maybe; + /** + * The two-letter code for the region. + * + * For example, ON. + * + */ + zoneCode?: Maybe; +}; + +/** + * Represents a customer's mailing address. + * For example, a customer's default address and an order's billing address are both mailing addresses. + * + */ +export type CustomerMailingAddressFormattedArgs = { + withCompany?: InputMaybe; + withName?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple CustomerMailingAddresses. + * + */ +export type CustomerMailingAddressConnection = { + __typename?: 'CustomerMailingAddressConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in CustomerMailingAddressEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one CustomerMailingAddress and a cursor during pagination. + * + */ +export type CustomerMailingAddressEdge = { + __typename?: 'CustomerMailingAddressEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of CustomerMailingAddressEdge. */ + node: CustomerMailingAddress; +}; + +/** The input fields to create or update a mailing address. */ +export type CustomerMailingAddressInput = { + /** The first line of the address. Typically the street address or PO Box number. */ + address1?: InputMaybe; + /** The second line of the address. Typically the apartment, suite, or unit number. */ + address2?: InputMaybe; + /** The name of the city, district, village, or town. */ + city?: InputMaybe; + /** The name of the customer's company or organization. */ + company?: InputMaybe; + /** The two-letter code for the country of the address. */ + countryCode?: InputMaybe; + /** The first name of the customer. */ + firstName?: InputMaybe; + /** The last name of the customer. */ + lastName?: InputMaybe; + /** The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_. */ + phone?: InputMaybe; + /** The customer's unique phone number, formatted using E.164 standard. For example, _+16135551111_. */ + phoneNumber?: InputMaybe; + /** The two-letter code for the country of the address. */ + territoryCode?: InputMaybe; + /** The zip or postal code of the address. */ + zip?: InputMaybe; + /** + * The code for the region of the address, such as the province, + * state, or district. For example, QC for Quebec, Canada. + * + */ + zoneCode?: InputMaybe; +}; + +/** Defines the phone number of the customer. */ +export type CustomerPhoneNumber = { + __typename?: 'CustomerPhoneNumber'; + /** Indicates whether the customer has subscribed to SMS marketing material. */ + marketingState: SmsMarketingState; + /** The customer's phone number. */ + phoneNumber: Scalars['String']['output']; +}; + +/** + * The input fields to update a customer's personal information. + * + */ +export type CustomerUpdateInput = { + /** The customer's first name. */ + firstName?: InputMaybe; + /** The customer's last name. */ + lastName?: InputMaybe; +}; + +/** Return type for `customerUpdate` mutation. */ +export type CustomerUpdatePayload = { + __typename?: 'CustomerUpdatePayload'; + /** The customer's personal information that has been updated. */ + customer?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The different types of delivery option groups. */ +export type DeliveryOptionGroupType = + /** A one-time purchase. */ + | 'ONE_TIME_PURCHASE' + /** A subscription. */ + | 'SUBSCRIPTION'; + +/** + * Represents an amount discounting the line that has been allocated by a discount. + * + */ +export type DiscountAllocation = { + __typename?: 'DiscountAllocation'; + /** The amount of discount allocated. */ + allocatedAmount: MoneyV2; + /** The discount from which this allocated amount originated. */ + discountApplication: + | AutomaticDiscountApplication + | DiscountCodeApplication + | ManualDiscountApplication + | ScriptDiscountApplication; +}; + +/** + * Captures the intentions of a discount source at the time of application. + * + */ +export type DiscountApplication = { + /** The method by which the discount's value is allocated to its entitled items. */ + allocationMethod: DiscountApplicationAllocationMethod; + /** The lines of targetType that the discount is allocated over. */ + targetSelection: DiscountApplicationTargetSelection; + /** The type of line that the discount is applicable towards. */ + targetType: DiscountApplicationTargetType; + /** The value of the discount application. */ + value: PricingValue; +}; + +/** The method by which the discount's value is allocated onto its entitled lines. */ +export type DiscountApplicationAllocationMethod = + /** The value is spread across all entitled lines. */ + | 'ACROSS' + /** The value is applied onto every entitled line. */ + | 'EACH' + /** The value is specifically applied onto a particular line. */ + | 'ONE'; + +/** + * An auto-generated type for paginating through multiple DiscountApplications. + * + */ +export type DiscountApplicationConnection = { + __typename?: 'DiscountApplicationConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in DiscountApplicationEdge. */ + nodes: Array< + | AutomaticDiscountApplication + | DiscountCodeApplication + | ManualDiscountApplication + | ScriptDiscountApplication + >; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one DiscountApplication and a cursor during pagination. + * + */ +export type DiscountApplicationEdge = { + __typename?: 'DiscountApplicationEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of DiscountApplicationEdge. */ + node: + | AutomaticDiscountApplication + | DiscountCodeApplication + | ManualDiscountApplication + | ScriptDiscountApplication; +}; + +/** + * The lines on the order to which the discount is applied, of the type defined by + * the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of + * `LINE_ITEM`, applies the discount on all line items that are entitled to the discount. + * The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines. + * + */ +export type DiscountApplicationTargetSelection = + /** The discount is allocated onto all the lines. */ + | 'ALL' + /** The discount is allocated onto only the lines that it's entitled for. */ + | 'ENTITLED' + /** The discount is allocated onto explicitly chosen lines. */ + | 'EXPLICIT'; + +/** + * The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards. + * + */ +export type DiscountApplicationTargetType = + /** The discount applies onto line items. */ + | 'LINE_ITEM' + /** The discount applies onto shipping lines. */ + | 'SHIPPING_LINE'; + +/** + * The type of the discount application. + * + */ +export type DiscountApplicationType = + /** Automatic discount application type. */ + | 'AUTOMATIC' + /** Discount code discount application type. */ + | 'DISCOUNT_CODE' + /** Manual discount application type. */ + | 'MANUAL' + /** Script discount application type. */ + | 'SCRIPT'; + +/** + * Captures the intentions of a discount code at the time that it is applied. + * + */ +export type DiscountCodeApplication = DiscountApplication & { + __typename?: 'DiscountCodeApplication'; + /** The method by which the discount's value is allocated to its entitled items. */ + allocationMethod: DiscountApplicationAllocationMethod; + /** The string identifying the discount code used at the time of application. */ + code: Scalars['String']['output']; + /** The lines of targetType that the discount is allocated over. */ + targetSelection: DiscountApplicationTargetSelection; + /** The type of line that the discount is applicable towards. */ + targetType: DiscountApplicationTargetType; + /** The value of the discount application. */ + value: PricingValue; +}; + +/** Represents an error in the input of a mutation. */ +export type DisplayableError = { + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** A unique string representing the address of a Shopify store on the Internet. */ +export type Domain = Node & { + __typename?: 'Domain'; + /** The host name of the domain (for example, `example.com`). */ + host: Scalars['String']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The host of the primary domain that this domain redirects to (for example, `example.com`). */ + redirectHost?: Maybe; + /** The URL of the domain (for example, `example.com`). */ + url: Scalars['URL']['output']; +}; + +/** A draft order for the customer. Any fields related to money are in the presentment currency. */ +export type DraftOrder = Node & { + __typename?: 'DraftOrder'; + /** + * The billing address of the customer. + * + */ + billingAddress?: Maybe; + /** Whether the customer who made the draft order has an associated enabled contact. */ + contactExists: Scalars['Boolean']['output']; + /** The date and time when the draft order was created in Shopify. */ + createdAt: Scalars['DateTime']['output']; + /** + * The three-letter code for the currency of the store at the time that the invoice is sent. + * + */ + currencyCode: CurrencyCode; + /** The customer who placed the order. */ + customer?: Maybe; + /** The customer who placed the order. */ + customerV1?: Maybe; + /** The discount information for the draft order. */ + discountInformation: DraftOrderDiscountInformation; + /** The email address of the customer, which is used to send notifications to. */ + email?: Maybe; + /** The email address of the customer, which is used to send notifications to. */ + emailAddress?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** Whether the draft order is created from the online store and is open. */ + inReview: Scalars['Boolean']['output']; + /** The link to the checkout, which is sent to the customer in the invoice email. */ + invoiceUrl?: Maybe; + /** The list of the line items in the draft order. */ + lineItems: DraftOrderLineItemConnection; + /** The summary of draft order line items quantity. */ + lineItemsSummary?: Maybe; + /** + * The unique identifier for the draft order, which is unique within the store. For example, _#D1223_. + * + */ + name: Scalars['String']['output']; + /** The order that was created from this draft order. */ + order?: Maybe; + /** The phone number assigned to the draft order. */ + phone?: Maybe; + /** The purchasing entity for the draft order. */ + purchasingEntity?: Maybe; + /** The purchasing entity for the draft order. */ + purchasingEntityV1?: Maybe; + /** Whether the draft order requires shipping or not. */ + requiresShipping: Scalars['Boolean']['output']; + /** The shipping address of the customer. */ + shippingAddress?: Maybe; + /** The status of the draft order. */ + status: DraftOrderStatus; + /** + * The subtotal of the line items (doesn't include shipping charges, shipping discounts, or taxes). + * + */ + subtotalPrice: MoneyV2; + /** + * The subtotal of the line items (doesn't include shipping charges, taxes, or any discounts). + * + */ + subtotalPriceBeforeDiscounts: MoneyV2; + /** Indicates whether the draft order is tax exempt. */ + taxExempt: Scalars['Boolean']['output']; + /** Whether the line item prices include taxes. */ + taxesIncluded: Scalars['Boolean']['output']; + /** The total price of line items for this draft order. */ + totalLineItemsPrice: MoneyV2; + /** + * The total amount of the draft order (includes taxes, shipping charges, and discounts). + * + */ + totalPrice: MoneyV2; + /** + * The total shipping charge for the draft order. + * + */ + totalShippingPrice: MoneyV2; + /** + * The total amount of taxes for the draft order. + * + */ + totalTax: MoneyV2; + /** The total weight (in grams) of the draft order. */ + totalWeight: Scalars['UnsignedInt64']['output']; + /** + * The date and time when the draft order was last changed. + * The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01). + * + */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** A draft order for the customer. Any fields related to money are in the presentment currency. */ +export type DraftOrderLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The order-level discount applied to a draft order. */ +export type DraftOrderAppliedDiscount = { + __typename?: 'DraftOrderAppliedDiscount'; + /** The amount of money discounted. */ + discountValue: MoneyV2; + /** The name of the order-level discount. */ + title?: Maybe; +}; + +/** The set of valid sort keys for the DraftOrderByCompany query. */ +export type DraftOrderByCompanySortKeys = + /** Sort by the `customer_name` value. */ + | 'CUSTOMER_NAME' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `number` value. */ + | 'NUMBER' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `status` value. */ + | 'STATUS' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The set of valid sort keys for the DraftOrderByLocation query. */ +export type DraftOrderByLocationSortKeys = + /** Sort by the `customer_name` value. */ + | 'CUSTOMER_NAME' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `number` value. */ + | 'NUMBER' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `status` value. */ + | 'STATUS' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** + * An auto-generated type for paginating through multiple DraftOrders. + * + */ +export type DraftOrderConnection = { + __typename?: 'DraftOrderConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in DraftOrderEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** The discount information associated with a draft order. */ +export type DraftOrderDiscountInformation = { + __typename?: 'DraftOrderDiscountInformation'; + /** The order-level discount applied to the draft order. */ + appliedDiscount?: Maybe; + /** The total discounts applied to the draft order. */ + totalDiscounts: MoneyV2; +}; + +/** + * An auto-generated type which holds one DraftOrder and a cursor during pagination. + * + */ +export type DraftOrderEdge = { + __typename?: 'DraftOrderEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of DraftOrderEdge. */ + node: DraftOrder; +}; + +/** A line item included in a draft order. */ +export type DraftOrderLineItem = Node & { + __typename?: 'DraftOrderLineItem'; + /** The discount information for the draft order line item. */ + discountInformation: DraftOrderLineItemDiscountInformation; + /** + * The total price of the line item after discounts have been applied. + * + */ + discountedTotal: MoneyV2; + /** + * The discounted total divided by the quantity, resulting in the value of the discount per unit. + * + */ + discountedUnitPrice: MoneyV2; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The image associated with the line item. */ + image?: Maybe; + /** The name of the product. */ + name: Scalars['String']['output']; + /** + * The total price of the line item, based on the original unit price of the variant multiplied by the quantity. This total doesn't include any discounts. + * + */ + originalTotal: MoneyV2; + /** The price of the variant without any discounts applied. */ + originalUnitPrice: MoneyV2; + /** The quantity of this variant item in the draft order. */ + quantity: Scalars['Int']['output']; + /** Whether the variant requires physical shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The SKU number of the variant. */ + sku?: Maybe; + /** Whether the variant is taxable. */ + taxable: Scalars['Boolean']['output']; + /** The title of the product or variant. This only applies to custom line items. */ + title: Scalars['String']['output']; + /** The name of the product variant. */ + variantTitle?: Maybe; + /** The name of the vendor of the variant. */ + vendor?: Maybe; + /** The weight of the line item, including the unit and value. */ + weight?: Maybe; +}; + +/** A line item included in a draft order. */ +export type DraftOrderLineItemImageArgs = { + crop?: InputMaybe; + maxHeight?: InputMaybe; + maxWidth?: InputMaybe; + scale?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple DraftOrderLineItems. + * + */ +export type DraftOrderLineItemConnection = { + __typename?: 'DraftOrderLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in DraftOrderLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** The discount information for the draft order line item. */ +export type DraftOrderLineItemDiscountInformation = { + __typename?: 'DraftOrderLineItemDiscountInformation'; + /** The title of the discount. */ + title?: Maybe; + /** The total discount applied to the line item. */ + totalDiscount: MoneyV2; +}; + +/** + * An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination. + * + */ +export type DraftOrderLineItemEdge = { + __typename?: 'DraftOrderLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of DraftOrderLineItemEdge. */ + node: DraftOrderLineItem; +}; + +/** The quantitative summary of the line items in a specific draft order. */ +export type DraftOrderLineItemsSummary = { + __typename?: 'DraftOrderLineItemsSummary'; + /** The total number of line items in the draft order. */ + lineItemCount: Scalars['Int']['output']; + /** The total quantity of all line items in the draft order. */ + totalQuantityOfLineItems: Scalars['Int']['output']; +}; + +/** The set of valid sort keys for the DraftOrder query. */ +export type DraftOrderSortKeys = + /** Sort by the `customer_name` value. */ + | 'CUSTOMER_NAME' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `number` value. */ + | 'NUMBER' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `status` value. */ + | 'STATUS' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The valid statuses for a draft order. */ +export type DraftOrderStatus = + /** The draft order has been paid. */ + | 'COMPLETED' + /** An invoice for the draft order has been sent to the customer. */ + | 'INVOICE_SENT' + /** The draft order is open. It has not been paid, and an invoice hasn't been sent. */ + | 'OPEN'; + +/** A sale that includes a duty charge. */ +export type DutySale = Node & + Sale & { + __typename?: 'DutySale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** + * Represents the customer's consent to receive marketing material by email. + * + */ +export type EmailMarketingConsentState = Node & { + __typename?: 'EmailMarketingConsentState'; + /** + * The date and time when the customer consented to receive marketing material by email. + * + */ + consentUpdatedAt?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** + * The marketing subscription opt-in level that the customer gave when they consented to receive marketing material by email. + * + */ + marketingOptInLevel?: Maybe; + /** The current email marketing state for the customer. */ + marketingState: EmailMarketingState; +}; + +/** + * Represents the possible email marketing states for a customer. + * + */ +export type EmailMarketingState = + /** + * The customer’s email marketing state is invalid. + * + */ + | 'INVALID' + /** + * The customer isn't subscribed to email marketing. + * + */ + | 'NOT_SUBSCRIBED' + /** + * The customer is in the process of subscribing to email marketing. + * + */ + | 'PENDING' + /** + * The customer's personal data has been erased. This value is internally-set and read-only. + * + */ + | 'REDACTED' + /** + * The customer is subscribed to email marketing. + * + */ + | 'SUBSCRIBED' + /** + * The customer is not currently subscribed to email marketing but was previously subscribed. + * + */ + | 'UNSUBSCRIBED'; + +/** Tokens used by ui extensions to query various APIs. */ +export type ExtensionApiTokens = { + __typename?: 'ExtensionApiTokens'; + /** The token for querying the storefront API. */ + storefrontApi?: Maybe; +}; + +/** Ephemeral token used by ui extensions to query the storefront API. */ +export type ExtensionStorefrontApiToken = { + __typename?: 'ExtensionStorefrontApiToken'; + /** The expiration time of the token. */ + expiresAt: Scalars['ISO8601DateTime']['output']; + /** The ephemeral token used for querying the storefront API. */ + token: Scalars['String']['output']; +}; + +/** Represents a single fulfillment in an order. */ +export type Fulfillment = Node & { + __typename?: 'Fulfillment'; + /** The date and time when the fulfillment was created. */ + createdAt: Scalars['DateTime']['output']; + /** The estimated delivery time of this fulfillment. */ + estimatedDeliveryAt?: Maybe; + /** A collection of fulfillment events. */ + events: FulfillmentEventConnection; + /** The line items in the fulfillment. */ + fulfillmentLineItems: FulfillmentLineItemConnection; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** Whether the fulfillment is picked up locally. */ + isPickedUp: Scalars['Boolean']['output']; + /** The latest shipment status for the fulfillment. */ + latestShipmentStatus?: Maybe; + /** The pickup address for the fulfillment. */ + pickupAddress?: Maybe; + /** Whether any line items in the fulfillment require shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The status of the fulfillment. */ + status?: Maybe; + /** The tracking information associated with the fulfillment. */ + trackingInformation: Array; + /** The date and time when the fulfillment was updated. */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** Represents a single fulfillment in an order. */ +export type FulfillmentEventsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a single fulfillment in an order. */ +export type FulfillmentFulfillmentLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple Fulfillments. + * + */ +export type FulfillmentConnection = { + __typename?: 'FulfillmentConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in FulfillmentEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one Fulfillment and a cursor during pagination. + * + */ +export type FulfillmentEdge = { + __typename?: 'FulfillmentEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of FulfillmentEdge. */ + node: Fulfillment; +}; + +/** An event that occurred for a fulfillment. */ +export type FulfillmentEvent = Node & { + __typename?: 'FulfillmentEvent'; + /** + * The time when this fulfillment event occurred. + * + */ + happenedAt: Scalars['DateTime']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** + * The status of the fulfillment event. + * + */ + status: FulfillmentEventStatus; +}; + +/** + * An auto-generated type for paginating through multiple FulfillmentEvents. + * + */ +export type FulfillmentEventConnection = { + __typename?: 'FulfillmentEventConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in FulfillmentEventEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one FulfillmentEvent and a cursor during pagination. + * + */ +export type FulfillmentEventEdge = { + __typename?: 'FulfillmentEventEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of FulfillmentEventEdge. */ + node: FulfillmentEvent; +}; + +/** The set of valid sort keys for the FulfillmentEvent query. */ +export type FulfillmentEventSortKeys = + /** Sort by the `happened_at` value. */ + | 'HAPPENED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE'; + +/** + * The status of a fulfillment event. + * + */ +export type FulfillmentEventStatus = + /** + * A delivery was attempted. + * + */ + | 'ATTEMPTED_DELIVERY' + /** + * The fulfillment has been picked up by the carrier. + * + */ + | 'CARRIER_PICKED_UP' + /** + * The fulfillment is confirmed. + * + */ + | 'CONFIRMED' + /** + * The fulfillment is delayed. + * + */ + | 'DELAYED' + /** + * The fulfillment was successfully delivered. + * + */ + | 'DELIVERED' + /** + * The fulfillment request failed. + * + */ + | 'FAILURE' + /** + * The fulfillment is in transit. + * + */ + | 'IN_TRANSIT' + /** + * A purchased shipping label has been printed. + * + */ + | 'LABEL_PRINTED' + /** + * A shipping label has been purchased. + * + */ + | 'LABEL_PURCHASED' + /** + * The fulfillment is out for delivery. + * + */ + | 'OUT_FOR_DELIVERY' + /** + * The fulfillment was successfully picked up. + * + */ + | 'PICKED_UP' + /** + * The fulfillment is ready to be picked up. + * + */ + | 'READY_FOR_PICKUP'; + +/** Represents a line item from an order that's included in a fulfillment. */ +export type FulfillmentLineItem = Node & { + __typename?: 'FulfillmentLineItem'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The line item associated with the order. */ + lineItem: LineItem; + /** The number of line items in the fulfillment. */ + quantity?: Maybe; +}; + +/** + * An auto-generated type for paginating through multiple FulfillmentLineItems. + * + */ +export type FulfillmentLineItemConnection = { + __typename?: 'FulfillmentLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in FulfillmentLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. + * + */ +export type FulfillmentLineItemEdge = { + __typename?: 'FulfillmentLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of FulfillmentLineItemEdge. */ + node: FulfillmentLineItem; +}; + +/** The set of valid sort keys for the Fulfillment query. */ +export type FulfillmentSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE'; + +/** The status of a fulfillment. */ +export type FulfillmentStatus = + /** The fulfillment was canceled. */ + | 'CANCELLED' + /** There was an error with the fulfillment request. */ + | 'ERROR' + /** The fulfillment request failed. */ + | 'FAILURE' + /** + * The third-party fulfillment service has acknowledged the fulfillment and is processing it. + * + */ + | 'OPEN' + /** + * Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`. + * + */ + | 'PENDING' + /** The fulfillment was completed successfully. */ + | 'SUCCESS'; + +/** The gift card payment details related to a transaction. */ +export type GiftCardDetails = { + __typename?: 'GiftCardDetails'; + /** The balance of the gift card in shop and presentment currencies. */ + balance: MoneyV2; + /** The last characters of the gift card. */ + last4: Scalars['String']['output']; +}; + +/** A sale associated with a gift card. */ +export type GiftCardSale = Node & + Sale & { + __typename?: 'GiftCardSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The line item associated with the sale. */ + lineItem: LineItem; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** The input fields for the billing address received from Google Pay. */ +export type GooglePayBillingAddressInput = { + /** The first line of the address, typically the street address or PO Box number. */ + address1?: InputMaybe; + /** The second line of the address, typically the apartment, suite, or unit number. */ + address2?: InputMaybe; + /** The region of the address, such as the province, state, or district. */ + administrativeArea?: InputMaybe; + /** The two-letter code for the country of the address. */ + countryCode?: InputMaybe; + /** The name of the city, district, village, or town. */ + locality?: InputMaybe; + /** The name of the customer. */ + name?: InputMaybe; + /** The telephone number of the customer. */ + phoneNumber?: InputMaybe; + /** The zip or postal code of the address. */ + postalCode?: InputMaybe; +}; + +/** Return type for `googlePayCreditCardAdd` mutation. */ +export type GooglePayCreditCardAddPayload = { + __typename?: 'GooglePayCreditCardAddPayload'; + /** The updated credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `googlePayCreditCardUpdate` mutation. */ +export type GooglePayCreditCardUpdatePayload = { + __typename?: 'GooglePayCreditCardUpdatePayload'; + /** The updated credit card. */ + creditCard?: Maybe; + /** If the card verification result is processing. When this is true, credit_card will be null. */ + processing?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The configuration settings for the Google Pay wallet. */ +export type GooglePayWalletConfig = { + __typename?: 'GooglePayWalletConfig'; + /** The authentication methods allowed by Google Pay. */ + allowedAuthMethods: Array; + /** The card networks accepted by Google Pay. */ + allowedCardNetworks: Array; + /** The Auth JWT used for Google Pay requests. */ + authJwt: Scalars['String']['output']; + /** The current operating environment (TEST or PRODUCTION). */ + environment: Scalars['String']['output']; + /** The gateway name for Google Pay. */ + gateway: Scalars['String']['output']; + /** The gateway merchant ID for Google Pay. */ + gatewayMerchantId: Scalars['String']['output']; + /** The merchant ID for Google Pay. */ + merchantId: Scalars['String']['output']; + /** The merchant name for Google Pay. */ + merchantName: Scalars['String']['output']; + /** The merchant origin for Google Pay. */ + merchantOrigin: Scalars['String']['output']; +}; + +/** The information about the metafields associated with the specified resource. */ +export type HasMetafields = { + /** A metafield found by namespace and key. */ + metafield?: Maybe; + /** + * The metafields associated with the resource matching the + * supplied list of namespaces and keys. + * + */ + metafields: Array>; +}; + +/** The information about the metafields associated with the specified resource. */ +export type HasMetafieldsMetafieldArgs = { + key: Scalars['String']['input']; + namespace: Scalars['String']['input']; +}; + +/** The information about the metafields associated with the specified resource. */ +export type HasMetafieldsMetafieldsArgs = { + identifiers: Array; +}; + +/** The input fields to identify a metafield on an owner resource by namespace and key. */ +export type HasMetafieldsIdentifier = { + /** The identifier for the metafield. */ + key: Scalars['String']['input']; + /** A container for a set of metafields. */ + namespace: Scalars['String']['input']; +}; + +/** Represents an image resource. */ +export type Image = { + __typename?: 'Image'; + /** A word or phrase to share the nature or contents of an image. */ + altText?: Maybe; + /** The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */ + height?: Maybe; + /** A unique ID for the image. */ + id?: Maybe; + /** + * The location of the original image as a URL. + * + * If there are any existing transformations in the original source URL, they will remain and not be stripped. + * + * @deprecated Use `url` instead. + */ + originalSrc: Scalars['URL']['output']; + /** + * The location of the image as a URL. + * @deprecated Use `url` instead. + */ + src: Scalars['URL']['output']; + /** + * The location of the transformed image as a URL. + * + * All transformation arguments are considered "best-effort". If they can be applied to an image, they will be. + * Otherwise any transformations which an image type doesn't support will be ignored. + * + * @deprecated Use `url(transform:)` instead + */ + transformedSrc: Scalars['URL']['output']; + /** + * The location of the image as a URL. + * + * If no transform options are specified, then the original image will be preserved including any pre-applied transforms. + * + * All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored. + * + * If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases). + * + */ + url: Scalars['URL']['output']; + /** The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */ + width?: Maybe; +}; + +/** Represents an image resource. */ +export type ImageTransformedSrcArgs = { + crop?: InputMaybe; + maxHeight?: InputMaybe; + maxWidth?: InputMaybe; + preferredContentType?: InputMaybe; + scale?: InputMaybe; +}; + +/** Represents an image resource. */ +export type ImageUrlArgs = { + transform?: InputMaybe; +}; + +/** List of supported image content types. */ +export type ImageContentType = + /** A JPG image. */ + | 'JPG' + /** A PNG image. */ + | 'PNG' + /** A WEBP image. */ + | 'WEBP'; + +/** + * The available options for transforming an image. + * + * All transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored. + * + */ +export type ImageTransformInput = { + /** + * The region of the image to remain after cropping. + * Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal. + * The `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while + * a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result + * in an image with a width of 5 and height of 10, where the right side of the image is removed. + * + */ + crop?: InputMaybe; + /** + * Image height in pixels between 1 and 5760. + * + */ + maxHeight?: InputMaybe; + /** + * Image width in pixels between 1 and 5760. + * + */ + maxWidth?: InputMaybe; + /** + * Convert the source image into the preferred content type. + * Supported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`. + * + */ + preferredContentType?: InputMaybe; + /** + * Image size multiplier for high-resolution retina displays. Must be within 1..3. + * + */ + scale?: InputMaybe; +}; + +/** A single line item in an order. */ +export type LineItem = Node & { + __typename?: 'LineItem'; + /** + * The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies. + * + */ + currentTotalPrice?: Maybe; + /** The list of custom attributes associated with the line item. */ + customAttributes: Array; + /** The discounts that have been allocated onto the line item by discount applications. */ + discountAllocations: Array; + /** The discount information for the line item. */ + discountInformation: Array; + /** Whether the line item represents the purchase of a gift card. */ + giftCard: Scalars['Boolean']['output']; + /** The title of the line item group associated with the line item. */ + groupTitle?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The image object associated with the line item. */ + image?: Maybe; + /** The name of the product. */ + name: Scalars['String']['output']; + /** The title of the line item variant. */ + presentmentTitle?: Maybe; + /** The product variant price without any discounts applied, in presentment currencies. */ + price?: Maybe; + /** The product's ID. */ + productId?: Maybe; + /** The product's type. */ + productType?: Maybe; + /** The number of variant items ordered. */ + quantity: Scalars['Int']['output']; + /** The quantity of the line item, minus the removed quantity. */ + refundableQuantity: Scalars['Int']['output']; + /** Whether physical shipping is required for the variant. */ + requiresShipping: Scalars['Boolean']['output']; + /** The selling plan details associated with the line item. */ + sellingPlan?: Maybe; + /** The SKU number of the variant. */ + sku?: Maybe; + /** The discounts that have been allocated onto the line item, ignoring returns. */ + soldDiscountInformation: Array; + /** The total price of the line item, ignoring returns, with discounts included. */ + soldDiscountedTotalPrice?: Maybe; + /** The quantity of sold line item, ignoring returns. */ + soldQuantity?: Maybe; + /** The total price of the line item, ignoring returns, before discounts. */ + soldTotalPrice?: Maybe; + /** The reasons that the customer can return this line item. */ + supportedReturnReasons: Array; + /** The title of the product or variant. This field only applies to custom line items. */ + title: Scalars['String']['output']; + /** + * The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item. + * + */ + totalDiscount: MoneyV2; + /** + * The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies. + * + */ + totalPrice?: Maybe; + /** + * The total price of the line item, calculated by multiplying the unit price of the variant (before any discounts) by the quantity, expressed in presentment currencies. + * + */ + totalPriceBeforeDiscounts?: Maybe; + /** + * The total price of the line item, calculated by multiplying the unit price of the variant (after line item discounts) by the quantity, expressed in presentment currencies. + * + */ + totalPriceWithDiscounts?: Maybe; + /** The unit price of the line item in presentment currencies. */ + unitPrice?: Maybe; + /** The ID of the variant. */ + variantId?: Maybe; + /** The options of the product variant. */ + variantOptions?: Maybe>; + /** The name of the variant. */ + variantTitle?: Maybe; + /** The product's vendor. */ + vendor?: Maybe; +}; + +/** + * An auto-generated type for paginating through multiple LineItems. + * + */ +export type LineItemConnection = { + __typename?: 'LineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in LineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * The information about the line item category for the order. + * + */ +export type LineItemContainer = + | RemainingLineItemContainer + | UnfulfilledDigitalLineItemContainer + | UnfulfilledGiftCardLineItemContainer + | UnfulfilledLineItemContainer + | UnfulfilledPhysicalLineItemContainer; + +/** + * The information about the line item in the line item container. + * + */ +export type LineItemContainerLineItem = Node & { + __typename?: 'LineItemContainerLineItem'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The line item associated with the container. */ + lineItem: LineItem; + /** The number of units yet to be fulfilled. */ + remainingQuantity: Scalars['Int']['output']; + /** The total number of units in this fulfillment. */ + totalQuantity: Scalars['Int']['output']; +}; + +/** + * An auto-generated type for paginating through multiple LineItemContainerLineItems. + * + */ +export type LineItemContainerLineItemConnection = { + __typename?: 'LineItemContainerLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in LineItemContainerLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one LineItemContainerLineItem and a cursor during pagination. + * + */ +export type LineItemContainerLineItemEdge = { + __typename?: 'LineItemContainerLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of LineItemContainerLineItemEdge. */ + node: LineItemContainerLineItem; +}; + +/** The discount information for a specific line item. */ +export type LineItemDiscountInformation = { + __typename?: 'LineItemDiscountInformation'; + /** The value of the applied discount. */ + discountValue: MoneyV2; + /** The title of the discount. */ + title?: Maybe; +}; + +/** + * An auto-generated type which holds one LineItem and a cursor during pagination. + * + */ +export type LineItemEdge = { + __typename?: 'LineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of LineItemEdge. */ + node: LineItem; +}; + +/** The selling plan for a line item. */ +export type LineItemSellingPlan = { + __typename?: 'LineItemSellingPlan'; + /** + * The name of the selling plan for display purposes. + * + */ + name: Scalars['String']['output']; + /** + * The ID of the selling plan associated with the line item. + * + */ + sellingPlanId?: Maybe; +}; + +/** The line item's variant option. */ +export type LineItemVariantOption = { + __typename?: 'LineItemVariantOption'; + /** The name of the option. */ + name: Scalars['String']['output']; + /** The value of the option. */ + value: Scalars['String']['output']; +}; + +/** Represents a company's business location. */ +export type Location = Node & { + __typename?: 'Location'; + /** The billing address of the company location. */ + billingAddress?: Maybe; + /** The configuration of the buyer's B2B checkout. */ + buyerExperienceConfiguration?: Maybe; + /** The list of contacts under a particular business location. */ + contacts: CompanyContactConnection; + /** The list of contacts under a particular business location. */ + contactsV1: ContactConnection; + /** The credit card corresponding to the provided ID. */ + creditCard?: Maybe; + /** The list of stored credit cards. */ + creditCards: CustomerCreditCardConnection; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The market that includes the location's shipping address. If the shipping address is empty, the shop's primary market is returned. */ + market: Market; + /** The name of the company location. */ + name: Scalars['String']['output']; + /** The list of roles assigned to this location. */ + roleAssignments: CompanyContactRoleAssignmentConnection; + /** The shipping address of the company location. */ + shippingAddress?: Maybe; + /** The list of tax exemptions applied to the location. */ + taxExemptions: Array; + /** The list of tax exemptions applied to the location with additional details. */ + taxExemptionsDetails: Array; + /** The tax id of the company location. */ + taxIdentifier?: Maybe; +}; + +/** Represents a company's business location. */ +export type LocationContactsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type LocationContactsV1Args = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type LocationCreditCardArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents a company's business location. */ +export type LocationCreditCardsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents a company's business location. */ +export type LocationRoleAssignmentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple Locations. + * + */ +export type LocationConnection = { + __typename?: 'LocationConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in LocationEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one Location and a cursor during pagination. + * + */ +export type LocationEdge = { + __typename?: 'LocationEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of LocationEdge. */ + node: Location; +}; + +/** + * Captures the intentions of a discount that was manually created. + * + */ +export type ManualDiscountApplication = DiscountApplication & { + __typename?: 'ManualDiscountApplication'; + /** The method by which the discount's value is allocated to its entitled items. */ + allocationMethod: DiscountApplicationAllocationMethod; + /** The description of the application. */ + description?: Maybe; + /** The lines of targetType that the discount is allocated over. */ + targetSelection: DiscountApplicationTargetSelection; + /** The type of line that the discount is applicable towards. */ + targetType: DiscountApplicationTargetType; + /** The title of the application. */ + title: Scalars['String']['output']; + /** The value of the discount application. */ + value: PricingValue; +}; + +/** + * A market, which is a group of one or more regions targeted for international sales. + * A market allows configuration of a distinct, localized shopping experience for customers from a specific area of the world. + * + */ +export type Market = Node & { + __typename?: 'Market'; + /** The short, human-readable unique identifier for the market. */ + handle: Scalars['String']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** + * The web presence of the market, defining its SEO strategy. This can be a different domain, + * subdomain, or subfolders of the primary domain. Each web presence comprises one or more + * language variants. If a market doesn't have its own web presence, then the market is accessible on the + * shop’s primary domain using [country + * selectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector). + * + */ + webPresence?: Maybe; +}; + +/** + * The web presence of the market, defining its SEO strategy. This can be a different domain + * (e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary + * domain (e.g. `example.com/en-ca`). Each web presence comprises one or more language + * variants. If a market does not have its own web presence, it is accessible on the shop’s + * primary domain via [country + * selectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector). + * + * Note: while the domain/subfolders defined by a market’s web presence are not applicable to + * custom storefronts, which must manage their own domains and routing, the languages chosen + * here do govern [the languages available on the Storefront + * API](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in + * this market. + * + */ +export type MarketWebPresence = Node & { + __typename?: 'MarketWebPresence'; + /** + * The domain of the web presence. + * This field will be null if `subfolderSuffix` isn't null. + * + */ + domain?: Maybe; + /** A globally-unique identifier. */ + id: Scalars['ID']['output']; + /** + * The list of root URLs for each of the web presence’s locales. + * + */ + rootUrls: Array; + /** The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null. */ + subfolderSuffix?: Maybe; +}; + +/** + * The URL for the homepage of the online store in the context of a particular market and a particular locale. + * + */ +export type MarketWebPresenceRootUrl = { + __typename?: 'MarketWebPresenceRootUrl'; + /** The locale in which the storefront loads. */ + locale: Scalars['String']['output']; + /** The URL of the homepage. */ + url: Scalars['URL']['output']; +}; + +/** + * The possible values for the marketing subscription opt-in level enabled + * when the customer consented to receive marketing information. + * + * The levels follow the M3AAWG best practices guideline + * [document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf). + * + */ +export type MarketingOptInLevel = + /** + * The customer gets a confirmation and needs to + * perform an intermediate step before getting marketing information after providing their information. + * + */ + | 'CONFIRMED_OPT_IN' + /** + * The customer gets marketing information without any + * intermediate steps after providing their information. + * + */ + | 'SINGLE_OPT_IN' + /** + * The customer gets marketing information, but the opt-in method is unknown. + * + */ + | 'UNKNOWN'; + +/** + * The custom metadata attached to a resource. Metafields can be sorted into namespaces and are + * comprised of keys, values, and value types. + * + */ +export type Metafield = Node & { + __typename?: 'Metafield'; + /** The date and time when the metafield was created. */ + createdAt: Scalars['DateTime']['output']; + /** The description of a metafield. */ + description?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The key name for a metafield. */ + key: Scalars['String']['output']; + /** The namespace for a metafield. */ + namespace: Scalars['String']['output']; + /** + * The type name of the metafield. + * See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). + * + */ + type: Scalars['String']['output']; + /** The date and time when the metafield was updated. */ + updatedAt: Scalars['DateTime']['output']; + /** The value of a metafield. */ + value: Scalars['String']['output']; +}; + +/** Value type to describe the Metafield value. */ +export type MetafieldValueType = + /** A boolean metafield. */ + | 'BOOLEAN' + /** A float. */ + | 'FLOAT' + /** An integer. */ + | 'INTEGER' + /** A JSON string. */ + | 'JSON_STRING' + /** A string. */ + | 'STRING'; + +/** + * A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions, + * when an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency). + * + */ +export type MoneyBag = { + __typename?: 'MoneyBag'; + /** Amount in presentment currency. */ + presentmentMoney: MoneyV2; + /** Amount in shop currency. */ + shopMoney: MoneyV2; +}; + +/** + * A monetary value with currency. + * + */ +export type MoneyV2 = { + __typename?: 'MoneyV2'; + /** Decimal money amount. */ + amount: Scalars['Decimal']['output']; + /** Currency of the money. */ + currencyCode: CurrencyCode; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type Mutation = { + __typename?: 'Mutation'; + /** + * Creates a new address for a customer. + * + */ + addressCreate?: Maybe; + /** + * Deletes a specific address for a customer. + * + */ + addressDelete?: Maybe; + /** + * Updates a specific address for a customer. + * + */ + addressUpdate?: Maybe; + /** Adds a new credit card using Apple Pay. */ + applePayCreditCardAdd?: Maybe; + /** Updates a credit card using Apple Pay. */ + applePayCreditCardUpdate?: Maybe; + /** Creates a new Apple Pay session. */ + applePaySessionCreate?: Maybe; + /** + * Updates the information for a business contact. + * + */ + businessContactUpdate?: Maybe; + /** + * Updates the information for a business contact. + * + */ + businessContactUpdateV1?: Maybe; + /** + * Creates a billing address for a business location and optionally a shipping address with the same input. + * + */ + businessLocationBillingAddressCreate?: Maybe; + /** + * Updates the billing address of a business location. + * + */ + businessLocationBillingAddressUpdate?: Maybe; + /** + * Adds a new credit card to the available payment methods of a customer. + * + */ + businessLocationCreditCardAdd?: Maybe; + /** + * Updates the details of a credit card for a customer. + * + */ + businessLocationCreditCardUpdate?: Maybe; + /** + * Removes a payment instrument from a customer. + * + */ + businessLocationPaymentInstrumentRemove?: Maybe; + /** + * Creates a shipping address for a business location and optionally a billing address with the same input. + * + */ + businessLocationShippingAddressCreate?: Maybe; + /** + * Updates the shipping address of a business location. + * + */ + businessLocationShippingAddressUpdate?: Maybe; + /** Updates an address on a company location. */ + companyLocationAssignAddress?: Maybe; + /** Adds a new credit card to a customer's list of available payment methods. */ + creditCardAdd?: Maybe; + /** Updates the details of a customer's credit card. */ + creditCardUpdate?: Maybe; + /** + * Creates a new address for a customer. + * + */ + customerAddressCreate?: Maybe; + /** + * Deletes a specific address for a customer. + * + */ + customerAddressDelete?: Maybe; + /** + * Updates a specific address for a customer. + * + */ + customerAddressUpdate?: Maybe; + /** Subscribes the customer's email to marketing. */ + customerEmailMarketingOptIn?: Maybe; + /** Subscribes the customer to email marketing. */ + customerEmailMarketingSubscribe?: Maybe; + /** Unsubscribes the customer from email marketing. */ + customerEmailMarketingUnsubscribe?: Maybe; + /** + * Updates the customer's personal information. + * + */ + customerUpdate?: Maybe; + /** Adds a new credit card by using Google Pay. */ + googlePayCreditCardAdd?: Maybe; + /** Updates a credit card using Google Pay. */ + googlePayCreditCardUpdate?: Maybe; + /** Request a new return on behalf of a customer. */ + orderRequestReturn?: Maybe; + /** Removes a payment instrument from a customer's account. */ + paymentInstrumentRemove?: Maybe; + /** + * Updates a customer's default payment instrument. + * + */ + paymentInstrumentUpdateDefault?: Maybe; + /** Connects a customer's PayPal account for use as a payment method. */ + paypalAccountEnable?: Maybe; + /** Creates a PayPal Express token. */ + paypalTokenCreate?: Maybe; + /** + * Updates the customer's personal information. + * + */ + personalInformationUpdate?: Maybe; + /** Resends a gift card to the customer. */ + resendGiftCard?: Maybe; + /** Provides a URL that enables the customer to update a Shop Pay credit card. */ + shopPayCreditCardGetUpdateUrl?: Maybe; + /** Skips a Subscription Billing Cycle. */ + subscriptionBillingCycleSkip?: Maybe; + /** Unskips a Subscription Billing Cycle. */ + subscriptionBillingCycleUnskip?: Maybe; + /** Activates a Subscription Contract. */ + subscriptionContractActivate?: Maybe; + /** Cancels a Subscription Contract. */ + subscriptionContractCancel?: Maybe; + /** Changes the payment instrument used for future billing cycles of a Subscription Contract. */ + subscriptionContractChangePaymentInstrument?: Maybe; + /** Fetches the available delivery options for a Subscription Contract. */ + subscriptionContractFetchDeliveryOptions?: Maybe; + /** Pauses a Subscription Contract. */ + subscriptionContractPause?: Maybe; + /** Selects an option from a delivery options result and updates the delivery method on a Subscription Contract. */ + subscriptionContractSelectDeliveryMethod?: Maybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationAddressCreateArgs = { + address: CustomerMailingAddressInput; + defaultAddress?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationAddressDeleteArgs = { + addressId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationAddressUpdateArgs = { + address?: InputMaybe; + addressId: Scalars['ID']['input']; + defaultAddress?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationApplePayCreditCardAddArgs = { + applePayTokenizedCard: Scalars['String']['input']; + billingAddress: ApplePayBillingAddressInput; + displayLastDigits?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationApplePayCreditCardUpdateArgs = { + applePayTokenizedCard: Scalars['String']['input']; + billingAddress: ApplePayBillingAddressInput; + displayLastDigits?: InputMaybe; + paymentMethodId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationApplePaySessionCreateArgs = { + resourceId: Scalars['String']['input']; + validationUrl: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessContactUpdateArgs = { + companyId?: InputMaybe; + input: BusinessContactUpdateInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessContactUpdateV1Args = { + companyId?: InputMaybe; + input: BusinessContactUpdateInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationBillingAddressCreateArgs = { + address: CompanyAddressInput; + companyLocationId: Scalars['ID']['input']; + useAsShipping?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationBillingAddressUpdateArgs = { + address: CompanyAddressInput; + companyLocationId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationCreditCardAddArgs = { + billingAddress: CustomerMailingAddressInput; + companyLocationId: Scalars['ID']['input']; + sessionId: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationCreditCardUpdateArgs = { + billingAddress: CustomerMailingAddressInput; + companyLocationId: Scalars['ID']['input']; + paymentMethodId: Scalars['ID']['input']; + sessionId: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationPaymentInstrumentRemoveArgs = { + companyLocationId: Scalars['ID']['input']; + paymentInstrumentId: Scalars['ID']['input']; + replacementPaymentInstrumentId?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationShippingAddressCreateArgs = { + address: CompanyAddressInput; + companyLocationId: Scalars['ID']['input']; + useAsBilling?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationBusinessLocationShippingAddressUpdateArgs = { + address: CompanyAddressInput; + companyLocationId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCompanyLocationAssignAddressArgs = { + address: CompanyAddressInput; + addressTypes: Array; + locationId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCreditCardAddArgs = { + billingAddress: CustomerMailingAddressInput; + default?: InputMaybe; + sessionId: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCreditCardUpdateArgs = { + billingAddress: CustomerMailingAddressInput; + paymentMethodId: Scalars['ID']['input']; + sessionId: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCustomerAddressCreateArgs = { + address: CustomerAddressInput; + defaultAddress?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCustomerAddressDeleteArgs = { + addressId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCustomerAddressUpdateArgs = { + address?: InputMaybe; + addressId: Scalars['ID']['input']; + defaultAddress?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationCustomerUpdateArgs = { + input: CustomerUpdateInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationGooglePayCreditCardAddArgs = { + billingAddress: GooglePayBillingAddressInput; + googlePayTokenizedCard: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationGooglePayCreditCardUpdateArgs = { + billingAddress: GooglePayBillingAddressInput; + googlePayTokenizedCard: Scalars['String']['input']; + paymentMethodId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationOrderRequestReturnArgs = { + orderId: Scalars['ID']['input']; + requestedLineItems: Array; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationPaymentInstrumentRemoveArgs = { + paymentInstrumentId: Scalars['ID']['input']; + replacementPaymentInstrumentId?: InputMaybe; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationPaymentInstrumentUpdateDefaultArgs = { + default: Scalars['Boolean']['input']; + paymentInstrumentId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationPaypalAccountEnableArgs = { + paypalPayerId: Scalars['String']['input']; + paypalToken: Scalars['String']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationPersonalInformationUpdateArgs = { + input: PersonalInformationUpdateInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationResendGiftCardArgs = { + orderId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationShopPayCreditCardGetUpdateUrlArgs = { + paymentMethodId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionBillingCycleSkipArgs = { + billingCycleInput: SubscriptionBillingCycleInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionBillingCycleUnskipArgs = { + billingCycleInput: SubscriptionBillingCycleInput; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractActivateArgs = { + subscriptionContractId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractCancelArgs = { + subscriptionContractId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractChangePaymentInstrumentArgs = { + paymentInstrumentId: Scalars['ID']['input']; + subscriptionContractId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractFetchDeliveryOptionsArgs = { + deliveryAddress?: InputMaybe; + subscriptionContractId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractPauseArgs = { + subscriptionContractId: Scalars['ID']['input']; +}; + +/** This is the schema's entry point for all mutation operations. */ +export type MutationSubscriptionContractSelectDeliveryMethodArgs = { + deliveryMethodInput: SubscriptionDeliveryMethodInput; + subscriptionContractId: Scalars['ID']['input']; + subscriptionDeliveryOptionsResultToken: Scalars['String']['input']; +}; + +/** + * An object with an ID field to support global identification, in accordance with the + * [Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface). + * This interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node) + * and [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries. + * + */ +export type Node = { + /** A globally-unique ID. */ + id: Scalars['ID']['output']; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type Order = HasMetafields & + Node & { + __typename?: 'Order'; + /** A list of sales agreements associated with the order. */ + agreements: SalesAgreementConnection; + /** + * The mailing address provided by the customer. Not all orders have a mailing address. + * + */ + billingAddress?: Maybe; + /** The reason for the cancellation of the order. Returns `null` if the order wasn't canceled. */ + cancelReason?: Maybe; + /** + * The date and time when the order was canceled. + * Returns `null` if the order wasn't canceled. + * + */ + cancelledAt?: Maybe; + /** The checkout token associated with this order. */ + checkoutToken?: Maybe; + /** + * A randomly generated alpha-numeric identifier for the order that may be shown to the customer + * instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ". + * This value isn't guaranteed to be unique. + * + */ + confirmationNumber?: Maybe; + /** Whether the customer who made the order has an enabled associated contact. */ + contactExists: Scalars['Boolean']['output']; + /** The date and time when the order was created. */ + createdAt: Scalars['DateTime']['output']; + /** The shop currency when the order was placed. */ + currencyCode: CurrencyCode; + /** The list of custom attributes associated with the order. */ + customAttributes: Array; + /** The customer who placed the order. */ + customer?: Maybe; + /** The locale code representing the region where this specific order was placed. */ + customerLocale?: Maybe; + /** The unique URL for the customer to access the order. */ + customerStatusPageUrl?: Maybe; + /** The customer who placed the order. */ + customerV1?: Maybe; + /** The discounts that have been applied to the order. */ + discountApplications: DiscountApplicationConnection; + /** The discount information for the order, including line-level discount applications. */ + discountInformation: OrderDiscountInformation; + /** The draft order associated with the order. */ + draftOrder?: Maybe; + /** The name of the associated draft order. */ + draftOrderName?: Maybe; + /** + * The edit summary of the order. + * + */ + editSummary?: Maybe; + /** Whether the order has been edited or not. */ + edited: Scalars['Boolean']['output']; + /** The email address of the customer. */ + email?: Maybe; + /** The email address of the customer. */ + emailAddress?: Maybe; + /** The financial status of the order. */ + financialStatus?: Maybe; + /** The fulfillment status of the order. */ + fulfillmentStatus: OrderFulfillmentStatus; + /** The fulfillments associated with the order. */ + fulfillments: FulfillmentConnection; + /** Whether the customer has an email address. */ + hasEmail: Scalars['Boolean']['output']; + /** Whether the order has multiple fulfillments. */ + hasMultipleFulfillments: Scalars['Boolean']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The delivery or estimated delivery date of the latest fulfillment. */ + latestFulfillmentDeliveryDate?: Maybe; + /** The list of the order's line item containers (e.g., Unfulfilled). */ + lineItemContainers: Array; + /** The list of line items of the order. */ + lineItems: LineItemConnection; + /** The summary of the quantity of line items for the order. */ + lineItemsSummary?: Maybe; + /** The name of the fulfillment location assigned at the time of order creation. */ + locationName?: Maybe; + /** The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty. */ + market: Market; + /** A metafield found by namespace and key. */ + metafield?: Maybe; + /** + * The metafields associated with the resource matching the + * supplied list of namespaces and keys. + * + */ + metafields: Array>; + /** + * The identifier for the order that appears on the order. + * For example, _#1000_ or _Store1001. + * + */ + name: Scalars['String']['output']; + /** The order's notes. */ + note?: Maybe; + /** A unique numeric identifier for the order, used by both the shop owner and customer. */ + number: Scalars['Int']['output']; + /** The list of metafields associated with the order receipt. */ + orderReceiptMetafields: Array; + /** The payment information for the order. */ + paymentInformation?: Maybe; + /** + * Represents the merchant configured payment terms. + * + */ + paymentTermsTemplate?: Maybe; + /** The phone number of the customer for SMS notifications. */ + phone?: Maybe; + /** The pickup information for the order. */ + pickupInformation?: Maybe; + /** The purchase order number of the order. */ + poNumber?: Maybe; + /** + * The date and time when the order was processed. + * This value can be set to dates in the past when importing from other systems. + * If no value is provided, it will be auto-generated based on current date and time. + * + */ + processedAt: Scalars['DateTime']['output']; + /** The purchasing entity for the order. */ + purchasingEntity?: Maybe; + /** The purchasing entity for the order. */ + purchasingEntityV1?: Maybe; + /** A list of refunds associated with the order. */ + refunds: Array; + /** The path to recreate the order in the cart and redirect to checkout. Will return nil if the line item count exceeds 100. */ + reorderPath?: Maybe; + /** Whether the order requires shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The list of returns for the order with pagination. */ + returns: ReturnConnection; + /** + * The mailing address to which the order items are shipped. + * + */ + shippingAddress?: Maybe; + /** + * The discounts that have been allocated onto the shipping line by discount applications. + * + */ + shippingDiscountAllocations: Array; + /** A summary of all shipping costs on the order. */ + shippingLine?: Maybe; + /** The list of shipping line groups for the order. */ + shippingLineGroups: Array; + /** A summary of the shipping titles for the order. */ + shippingTitle?: Maybe; + /** The various fields for subscribing to order updates via Shop Pay. */ + shopAppLinksAndResources?: Maybe; + /** The totals and quantities for the order, ignoring returns. */ + soldInformation: OrderSoldInformation; + /** The unique URL for the status page of the order. */ + statusPageUrl: Scalars['URL']['output']; + /** The unique URL for the status page of the order. */ + statusUrl: Scalars['URL']['output']; + /** The price of the order before duties, shipping, and taxes. */ + subtotal?: Maybe; + /** The price of the order before order-level discounts, duties, shipping. It includes taxes in tax-inclusive orders. */ + subtotalBeforeDiscounts?: Maybe; + /** The total cost of shipping after discounts. */ + totalDiscountedShipping: MoneyV2; + /** The total amount of duties after returns. */ + totalDuties?: Maybe; + /** The total duties and duties status. */ + totalDutiesSummary?: Maybe; + /** The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned. */ + totalPrice: MoneyV2; + /** The total amount refunded. */ + totalRefunded: MoneyV2; + /** The total cost of shipping. */ + totalShipping: MoneyV2; + /** The total cost of taxes. */ + totalTax?: Maybe; + /** The total value of tips. */ + totalTip?: Maybe; + /** A list of transactions associated with the order. */ + transactions: Array; + }; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderAgreementsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderDiscountApplicationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderFulfillmentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderMetafieldArgs = { + key: Scalars['String']['input']; + namespace: Scalars['String']['input']; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderMetafieldsArgs = { + identifiers: Array; +}; + +/** A customer’s completed request to purchase one or more products from a shop. */ +export type OrderReturnsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * The possible order action types for a + * [sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement). + * + */ +export type OrderActionType = + /** An order with a purchase or charge. */ + | 'ORDER' + /** An edit to the order. */ + | 'ORDER_EDIT' + /** A refund on the order. */ + | 'REFUND' + /** An unknown agreement action. Represents new actions that may be added in future versions. */ + | 'UNKNOWN'; + +/** An agreement associated with an order placement. */ +export type OrderAgreement = Node & + SalesAgreement & { + __typename?: 'OrderAgreement'; + /** The date and time when the agreement occurred. */ + happenedAt: Scalars['DateTime']['output']; + /** The unique ID for the agreement. */ + id: Scalars['ID']['output']; + /** The order associated with the agreement. */ + order: Order; + /** The reason the agreement was created. */ + reason: OrderActionType; + /** The sales associated with the agreement. */ + sales: SaleConnection; + }; + +/** An agreement associated with an order placement. */ +export type OrderAgreementSalesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The information about all discounts applied to a specific order. */ +export type OrderAllDiscounts = { + __typename?: 'OrderAllDiscounts'; + /** The type of the discount application. */ + discountApplicationType: DiscountApplicationType; + /** The value of the applied discount. */ + discountValue: MoneyV2; + /** The type of line to which the discount applies. */ + targetType: DiscountApplicationTargetType; + /** The title of the discount. */ + title?: Maybe; +}; + +/** The set of valid sort keys for the OrderByCompany query. */ +export type OrderByCompanySortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `order_number` value. */ + | 'ORDER_NUMBER' + /** Sort by the `processed_at` value. */ + | 'PROCESSED_AT' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The set of valid sort keys for the OrderByContact query. */ +export type OrderByContactSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `order_number` value. */ + | 'ORDER_NUMBER' + /** Sort by the `processed_at` value. */ + | 'PROCESSED_AT' + /** Sort by the `purchasing_company_location_name` value. */ + | 'PURCHASING_COMPANY_LOCATION_NAME' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The set of valid sort keys for the OrderByLocation query. */ +export type OrderByLocationSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `order_number` value. */ + | 'ORDER_NUMBER' + /** Sort by the `processed_at` value. */ + | 'PROCESSED_AT' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The reason for the cancellation of the order. */ +export type OrderCancelReason = + /** The customer wanted to cancel the order. */ + | 'CUSTOMER' + /** Payment was declined. */ + | 'DECLINED' + /** The order was fraudulent. */ + | 'FRAUD' + /** There was insufficient inventory. */ + | 'INVENTORY' + /** The order was canceled for an unlisted reason. */ + | 'OTHER' + /** Staff made an error. */ + | 'STAFF'; + +/** + * An auto-generated type for paginating through multiple Orders. + * + */ +export type OrderConnection = { + __typename?: 'OrderConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in OrderEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** An order that redacts data if the requester does not have authorization to view it. */ +export type OrderDetailsPageOrder = Order | PublicOrder; + +/** The disount information for a specific order. */ +export type OrderDiscountInformation = { + __typename?: 'OrderDiscountInformation'; + /** The discount information for the order, including line_level discount applications. */ + allAppliedDiscounts: Array; + /** The order level discount information for the order. */ + allOrderLevelAppliedDiscounts: Array; + /** The order level discount information for the order. */ + allOrderLevelAppliedDiscountsOnSoldItems: Array; + /** Total discounts for the order. */ + totalDiscounts: MoneyV2; + /** The current order-level discount amount after all order updates. */ + totalOrderLevelAppliedDiscounts: MoneyV2; +}; + +/** + * The status of duties for the order. + * + */ +export type OrderDutiesStatusType = + /** The order is being shipped from another country, so duties and taxes may be charged on delivery. */ + | 'DUTIES_ERROR' + /** The order is being shipped from another country, so duties have been added to the order total. */ + | 'DUTIES_OK' + /** The order is being shipped from another country. Duties are not charged on orders of this value. */ + | 'DUTIES_ZERO'; + +/** + * The summary of duties associated with an order. + * + */ +export type OrderDutiesSummary = { + __typename?: 'OrderDutiesSummary'; + /** The total amount of duties for the order. */ + totalDuties?: Maybe; + /** The status of duties for the order. */ + totalDutiesStatus?: Maybe; +}; + +/** + * An auto-generated type which holds one Order and a cursor during pagination. + * + */ +export type OrderEdge = { + __typename?: 'OrderEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of OrderEdge. */ + node: Order; +}; + +/** An agreement related to an edit of the order. */ +export type OrderEditAgreement = Node & + SalesAgreement & { + __typename?: 'OrderEditAgreement'; + /** The date and time when the agreement occurred. */ + happenedAt: Scalars['DateTime']['output']; + /** The unique ID for the agreement. */ + id: Scalars['ID']['output']; + /** The reason the agreement was created. */ + reason: OrderActionType; + /** The sales associated with the agreement. */ + sales: SaleConnection; + }; + +/** An agreement related to an edit of the order. */ +export type OrderEditAgreementSalesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The edit summary associated with an order. */ +export type OrderEditSummary = { + __typename?: 'OrderEditSummary'; + /** The edit changes of the order. */ + changes: Array; + /** The date and time of the latest edit. */ + latestHappenedAt?: Maybe; +}; + +/** + * A change in the edit summary of an order. + * + */ +export type OrderEditSummaryChange = Node & { + __typename?: 'OrderEditSummaryChange'; + /** The quantity delta of the change. */ + delta: Scalars['Int']['output']; + /** The handle that describes the change type. */ + handle?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The line item associated with the change. */ + lineItem: LineItem; +}; + +/** Represents the order's current financial status. */ +export type OrderFinancialStatus = + /** Displayed as **Authorized**. */ + | 'AUTHORIZED' + /** Displayed as **Paid**. */ + | 'PAID' + /** Displayed as **Partially paid**. */ + | 'PARTIALLY_PAID' + /** Displayed as **Partially refunded**. */ + | 'PARTIALLY_REFUNDED' + /** Displayed as **Pending**. */ + | 'PENDING' + /** Displayed as **Refunded**. */ + | 'REFUNDED' + /** Displayed as **Voided**. */ + | 'VOIDED'; + +/** + * The aggregated fulfillment status of the order for display purposes. + * + */ +export type OrderFulfillmentStatus = + /** + * Attempted to deliver the fulfillment. + * + */ + | 'ATTEMPTED_TO_DELIVER' + /** + * The fulfillment is confirmed. + * + */ + | 'CONFIRMED' + /** + * The fulfillment has been successfully delivered. + * + */ + | 'DELIVERED' + /** + * The fulfillment is in transit. + * + */ + | 'IN_TRANSIT' + /** + * This order has multiple fulfillments with differing statuses. + * + */ + | 'MULTIPLE_SHIPMENTS' + /** + * The fulfillment is on its way. + * + */ + | 'ON_ITS_WAY' + /** + * The fulfillment is out for delivery. + * + */ + | 'OUT_FOR_DELIVERY' + /** + * The fulfillment has been picked up. + * + */ + | 'PICKED_UP' + /** + * The fulfillment is being prepared for shipping. + * + */ + | 'PREPARING_FOR_SHIPPING' + /** + * The fulfillment is ready to be picked up. + * + */ + | 'READY_FOR_PICKUP' + /** + * There was a problem with the fulfillment. + * + */ + | 'THERE_WAS_A_PROBLEM'; + +/** The quantitative information about the line items of a specific order. */ +export type OrderLineItemsSummary = { + __typename?: 'OrderLineItemsSummary'; + /** The number of line items in the order. */ + lineItemCount: Scalars['Int']['output']; + /** The total quantity of all line items in the order. */ + totalQuantityOfLineItems: Scalars['Int']['output']; + /** The total quantity of all tips in the order. */ + totalQuantityOfTipLineItems: Scalars['Int']['output']; +}; + +/** The summary of payment status information for the order. */ +export type OrderPaymentInformation = { + __typename?: 'OrderPaymentInformation'; + /** The URL for collecting a payment on the order. */ + paymentCollectionUrl?: Maybe; + /** The financial status of the order. */ + paymentStatus?: Maybe; + /** The payment terms linked with the order. */ + paymentTerms?: Maybe; + /** The total amount that's yet to be transacted for the order. */ + totalOutstandingAmount: MoneyV2; + /** The total amount that has been paid for the order before any refund. */ + totalPaidAmount: MoneyV2; +}; + +/** The current payment status of the order. */ +export type OrderPaymentStatus = + /** The payment has been authorized. */ + | 'AUTHORIZED' + /** The payment has expired. */ + | 'EXPIRED' + /** The payment has been paid. */ + | 'PAID' + /** The payment has been partially paid. */ + | 'PARTIALLY_PAID' + /** The payment has been partially refunded. */ + | 'PARTIALLY_REFUNDED' + /** The payment is pending. */ + | 'PENDING' + /** The payment has been refunded. */ + | 'REFUNDED' + /** The payment has been voided. */ + | 'VOIDED'; + +/** + * The pickup information associated with an order. + * + */ +export type OrderPickupInformation = { + __typename?: 'OrderPickupInformation'; + /** The pickup address for the order. */ + address?: Maybe; + /** The date and time when the pickup order was created. */ + createdAt?: Maybe; + /** The pickup status for the order. */ + status?: Maybe; + /** The date and time when the pickup order was updated. */ + updatedAt?: Maybe; +}; + +/** Return type for `orderRequestReturn` mutation. */ +export type OrderRequestReturnPayload = { + __typename?: 'OrderRequestReturnPayload'; + /** The return request that has been made. */ + return?: Maybe; +}; + +/** The group including the shipping lines of the order. */ +export type OrderShippingLineGroup = { + __typename?: 'OrderShippingLineGroup'; + /** The type of the shipping group. */ + groupType: DeliveryOptionGroupType; + /** The price of the shipping method after discounts. */ + lineAmountAfterDiscounts: MoneyV2; +}; + +/** A summary that regroups totals for an order, including the line items that have been returned. */ +export type OrderSoldInformation = { + __typename?: 'OrderSoldInformation'; + /** The total quantity of line items in the order, including the quantities for line items that have been returned. */ + quantity: Scalars['Int']['output']; + /** The total quantity of line items in the order that were refunded, even if the totalRefunded amount was zero. */ + refundedQuantity: Scalars['Int']['output']; + /** The total amount of the order (before shipping and discounts), including the amounts for line items that have been returned. */ + subtotal?: Maybe; + /** The total amount of the order (including taxes and discounts), including the amounts for line items that have been returned. */ + total?: Maybe; + /** The total discount amount for the order, including the amounts for line items that have been returned. */ + totalDiscount?: Maybe; + /** The total tax amount of the order, including the amounts for line items that have been returned. */ + totalTaxes?: Maybe; +}; + +/** The set of valid sort keys for the Order query. */ +export type OrderSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** Sort by the `order_number` value. */ + | 'ORDER_NUMBER' + /** Sort by the `processed_at` value. */ + | 'PROCESSED_AT' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `total_price` value. */ + | 'TOTAL_PRICE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** A payment transaction within an order context. */ +export type OrderTransaction = Node & + PaymentIcon & { + __typename?: 'OrderTransaction'; + /** The date and time when the transaction was created. */ + createdAt: Scalars['DateTime']['output']; + /** The gift card details for the transaction. */ + giftCardDetails?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The kind of the transaction. */ + kind?: Maybe; + /** The payment details for the transaction. */ + paymentDetails?: Maybe; + /** The payment icon to display for the transaction. */ + paymentIcon?: Maybe; + /** The date and time when the transaction was processed. */ + processedAt?: Maybe; + /** The status of the transaction. */ + status?: Maybe; + /** The amount and currency of the transaction in shop and presentment currencies. */ + transactionAmount: MoneyBag; + /** The ID of the parent transaction. */ + transactionParentId?: Maybe; + /** The type of the transaction. */ + type: OrderTransactionType; + /** The details of the transaction type. */ + typeDetails?: Maybe; + }; + +/** The kind of order transaction. */ +export type OrderTransactionKind = + /** An authorization transaction. */ + | 'AUTHORIZATION' + /** A capture transaction. */ + | 'CAPTURE' + /** A card approval transaction. */ + | 'CARD_APPROVAL' + /** A card decline transaction. */ + | 'CARD_DECLINE' + /** A change transaction. */ + | 'CHANGE' + /** An EMV authorization transaction. */ + | 'EMV_AUTHORIZATION' + /** A refund transaction. */ + | 'REFUND' + /** A refund EMV initiate transaction. */ + | 'REFUND_EMV_INITIATE' + /** A sale transaction. */ + | 'SALE' + /** A suggested refund transaction. */ + | 'SUGGESTED_REFUND' + /** A void transaction. */ + | 'VOID'; + +/** + * Represents the status of an order transaction. + * + */ +export type OrderTransactionStatus = + /** The transaction has an error. */ + | 'ERROR' + /** The transaction has failed. */ + | 'FAILURE' + /** The transaction is pending. */ + | 'PENDING' + /** The transaction is pending authentication. */ + | 'PENDING_AUTHENTICATION' + /** The transaction is successful. */ + | 'SUCCESS'; + +/** The type of order transaction. */ +export type OrderTransactionType = + /** A bank deposit transaction. */ + | 'BANK_DEPOSIT' + /** A card transaction. */ + | 'CARD' + /** A cash on delivery transaction. */ + | 'CASH_ON_DELIVERY' + /** A custom payment transaction. */ + | 'CUSTOM' + /** A gift card transaction. */ + | 'GIFT_CARD' + /** A generic manual transaction. */ + | 'MANUAL' + /** A money order transaction. */ + | 'MONEY_ORDER' + /** A Shopify installments transaction. */ + | 'SHOPIFY_INSTALLMENTS'; + +/** + * Returns information about pagination in a connection, in accordance with the + * [Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo). + * For more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql). + * + */ +export type PageInfo = { + __typename?: 'PageInfo'; + /** The cursor corresponding to the last node in edges. */ + endCursor?: Maybe; + /** Whether there are more pages to fetch following the current page. */ + hasNextPage: Scalars['Boolean']['output']; + /** Whether there are any pages prior to the current page. */ + hasPreviousPage: Scalars['Boolean']['output']; + /** The cursor corresponding to the first node in edges. */ + startCursor?: Maybe; +}; + +/** Payment details related to a transaction. */ +export type PaymentDetails = CardPaymentDetails; + +/** The payment icon to display for the transaction. */ +export type PaymentIcon = { + /** The payment icon to display for the transaction. */ + paymentIcon?: Maybe; +}; + +/** Represents an image resource. */ +export type PaymentIconImage = Node & { + __typename?: 'PaymentIconImage'; + /** A word or phrase to share the nature or contents of an image. */ + altText?: Maybe; + /** The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */ + height?: Maybe; + /** A unique non-nullable ID for the image. */ + id: Scalars['ID']['output']; + /** + * The location of the original image as a URL. + * + * If there are any existing transformations in the original source URL, they will remain and not be stripped. + * + * @deprecated Use `url` instead. + */ + originalSrc: Scalars['URL']['output']; + /** + * The location of the image as a URL. + * @deprecated Use `url` instead. + */ + src: Scalars['URL']['output']; + /** + * The location of the transformed image as a URL. + * + * All transformation arguments are considered "best-effort". If they can be applied to an image, they will be. + * Otherwise any transformations which an image type doesn't support will be ignored. + * + * @deprecated Use `url(transform:)` instead + */ + transformedSrc: Scalars['URL']['output']; + /** + * The location of the image as a URL. + * + * If no transform options are specified, then the original image will be preserved including any pre-applied transforms. + * + * All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored. + * + * If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases). + * + */ + url: Scalars['URL']['output']; + /** The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */ + width?: Maybe; +}; + +/** Represents an image resource. */ +export type PaymentIconImageTransformedSrcArgs = { + crop?: InputMaybe; + maxHeight?: InputMaybe; + maxWidth?: InputMaybe; + preferredContentType?: InputMaybe; + scale?: InputMaybe; +}; + +/** Represents an image resource. */ +export type PaymentIconImageUrlArgs = { + transform?: InputMaybe; +}; + +/** A payment instrument. */ +export type PaymentInstrument = { + /** A globally-unique ID. */ + id: Scalars['ID']['output']; +}; + +/** The billing address associated with a credit card payment instrument. */ +export type PaymentInstrumentBillingAddress = { + __typename?: 'PaymentInstrumentBillingAddress'; + /** The first line of the address, typically the street address or PO Box number. */ + address1?: Maybe; + /** The second line of the address, typically the apartment, suite, or unit number. */ + address2?: Maybe; + /** The name of the city, district, village, or town. */ + city?: Maybe; + /** The name of the country. */ + country?: Maybe; + /** The two-letter code for the country of the address, for example, US. */ + countryCode?: Maybe; + /** The first name in the address. */ + firstName?: Maybe; + /** The last name in the address. */ + lastName?: Maybe; + /** The region of the address, such as the province, state, or district. */ + province?: Maybe; + /** The two-letter code for the region, for example, ON. */ + provinceCode?: Maybe; + /** The zip or postal code of the address. */ + zip?: Maybe; +}; + +/** Return type for `paymentInstrumentRemove` mutation. */ +export type PaymentInstrumentRemovePayload = { + __typename?: 'PaymentInstrumentRemovePayload'; + /** The ID of the deleted payment instrument. */ + deletedPaymentInstrumentId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `paymentInstrumentUpdateDefault` mutation. */ +export type PaymentInstrumentUpdateDefaultPayload = { + __typename?: 'PaymentInstrumentUpdateDefaultPayload'; + /** The ID of the updated payment instrument. */ + updatedPaymentInstrumentId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The types of credit card wallets. */ +export type PaymentInstrumentWalletType = + /** The credit card is an Apple Pay wallet. */ + | 'APPLE_PAY' + /** The credit card is a Google Pay wallet. */ + | 'GOOGLE_PAY' + /** The credit card is a Shop Pay wallet. */ + | 'SHOP_PAY'; + +/** A single payment schedule defined in the payment terms. */ +export type PaymentSchedule = Node & { + __typename?: 'PaymentSchedule'; + /** The amount owed for this payment schedule. */ + amount: MoneyV2; + /** Whether the payment has been completed. */ + completed: Scalars['Boolean']['output']; + /** The date and time when the payment schedule was paid or fulfilled. */ + completedAt?: Maybe; + /** The date and time when the payment schedule is due. */ + dueAt?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; +}; + +/** + * An auto-generated type for paginating through multiple PaymentSchedules. + * + */ +export type PaymentScheduleConnection = { + __typename?: 'PaymentScheduleConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in PaymentScheduleEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one PaymentSchedule and a cursor during pagination. + * + */ +export type PaymentScheduleEdge = { + __typename?: 'PaymentScheduleEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of PaymentScheduleEdge. */ + node: PaymentSchedule; +}; + +/** The payment terms associated with an order or draft order. */ +export type PaymentTerms = Node & { + __typename?: 'PaymentTerms'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** + * The next due date if this is the NET or FIXED type of payment terms. + * + */ + nextDueAt?: Maybe; + /** Whether the payment terms have overdue payment schedules. */ + overdue: Scalars['Boolean']['output']; + /** The list of schedules associated with the payment terms. */ + paymentSchedules: PaymentScheduleConnection; + /** The name of the payment terms template that was used to create the payment terms. */ + paymentTermsName: Scalars['String']['output']; + /** The type of the payment terms template that was used to create the payment terms. */ + paymentTermsType: PaymentTermsType; +}; + +/** The payment terms associated with an order or draft order. */ +export type PaymentTermsPaymentSchedulesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The template for payment terms. */ +export type PaymentTermsTemplate = Node & { + __typename?: 'PaymentTermsTemplate'; + /** The description of the payment terms template. */ + description: Scalars['String']['output']; + /** The number of days between the issue date and due date for net-type payment terms. */ + dueInDays?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The name of the payment terms template. */ + name: Scalars['String']['output']; + /** The type of the payment terms template. */ + paymentTermsType: PaymentTermsType; + /** The translated name of the payment terms template. */ + translatedName: Scalars['String']['output']; +}; + +/** The type of a payment terms or a payment terms template. */ +export type PaymentTermsType = + /** The payment terms or payment terms template is fixed type (due on a specified date). */ + | 'FIXED' + /** The payment terms or payment terms template is due upon fulfillment. */ + | 'FULFILLMENT' + /** The payment terms or payment terms template is net type (due a number of days after issue). */ + | 'NET' + /** The payment terms or payment terms template is due upon receipt. */ + | 'RECEIPT' + /** The type of the payment terms or payment terms template is unknown. */ + | 'UNKNOWN'; + +/** Return type for `paypalAccountEnable` mutation. */ +export type PaypalAccountEnablePayload = { + __typename?: 'PaypalAccountEnablePayload'; + /** The newly established PayPal billing agreement. */ + paypalBillingAgreement?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** A payment method using a PayPal billing agreement. */ +export type PaypalBillingAgreement = Node & + PaymentInstrument & { + __typename?: 'PaypalBillingAgreement'; + /** The billing address associated with the payment method. */ + billingAddress?: Maybe; + /** The globally-unique ID. */ + id: Scalars['ID']['output']; + /** The email address associated with the PayPal account. */ + paypalAccountEmail?: Maybe; + /** The list of pending orders associated with this PayPal billing agreement. */ + pendingOrders: OrderConnection; + /** The list of subscription contracts charged using this PayPal billing agreement. */ + subscriptionContracts: SubscriptionContractConnection; + }; + +/** A payment method using a PayPal billing agreement. */ +export type PaypalBillingAgreementPendingOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A payment method using a PayPal billing agreement. */ +export type PaypalBillingAgreementSubscriptionContractsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Return type for `paypalTokenCreate` mutation. */ +export type PaypalTokenCreatePayload = { + __typename?: 'PaypalTokenCreatePayload'; + /** The created PayPal Express token. */ + token?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * The operations that can be performed on a B2B resource. + * + */ +export type PermittedOperation = + /** + * The permission to add a resource. + * + */ + | 'ADD' + /** + * All permissions for a resource. + * + */ + | 'ALL' + /** + * The permission to delete a resource. + * + */ + | 'DELETE' + /** + * The permission to edit a resource. + * + */ + | 'EDIT' + /** + * The permission to use a resource. + * + */ + | 'USE' + /** + * The permission to view a resource. + * + */ + | 'VIEW'; + +/** Represents the personal information of a customer. */ +export type PersonalAccount = HasMetafields & + Node & { + __typename?: 'PersonalAccount'; + /** + * Indicates if the customer accepts email marketing communication. + * If the customer doesn't have an email address, then this property is `false`. + * + */ + acceptsEmailMarketing: Scalars['Boolean']['output']; + /** + * Indicates if the customer accepts sms marketing communication. + * If the customer doesn't have a phone number, then this property is `false`. + * + */ + acceptsSmsMarketing: Scalars['Boolean']['output']; + /** The addresses associated with the customer. */ + addresses: CustomerMailingAddressConnection; + /** The list of wallet payment configs for providers that the payment method accepts. */ + availableWalletPaymentConfigs: Array; + /** The date and time when the customer was created. */ + createdAt: Scalars['DateTime']['output']; + /** The date and time when the customer was created. */ + creationDate: Scalars['DateTime']['output']; + /** A Credit Card resource identified by ID. */ + creditCard?: Maybe; + /** The stored Credit Cards associated with the customer. */ + creditCards: CustomerCreditCardConnection; + /** The email address of the customer. */ + customerEmailAddress?: Maybe; + /** The phone number of the customer. */ + customerPhoneNumber?: Maybe; + /** The default mailing address of the customer. */ + defaultAddress?: Maybe; + /** + * The full name of the customer, based on the first_name and last_name values. If these aren't available, it falls back to the customer's email address, and if that isn't available, the customer's phone number. + * + */ + displayName: Scalars['String']['output']; + /** A Draft Order resource identified by ID. */ + draftOrder?: Maybe; + /** The Draft Orders associated with the customer. */ + draftOrders: DraftOrderConnection; + /** The email address of the customer. */ + email?: Maybe; + /** + * The current email marketing state for the customer. + * If the customer doesn't have an email address, then this property is `null`. + * + */ + emailMarketingConsent?: Maybe; + /** The first name of the customer. */ + firstName?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The URL to the avatar image of the customer. */ + imageUrl: Scalars['URL']['output']; + /** The customer's most recently updated, incomplete checkout. */ + lastIncompleteCheckout?: Maybe; + /** The last name of the customer. */ + lastName?: Maybe; + /** A metafield found by namespace and key. */ + metafield?: Maybe; + /** + * The metafields associated with the resource matching the + * supplied list of namespaces and keys. + * + */ + metafields: Array>; + /** Returns an Order resource by ID. */ + order?: Maybe; + /** An Order resource identified by ID. */ + orderDetailsPageOrder?: Maybe; + /** The orders associated with the customer. */ + orders: OrderConnection; + /** A PayPal Billing Agreement resource. */ + paypalBillingAgreement?: Maybe; + /** The phone number of the customer. */ + phone?: Maybe; + /** A Return identified by ID. */ + return?: Maybe; + /** A Subscription Contract resource identified by ID. */ + subscriptionContract?: Maybe; + /** The Subscription Contracts associated with the customer. */ + subscriptionContracts: SubscriptionContractConnection; + /** A comma-separated list of tags that have been added to the customer. */ + tags: Array; + /** Indicates whether the customer is exempt from being charged taxes on their orders. */ + taxExempt: Scalars['Boolean']['output']; + /** The list of tax exemption types applied to the customer. */ + taxExemptions: Array; + /** The list of tax exemptions applied to the customer with additional details. */ + taxExemptionsDetails: Array; + }; + +/** Represents the personal information of a customer. */ +export type PersonalAccountAddressesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; + skipDefault?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountCreditCardArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountCreditCardsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountDraftOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountDraftOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountMetafieldArgs = { + key: Scalars['String']['input']; + namespace: Scalars['String']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountMetafieldsArgs = { + identifiers: Array; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountOrderDetailsPageOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountReturnArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountSubscriptionContractArgs = { + id: Scalars['ID']['input']; +}; + +/** Represents the personal information of a customer. */ +export type PersonalAccountSubscriptionContractsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * The input fields to update a customer's personal information. + * + */ +export type PersonalInformationUpdateInput = { + /** The customer's first name. */ + firstName?: InputMaybe; + /** The customer's last name. */ + lastName?: InputMaybe; +}; + +/** Return type for `personalInformationUpdate` mutation. */ +export type PersonalInformationUpdatePayload = { + __typename?: 'PersonalInformationUpdatePayload'; + /** The customer's personal information that has been updated. */ + personalInformation?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * The address of a pickup location. + * + */ +export type PickupAddress = { + __typename?: 'PickupAddress'; + /** The street address for the pickup location. */ + address1: Scalars['String']['output']; + /** Any additional address information for the pickup location. */ + address2?: Maybe; + /** The city of the pickup location. */ + city: Scalars['String']['output']; + /** The country code for the pickup location. */ + countryCode: CountryCode; + /** The phone number for the pickup location. */ + phone?: Maybe; + /** The ZIP code for the pickup location. */ + zip?: Maybe; + /** The province code for the pickup location. */ + zoneCode?: Maybe; +}; + +/** The status of the order's pickup. */ +export type PickupStatus = + /** The pickup of the order has been confirmed. */ + | 'CLOSED' + /** The order has been picked up. */ + | 'IN_PROGRESS' + /** The order is ready for pick up. */ + | 'OPEN'; + +/** Represents the value of the percentage pricing object. */ +export type PricingPercentageValue = { + __typename?: 'PricingPercentageValue'; + /** The percentage value of the object. */ + percentage: Scalars['Float']['output']; +}; + +/** The price value (fixed or percentage) for a discount application. */ +export type PricingValue = MoneyV2 | PricingPercentageValue; + +/** A sale associated with a product. */ +export type ProductSale = Node & + Sale & { + __typename?: 'ProductSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The line item for the associated sale. */ + lineItem: LineItem; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** The data that about an order that is visible to anyone with the order ID. */ +export type PublicOrder = Node & { + __typename?: 'PublicOrder'; + /** + * The date and time when the order was canceled. + * Returns `null` if the order wasn't canceled. + * + */ + cancelledAt?: Maybe; + /** + * A randomly generated alpha-numeric identifier for the order that may be shown to the customer + * instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ". + * This value isn't guaranteed to be unique. + * + */ + confirmationNumber?: Maybe; + /** The discount information for the order, including line-level discount applications. */ + discountInformation: OrderDiscountInformation; + /** The name of the associated draft order. */ + draftOrderName?: Maybe; + /** + * The edit summary of the order. + * + */ + editSummary?: Maybe; + /** The financial status of the order. */ + financialStatus?: Maybe; + /** The fulfillment status of the order. */ + fulfillmentStatus: OrderFulfillmentStatus; + /** The fulfillments associated with the order. */ + fulfillments: FulfillmentConnection; + /** Whether the customer has an email address. */ + hasEmail: Scalars['Boolean']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The list of the order's line item containers (e.g., Unfulfilled). */ + lineItemContainers: Array; + /** The list of line items of the order. */ + lineItems: LineItemConnection; + /** The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty. */ + market: Market; + /** + * The identifier for the order that appears on the order. + * For example, _#1000_ or _Store1001. + * + */ + name: Scalars['String']['output']; + /** The payment information for the order. */ + paymentInformation?: Maybe; + /** The pickup information for the order. */ + pickupInformation?: Maybe; + /** The purchase order number of the order. */ + poNumber?: Maybe; + /** + * The date and time when the order was processed. + * This value can be set to dates in the past when importing from other systems. + * If no value is provided, it will be auto-generated based on current date and time. + * + */ + processedAt: Scalars['DateTime']['output']; + /** The purchasing entity for the order. */ + purchasingEntity?: Maybe; + /** The purchasing entity for the order. */ + purchasingEntityV1?: Maybe; + /** A list of refunds associated with the order. */ + refunds: Array; + /** The path to recreate the order in the cart and redirect to checkout. Will return nil if the line item count exceeds 100. */ + reorderPath?: Maybe; + /** Whether the order requires shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The list of returns for the order with pagination. */ + returns: ReturnConnection; + /** The list of shipping line groups for the order. */ + shippingLineGroups: Array; + /** The totals and quantities for the order, ignoring returns. */ + soldInformation: OrderSoldInformation; + /** The price of the order before duties, shipping, and taxes. */ + subtotal?: Maybe; + /** The price of the order before order-level discounts, duties, shipping. It includes taxes in tax-inclusive orders. */ + subtotalBeforeDiscounts?: Maybe; + /** The total cost of shipping after discounts. */ + totalDiscountedShipping: MoneyV2; + /** The total amount of duties after returns. */ + totalDuties?: Maybe; + /** The total duties and duties status. */ + totalDutiesSummary?: Maybe; + /** The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned. */ + totalPrice: MoneyV2; + /** The total amount refunded. */ + totalRefunded: MoneyV2; + /** The total cost of shipping. */ + totalShipping: MoneyV2; + /** The total cost of taxes. */ + totalTax?: Maybe; + /** The total value of tips. */ + totalTip?: Maybe; + /** A list of transactions associated with the order. */ + transactions: Array; +}; + +/** The data that about an order that is visible to anyone with the order ID. */ +export type PublicOrderFulfillmentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** The data that about an order that is visible to anyone with the order ID. */ +export type PublicOrderLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The data that about an order that is visible to anyone with the order ID. */ +export type PublicOrderReturnsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** + * The information of the purchasing company for an order or draft order. + * + */ +export type PurchasingCompany = { + __typename?: 'PurchasingCompany'; + /** The company associated with the order or draft order. */ + company: Company; + /** The company contact associated with the order or draft order. */ + contact?: Maybe; + /** The company contact associated with the order or draft order. */ + contactV1?: Maybe; + /** The company location associated with the order or draft order. */ + location: CompanyLocation; + /** The company location associated with the order or draft order. */ + locationV1: Location; +}; + +/** + * Represents information about the purchasing entity for the order or draft order. + * + */ +export type PurchasingEntity = Customer | PurchasingCompany; + +/** + * Represents information about the purchasing entity for the order or draft order. + * + */ +export type PurchasingEntityV1 = PersonalAccount | PurchasingCompany; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRoot = { + __typename?: 'QueryRoot'; + /** Returns the settings for the address form. */ + addressFormSettings: AddressFormSettings; + /** Returns the business account of the customer. */ + businessAccount: BusinessAccount; + /** The information of the customer's company. */ + company?: Maybe; + /** The Location corresponding to the provided ID. */ + companyLocation?: Maybe; + /** Returns the Customer resource. */ + customer: Customer; + /** Returns a Draft Order resource by ID. */ + draftOrder?: Maybe; + /** The API tokens for UI extensions. */ + extensionApiTokens?: Maybe; + /** Returns an Order resource by ID. */ + order?: Maybe; + /** An Order resource identified by ID. */ + orderDetailsPageOrder?: Maybe; + /** Returns the personal information of the customer. */ + personalAccount: PersonalAccount; + /** Returns the information about the shop. */ + shop: Shop; + /** + * Public metafields for Shop, Order, Customer, Company, CompanyLocation, Product, and ProductVariant. + * Shop metafields are always fetched if there is a match for the given namespace and key pairs. + * Product and ProductVariant are only fetched if resource_ids are provided and there is a match for the + * namespace and key. This is restricted to development shops for local UI extension development purposes only. + * + */ + uiExtensionMetafields: Array; + /** A session token for an UI extension. */ + uiExtensionSessionToken?: Maybe; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootCompanyArgs = { + id: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootCompanyLocationArgs = { + id: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootDraftOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootExtensionApiTokensArgs = { + appId: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootOrderDetailsPageOrderArgs = { + id: Scalars['ID']['input']; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootUiExtensionMetafieldsArgs = { + filters: Array; + orderId?: InputMaybe; + resourceIds?: InputMaybe>; +}; + +/** This acts as the public, top-level API from which all queries start. */ +export type QueryRootUiExtensionSessionTokenArgs = { + id: Scalars['ID']['input']; +}; + +/** + * The record of refunds issued to a customer. + * + */ +export type Refund = Node & { + __typename?: 'Refund'; + /** The date and time when the refund was created. */ + createdAt?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The name of the return, if the refund was issued from a return. */ + returnName?: Maybe; + /** The total amount refunded across all transactions, in presentment currencies. */ + totalRefunded: MoneyV2; + /** The date and time when the refund was last updated. */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** An agreement for refunding all or a portion of the order between the merchant and the customer. */ +export type RefundAgreement = Node & + SalesAgreement & { + __typename?: 'RefundAgreement'; + /** The date and time when the agreement occurred. */ + happenedAt: Scalars['DateTime']['output']; + /** The unique ID for the agreement. */ + id: Scalars['ID']['output']; + /** The reason the agreement was created. */ + reason: OrderActionType; + /** The refund that's associated with the agreement. */ + refund: Refund; + /** The sales associated with the agreement. */ + sales: SaleConnection; + }; + +/** An agreement for refunding all or a portion of the order between the merchant and the customer. */ +export type RefundAgreementSalesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The information about the line items container for items that have not been refunded or removed. + * + */ +export type RemainingLineItemContainer = { + __typename?: 'RemainingLineItemContainer'; + /** A unique ID for the container. */ + id: Scalars['ID']['output']; + /** The line items contained within this container. */ + lineItems: RemainingLineItemContainerLineItemConnection; +}; + +/** + * The information about the line items container for items that have not been refunded or removed. + * + */ +export type RemainingLineItemContainerLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The information about the line item in the line item container. + * + */ +export type RemainingLineItemContainerLineItem = Node & { + __typename?: 'RemainingLineItemContainerLineItem'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The line item associated with the container. */ + lineItem: LineItem; +}; + +/** + * An auto-generated type for paginating through multiple RemainingLineItemContainerLineItems. + * + */ +export type RemainingLineItemContainerLineItemConnection = { + __typename?: 'RemainingLineItemContainerLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in RemainingLineItemContainerLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one RemainingLineItemContainerLineItem and a cursor during pagination. + * + */ +export type RemainingLineItemContainerLineItemEdge = { + __typename?: 'RemainingLineItemContainerLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of RemainingLineItemContainerLineItemEdge. */ + node: RemainingLineItemContainerLineItem; +}; + +/** The input fields for a line item requested for return. */ +export type RequestedLineItemInput = { + /** + * A note from the customer explaining the item to be returned. + * For instance, the note can detail issues with the item for the merchant's information. + * Maximum length: 300 characters. + * + */ + customerNote?: InputMaybe; + /** The ID of the line item that's to be returned. */ + lineItemId: Scalars['ID']['input']; + /** The quantity of the item that's to be returned. */ + quantity: Scalars['Int']['input']; + /** The reason for returning the item. */ + returnReason: ReturnReason; +}; + +/** Return type for `resendGiftCard` mutation. */ +export type ResendGiftCardPayload = { + __typename?: 'ResendGiftCardPayload'; + /** The ID of the order that resends the gift cards. */ + orderId?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Represents permissions on resources. */ +export type ResourcePermission = { + __typename?: 'ResourcePermission'; + /** The operations permitted on the resource. */ + permittedOperations: Array; + /** The name of the resource. */ + resource: ResourceType; +}; + +/** + * The B2B resource types. + * + */ +export type ResourceType = + /** + * The Business Profile resource type. + * + */ + | 'BUSINESS_PROFILE' + /** + * The Company resource type. + * + */ + | 'COMPANY' + /** + * The Company Contact resource type. + * + */ + | 'COMPANY_CONTACT' + /** + * The Company Contact Role resource type. + * + */ + | 'COMPANY_CONTACT_ROLE' + /** + * The Company Location resource type. + * + */ + | 'COMPANY_LOCATION' + /** + * The Company Location Billing Address resource type. + * + */ + | 'COMPANY_LOCATION_BILLING_ADDRESS' + /** + * The Company Location Shipping Address resource type. + * + */ + | 'COMPANY_LOCATION_SHIPPING_ADDRESS' + /** + * The Company Tax Exemption resource type. + * + */ + | 'COMPANY_TAX_EXEMPTION' + /** + * The Draft Order resource type. + * + */ + | 'DRAFT_ORDER' + /** + * The Order resource type. + * + */ + | 'ORDER' + /** + * The Payment Method resource type. + * + */ + | 'PAYMENT_METHOD'; + +/** A product return. */ +export type Return = Node & { + __typename?: 'Return'; + /** The date when the return was closed. */ + closedAt?: Maybe; + /** The date when the return was created. */ + createdAt?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The name assigned to the return. */ + name: Scalars['String']['output']; + /** The line items associated with the return. */ + returnLineItems: ReturnLineItemConnection; + /** The list of reverse deliveries associated with the return. */ + reverseDeliveries: ReverseDeliveryConnection; + /** The current status of the `Return`. */ + status: ReturnStatus; + /** The timeline events related to the return. */ + timelineEvents: Array; + /** The date when the return was last updated. */ + updatedAt?: Maybe; +}; + +/** A product return. */ +export type ReturnReturnLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A product return. */ +export type ReturnReverseDeliveriesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple Returns. + * + */ +export type ReturnConnection = { + __typename?: 'ReturnConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in ReturnEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one Return and a cursor during pagination. + * + */ +export type ReturnEdge = { + __typename?: 'ReturnEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of ReturnEdge. */ + node: Return; +}; + +/** A line item that is being returned. */ +export type ReturnLineItem = Node & { + __typename?: 'ReturnLineItem'; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The specific line item that's being returned. */ + lineItem: LineItem; + /** The quantity of the item that's being returned. */ + quantity: Scalars['Int']['output']; + /** The reason for returning the item. */ + returnReason: ReturnReason; +}; + +/** + * An auto-generated type for paginating through multiple ReturnLineItems. + * + */ +export type ReturnLineItemConnection = { + __typename?: 'ReturnLineItemConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in ReturnLineItemEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one ReturnLineItem and a cursor during pagination. + * + */ +export type ReturnLineItemEdge = { + __typename?: 'ReturnLineItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of ReturnLineItemEdge. */ + node: ReturnLineItem; +}; + +/** The reason for returning the item. */ +export type ReturnReason = + /** The color of the item didn't meet expectations. */ + | 'COLOR' + /** The item was damaged or defective. */ + | 'DEFECTIVE' + /** The item was not as described. */ + | 'NOT_AS_DESCRIBED' + /** Other reason not listed. */ + | 'OTHER' + /** The size of the item was too large. */ + | 'SIZE_TOO_LARGE' + /** The size of the item was too small. */ + | 'SIZE_TOO_SMALL' + /** The style of the item didn't meet expectations. */ + | 'STYLE' + /** The reason is unknown. */ + | 'UNKNOWN' + /** The customer changed their mind about the item. */ + | 'UNWANTED' + /** The customer received the wrong item. */ + | 'WRONG_ITEM'; + +/** The set of valid sort keys for the Return query. */ +export type ReturnSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE'; + +/** The current status of a `Return`. */ +export type ReturnStatus = + /** The `Return` has been canceled by the user. */ + | 'CANCELED' + /** The `Return` has been successfully completed. */ + | 'CLOSED' + /** The `Return` request was declined. */ + | 'DECLINED' + /** The `Return` is currently in progress. */ + | 'OPEN' + /** The `Return` has been requested by the user. */ + | 'REQUESTED'; + +/** The supported reason for returning a line item. */ +export type ReturnSupportedReason = { + __typename?: 'ReturnSupportedReason'; + /** The specific reason for returning the line item. */ + reason: ReturnReason; + /** The user-friendly title for the return reason. */ + title: Scalars['String']['output']; +}; + +/** + * A reverse delivery represents a package being sent back by a buyer to a merchant post-fulfillment. + * This could occur when a buyer requests a return and the merchant provides a shipping label. + * The reverse delivery includes the context of the items being returned, the method of return + * (for example, a shipping label), and the current status of the delivery (tracking information). + * + */ +export type ReverseDelivery = Node & { + __typename?: 'ReverseDelivery'; + /** Whether the label was generated by the customer. */ + customerGeneratedLabel: Scalars['Boolean']['output']; + /** The deliverable linked with the reverse delivery. */ + deliverable?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; +}; + +/** + * An auto-generated type for paginating through multiple ReverseDeliveries. + * + */ +export type ReverseDeliveryConnection = { + __typename?: 'ReverseDeliveryConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in ReverseDeliveryEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** The method and associated details of a reverse delivery. */ +export type ReverseDeliveryDeliverable = ReverseDeliveryShippingDeliverable; + +/** + * An auto-generated type which holds one ReverseDelivery and a cursor during pagination. + * + */ +export type ReverseDeliveryEdge = { + __typename?: 'ReverseDeliveryEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of ReverseDeliveryEdge. */ + node: ReverseDelivery; +}; + +/** The return label information for a reverse delivery. */ +export type ReverseDeliveryLabel = { + __typename?: 'ReverseDeliveryLabel'; + /** The date and time when the reverse delivery label was created. */ + createdAt: Scalars['DateTime']['output']; + /** A publicly accessible link for downloading the label image. */ + publicFileUrl?: Maybe; + /** The date and time when the reverse delivery label was last updated. */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** A set of shipping deliverables for reverse delivery. */ +export type ReverseDeliveryShippingDeliverable = { + __typename?: 'ReverseDeliveryShippingDeliverable'; + /** The return label that's attached to the reverse delivery. */ + label?: Maybe; + /** The tracking information for the reverse delivery. */ + tracking?: Maybe; +}; + +/** The tracking information for a reverse delivery. */ +export type ReverseDeliveryTracking = { + __typename?: 'ReverseDeliveryTracking'; + /** The name of the delivery service provider, in a format that's suitable for display purposes. */ + carrierName?: Maybe; + /** The identifier that the courier uses to track the shipment. */ + trackingNumber?: Maybe; + /** The URL used to track the shipment. */ + trackingUrl?: Maybe; +}; + +/** + * A record of an individual sale associated with a sales agreement. Every monetary value in an order's sales data is represented in the smallest unit of the currency. + * When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. + * To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. + * In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. + * This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items. + * + */ +export type Sale = { + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; +}; + +/** An order action type associated with a sale. */ +export type SaleActionType = + /** A purchase or charge. */ + | 'ORDER' + /** A removal or return. */ + | 'RETURN' + /** An unidentified order action. Represents new actions that may be added in future versions. */ + | 'UNKNOWN' + /** A change to the price, taxes, or discounts for a previous purchase. */ + | 'UPDATE'; + +/** + * An auto-generated type for paginating through multiple Sales. + * + */ +export type SaleConnection = { + __typename?: 'SaleConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in SaleEdge. */ + nodes: Array< + | AdditionalFeeSale + | AdjustmentSale + | DutySale + | GiftCardSale + | ProductSale + | ShippingLineSale + | TipSale + | UnknownSale + >; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one Sale and a cursor during pagination. + * + */ +export type SaleEdge = { + __typename?: 'SaleEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of SaleEdge. */ + node: + | AdditionalFeeSale + | AdjustmentSale + | DutySale + | GiftCardSale + | ProductSale + | ShippingLineSale + | TipSale + | UnknownSale; +}; + +/** + * The possible line types of a sale record. A sale can be an adjustment, which occurs when a refund is issued for a line item that is either more or less than the total value of the line item. + * Examples include restocking fees and goodwill payments. In such cases, Shopify generates a sales agreement with sale records for each line item that is returned or refunded, and an additional sale record for the adjustment, for example a restocking fee. + * The sale records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded. + * + */ +export type SaleLineType = + /** An additional fee. */ + | 'ADDITIONAL_FEE' + /** A sale adjustment. */ + | 'ADJUSTMENT' + /** A duty charge. */ + | 'DUTY' + /** A gift card. */ + | 'GIFT_CARD' + /** A product that was purchased, returned, or exchanged. */ + | 'PRODUCT' + /** A shipping charge. */ + | 'SHIPPING' + /** A tip given by the customer. */ + | 'TIP' + /** An unknown sale line type. This represents new types that may be added in future versions. */ + | 'UNKNOWN'; + +/** The tax allocated to a sale from a single tax line. */ +export type SaleTax = Node & { + __typename?: 'SaleTax'; + /** The portion of the total tax amount on the related sale that's from the associated tax line. */ + amount: MoneyV2; + /** The unique ID for the sale tax. */ + id: Scalars['ID']['output']; + /** The tax line associated with the sale. */ + taxLine: TaxLine; +}; + +/** A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more. */ +export type SalesAgreement = { + /** The date and time when the agreement occurred. */ + happenedAt: Scalars['DateTime']['output']; + /** The unique ID for the agreement. */ + id: Scalars['ID']['output']; + /** The reason the agreement was created. */ + reason: OrderActionType; + /** The sales associated with the agreement. */ + sales: SaleConnection; +}; + +/** A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more. */ +export type SalesAgreementSalesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * An auto-generated type for paginating through multiple SalesAgreements. + * + */ +export type SalesAgreementConnection = { + __typename?: 'SalesAgreementConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in SalesAgreementEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one SalesAgreement and a cursor during pagination. + * + */ +export type SalesAgreementEdge = { + __typename?: 'SalesAgreementEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of SalesAgreementEdge. */ + node: OrderAgreement | OrderEditAgreement | RefundAgreement; +}; + +/** + * Captures the intentions of a discount that was created by a Shopify Script. + * + */ +export type ScriptDiscountApplication = DiscountApplication & { + __typename?: 'ScriptDiscountApplication'; + /** The method by which the discount's value is allocated to its entitled items. */ + allocationMethod: DiscountApplicationAllocationMethod; + /** The lines of targetType that the discount is allocated over. */ + targetSelection: DiscountApplicationTargetSelection; + /** The type of line that the discount is applicable towards. */ + targetType: DiscountApplicationTargetType; + /** The title of the application as defined by the Script. */ + title: Scalars['String']['output']; + /** The value of the discount application. */ + value: PricingValue; +}; + +/** Represents a selling plan policy anchor. */ +export type SellingPlanAnchor = { + __typename?: 'SellingPlanAnchor'; + /** + * The cutoff day for the anchor. + * + * If `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets + * the days of the week according to ISO 8601, where 1 is Monday. + * + * If `type` is MONTHDAY, then the value must be between 1-31. + * + * If `type` is YEARDAY, then the value must be `null`. + * + */ + cutoffDay?: Maybe; + /** + * The day of the anchor. + * + * If `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets + * the days of the week according to ISO 8601, where 1 is Monday. + * + * If `type` isn't WEEKDAY, then the value must be between 1-31. + * + */ + day: Scalars['Int']['output']; + /** + * The month of the anchor. If type is different than YEARDAY, then the value must + * be `null` or between 1-12. + * + */ + month?: Maybe; + /** + * Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY. + * + */ + type: SellingPlanAnchorType; +}; + +/** Defines the anchor type. */ +export type SellingPlanAnchorType = + /** Represents a day of the month, between 1-31. */ + | 'MONTHDAY' + /** Represents a day of the week, between 1-7. */ + | 'WEEKDAY' + /** Represents days of the month and year, month between 1-12, and day between 1-31. */ + | 'YEARDAY'; + +/** Defines valid selling plan intervals. */ +export type SellingPlanInterval = + /** Represents a day interval. */ + | 'DAY' + /** Represents a month interval. */ + | 'MONTH' + /** Represents a week interval. */ + | 'WEEK' + /** Represents a year interval. */ + | 'YEAR'; + +/** Represents the shipping details that the customer chose for their order. */ +export type ShippingLine = { + __typename?: 'ShippingLine'; + /** A unique identifier for the shipping rate. */ + handle?: Maybe; + /** The pre-tax shipping price without any discounts applied. */ + originalPrice: MoneyV2; + /** The title of the shipping line. */ + title: Scalars['String']['output']; +}; + +/** A sale associated with a shipping charge. */ +export type ShippingLineSale = Node & + Sale & { + __typename?: 'ShippingLineSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** A shipping rate to be applied to a checkout. */ +export type ShippingRate = { + __typename?: 'ShippingRate'; + /** The human-readable unique identifier for this shipping rate. */ + handle: Scalars['String']['output']; + /** The price of this shipping rate. */ + price: MoneyV2; + /** The title of this shipping rate. */ + title: Scalars['String']['output']; +}; + +/** A collection of the general information about the shop. */ +export type Shop = HasMetafields & + Node & { + __typename?: 'Shop'; + /** Returns the settings for the address form. */ + addressFormSettings: AddressFormSettings; + /** The email of the shop. */ + email: Scalars['String']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** A metafield found by namespace and key. */ + metafield?: Maybe; + /** + * The metafields associated with the resource matching the + * supplied list of namespaces and keys. + * + */ + metafields: Array>; + /** The shop's .myshopify.com domain name. */ + myshopifyDomain: Scalars['String']['output']; + /** The name of the shop. */ + name: Scalars['String']['output']; + /** The list of all legal policies associated with the shop. */ + shopPolicies: Array; + /** The URL of the shop's online store. */ + url: Scalars['URL']['output']; + }; + +/** A collection of the general information about the shop. */ +export type ShopMetafieldArgs = { + key: Scalars['String']['input']; + namespace: Scalars['String']['input']; +}; + +/** A collection of the general information about the shop. */ +export type ShopMetafieldsArgs = { + identifiers: Array; +}; + +/** The shop app links and resources for an order. */ +export type ShopAppLinksAndResources = { + __typename?: 'ShopAppLinksAndResources'; + /** + * Whether the the buyer is associated to Shop App. + * + */ + buyerHasShopApp: Scalars['Boolean']['output']; + /** + * Whether the the buyer is associated to Shop Pay. + * + */ + buyerHasShopPay: Scalars['Boolean']['output']; + /** + * Whether or not the track order updates button should be rendered. + * + */ + canTrackOrderUpdates: Scalars['Boolean']['output']; + /** + * Whether or not showing the installments highlight is eligible. + * + */ + installmentsHighlightEligible: Scalars['Boolean']['output']; + /** + * The URL to the mobile Shop App. + * + */ + mobileUrl: Scalars['URL']['output']; + /** + * The attribution details related to the mobile url. + * + */ + mobileUrlAttributionPayload: Scalars['String']['output']; + /** + * The various options that exist for subscribing to order updates. + * + */ + orderUpdateOptions: Array; + /** + * The URL to the Shop App QR code. + * + */ + qrCodeUrl: Scalars['URL']['output']; + /** + * Whether or not Shop App eligible. + * + */ + shopAppEligible: Scalars['Boolean']['output']; + /** + * Whether QR code should be hidden. + * + */ + shopAppQrCodeKillswitch: Scalars['Boolean']['output']; + /** + * The URL to the Shop Pay Installments reminders. + * + */ + shopInstallmentsMobileUrl: Scalars['URL']['output']; + /** + * The URL to view the Shop Pay Installments schedules in the mobile Shop App. + * + */ + shopInstallmentsViewSchedules: Scalars['URL']['output']; + /** + * Whether the order was a shop pay order. + * + */ + shopPayOrder: Scalars['Boolean']['output']; +}; + +/** The configuration values used to initialize a Shop Pay checkout. */ +export type ShopPayConfiguration = { + __typename?: 'ShopPayConfiguration'; + /** Whether the checkout is a checkout one session. */ + checkoutOne: Scalars['Boolean']['output']; + /** The URL parameters containing an encrypted blob used by Shop Pay's backend. */ + transactionParams: Scalars['String']['output']; + /** The URL from which the Shop Pay checkout can be completed. */ + transactionUrl: Scalars['URL']['output']; +}; + +/** Return type for `shopPayCreditCardGetUpdateUrl` mutation. */ +export type ShopPayCreditCardGetUpdateUrlPayload = { + __typename?: 'ShopPayCreditCardGetUpdateUrlPayload'; + /** The URL to which the customer should be redirected to update their Shop Pay credit card. */ + updateShopPayCreditCardUrl?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** A policy that a merchant has configured for their store, such as their refund or privacy policy. */ +export type ShopPolicy = Node & { + __typename?: 'ShopPolicy'; + /** The text of the policy. The maximum size is 512kb. */ + body: Scalars['HTML']['output']; + /** The handle of the policy. */ + handle: Scalars['String']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The title of the policy. */ + title: Scalars['String']['output']; + /** The public URL to the policy. */ + url: Scalars['URL']['output']; +}; + +/** + * Defines the valid SMS marketing states for a customer’s phone number. + * + */ +export type SmsMarketingState = + /** + * The customer has not subscribed to SMS marketing. + * + */ + | 'NOT_SUBSCRIBED' + /** + * The customer is in the process of subscribing to SMS marketing. + * + */ + | 'PENDING' + /** + * The customer's personal data has been erased. This value is internally-set and read-only. + * + */ + | 'REDACTED' + /** + * The customer has subscribed to SMS marketing. + * + */ + | 'SUBSCRIBED' + /** + * The customer is not currently subscribed to SMS marketing but was previously subscribed. + * + */ + | 'UNSUBSCRIBED'; + +/** The billing cycle of a subscription. */ +export type SubscriptionBillingCycle = { + __typename?: 'SubscriptionBillingCycle'; + /** The expected date of the billing attempt. */ + billingAttemptExpectedDate: Scalars['DateTime']['output']; + /** The end date of the billing cycle. */ + cycleEndAt: Scalars['DateTime']['output']; + /** The index of the billing cycle. */ + cycleIndex: Scalars['Int']['output']; + /** The start date of the billing cycle. */ + cycleStartAt: Scalars['DateTime']['output']; + /** Whether the billing cycle was edited. */ + edited: Scalars['Boolean']['output']; + /** Whether the billing cycle was skipped. */ + skipped: Scalars['Boolean']['output']; + /** The status of the billing cycle. */ + status: SubscriptionBillingCycleBillingCycleStatus; +}; + +/** The possible statuses of a subscription billing cycle. */ +export type SubscriptionBillingCycleBillingCycleStatus = + /** The billing cycle has been billed. */ + | 'BILLED' + /** The billing cycle has not been billed. */ + | 'UNBILLED'; + +/** + * An auto-generated type for paginating through multiple SubscriptionBillingCycles. + * + */ +export type SubscriptionBillingCycleConnection = { + __typename?: 'SubscriptionBillingCycleConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in SubscriptionBillingCycleEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one SubscriptionBillingCycle and a cursor during pagination. + * + */ +export type SubscriptionBillingCycleEdge = { + __typename?: 'SubscriptionBillingCycleEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of SubscriptionBillingCycleEdge. */ + node: SubscriptionBillingCycle; +}; + +/** The input fields for specifying the subscription contract and selecting the associated billing cycle. */ +export type SubscriptionBillingCycleInput = { + /** The ID of the subscription contract associated with the billing cycle. */ + contractId: Scalars['ID']['input']; + /** Selects the billing cycle by date or index. */ + selector: SubscriptionBillingCycleSelector; +}; + +/** The input fields to select a SubscriptionBillingCycle by either date or index. */ +export type SubscriptionBillingCycleSelector = { + /** The date to select a billing cycle. */ + date?: InputMaybe; + /** The index to select a billing cycle. */ + index?: InputMaybe; +}; + +/** Return type for `subscriptionBillingCycleSkip` mutation. */ +export type SubscriptionBillingCycleSkipPayload = { + __typename?: 'SubscriptionBillingCycleSkipPayload'; + /** The updated billing cycle. */ + billingCycle?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** An error that occurs during the execution of `SubscriptionBillingCycleSkip`. */ +export type SubscriptionBillingCycleSkipUserError = DisplayableError & { + __typename?: 'SubscriptionBillingCycleSkipUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `SubscriptionBillingCycleSkipUserError`. */ +export type SubscriptionBillingCycleSkipUserErrorCode = + /** The input value is invalid. */ + 'INVALID'; + +/** Return type for `subscriptionBillingCycleUnskip` mutation. */ +export type SubscriptionBillingCycleUnskipPayload = { + __typename?: 'SubscriptionBillingCycleUnskipPayload'; + /** The updated billing cycle. */ + billingCycle?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** An error that occurs during the execution of `SubscriptionBillingCycleUnskip`. */ +export type SubscriptionBillingCycleUnskipUserError = DisplayableError & { + __typename?: 'SubscriptionBillingCycleUnskipUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `SubscriptionBillingCycleUnskipUserError`. */ +export type SubscriptionBillingCycleUnskipUserErrorCode = + /** The input value is invalid. */ + 'INVALID'; + +/** The set of valid sort keys for the SubscriptionBillingCycles query. */ +export type SubscriptionBillingCyclesSortKeys = + /** Sort by the `cycle_end_at` value. */ + | 'CYCLE_END_AT' + /** Sort by the `cycle_index` value. */ + | 'CYCLE_INDEX' + /** Sort by the `id` value. */ + | 'ID' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE'; + +/** The billing policy of a subscription. */ +export type SubscriptionBillingPolicy = { + __typename?: 'SubscriptionBillingPolicy'; + /** The anchor dates for calculating billing intervals. */ + anchors: Array; + /** The type of interval associated with this schedule (e.g. Monthly, Weekly, etc). */ + interval: SellingPlanInterval; + /** The number of intervals between invoices. */ + intervalCount: Scalars['Int']['output']; + /** The maximum number of cycles after which the subscription ends. */ + maxCycles?: Maybe; + /** The minimum number of cycles required for the subscription. */ + minCycles?: Maybe; +}; + +/** A Subscription Contract. */ +export type SubscriptionContract = Node & + SubscriptionContractBase & { + __typename?: 'SubscriptionContract'; + /** Whether the subscription contract is eligible for customer actions. */ + appEligibleForCustomerActions: Scalars['Boolean']['output']; + /** The billing policy associated with the subscription contract. */ + billingPolicy: SubscriptionBillingPolicy; + /** The date and time when the subscription contract was created. */ + createdAt: Scalars['DateTime']['output']; + /** The currency used for the subscription contract. */ + currencyCode: CurrencyCode; + /** A list of custom attributes to be added to the generated orders. */ + customAttributes: Array; + /** The delivery method for each billing of the subscription contract. */ + deliveryMethod?: Maybe; + /** The delivery policy associated with the subscription contract. */ + deliveryPolicy: SubscriptionDeliveryPolicy; + /** The delivery price for each billing of the subscription contract. */ + deliveryPrice: MoneyV2; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The current status of the last payment. */ + lastPaymentStatus?: Maybe; + /** The number of lines associated with the subscription contract. */ + lineCount: Scalars['Int']['output']; + /** A list of subscription lines associated with the subscription contract. */ + lines: SubscriptionLineConnection; + /** The next billing date for the subscription contract. */ + nextBillingDate?: Maybe; + /** A note that will be applied to the generated orders. */ + note?: Maybe; + /** A list of the subscription contract's orders. */ + orders: OrderConnection; + /** The order from which the contract originated. */ + originOrder?: Maybe; + /** The payment instrument being charged for this subscription contract. */ + paymentInstrument?: Maybe; + /** An estimate of the breakdown of the amounts that will be charged in the next billing attempt. */ + priceBreakdownEstimate?: Maybe; + /** The revision ID of the contract. */ + revisionId: Scalars['UnsignedInt64']['output']; + /** The current status of the subscription contract. */ + status: SubscriptionContractSubscriptionStatus; + /** The upcoming billing cycles on the subscription contract. */ + upcomingBillingCycles: SubscriptionBillingCycleConnection; + /** The date and time when the subscription contract was updated. */ + updatedAt: Scalars['DateTime']['output']; + }; + +/** A Subscription Contract. */ +export type SubscriptionContractLinesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A Subscription Contract. */ +export type SubscriptionContractOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** A Subscription Contract. */ +export type SubscriptionContractUpcomingBillingCyclesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; + sortKey?: InputMaybe; +}; + +/** Return type for `subscriptionContractActivate` mutation. */ +export type SubscriptionContractActivatePayload = { + __typename?: 'SubscriptionContractActivatePayload'; + /** The activated Subscription Contract. */ + contract?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The common fields of a subscription contract. */ +export type SubscriptionContractBase = { + /** Whether the subscription contract is eligible for customer actions. */ + appEligibleForCustomerActions: Scalars['Boolean']['output']; + /** The currency used for the subscription contract. */ + currencyCode: CurrencyCode; + /** A list of custom attributes to be added to the generated orders. */ + customAttributes: Array; + /** The delivery method for each billing of the subscription contract. */ + deliveryMethod?: Maybe; + /** The delivery price for each billing of the subscription contract. */ + deliveryPrice: MoneyV2; + /** The number of lines associated with the subscription contract. */ + lineCount: Scalars['Int']['output']; + /** A list of subscription lines associated with the subscription contract. */ + lines: SubscriptionLineConnection; + /** A note that will be applied to the generated orders. */ + note?: Maybe; + /** A list of the subscription contract's orders. */ + orders: OrderConnection; + /** An estimate of the breakdown of the amounts that will be charged in the next billing attempt. */ + priceBreakdownEstimate?: Maybe; + /** The date and time when the subscription contract was updated. */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** The common fields of a subscription contract. */ +export type SubscriptionContractBaseLinesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The common fields of a subscription contract. */ +export type SubscriptionContractBaseOrdersArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** Return type for `subscriptionContractCancel` mutation. */ +export type SubscriptionContractCancelPayload = { + __typename?: 'SubscriptionContractCancelPayload'; + /** The canceled Subscription Contract. */ + contract?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `subscriptionContractChangePaymentInstrument` mutation. */ +export type SubscriptionContractChangePaymentInstrumentPayload = { + __typename?: 'SubscriptionContractChangePaymentInstrumentPayload'; + /** The updated Subscription Contract after the payment instrument change. */ + contract?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** + * An auto-generated type for paginating through multiple SubscriptionContracts. + * + */ +export type SubscriptionContractConnection = { + __typename?: 'SubscriptionContractConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in SubscriptionContractEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one SubscriptionContract and a cursor during pagination. + * + */ +export type SubscriptionContractEdge = { + __typename?: 'SubscriptionContractEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of SubscriptionContractEdge. */ + node: SubscriptionContract; +}; + +/** Return type for `subscriptionContractFetchDeliveryOptions` mutation. */ +export type SubscriptionContractFetchDeliveryOptionsPayload = { + __typename?: 'SubscriptionContractFetchDeliveryOptionsPayload'; + /** The available delivery options for a given delivery address. Returns `null` for pending requests. */ + deliveryOptionsResult?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** The status of the last payment on a subscription contract. */ +export type SubscriptionContractLastPaymentStatus = + /** A failed subscription billing attempt. */ + | 'FAILED' + /** A successful subscription billing attempt. */ + | 'SUCCEEDED'; + +/** Return type for `subscriptionContractPause` mutation. */ +export type SubscriptionContractPausePayload = { + __typename?: 'SubscriptionContractPausePayload'; + /** The updated Subscription Contract after the pause operation. */ + contract?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Return type for `subscriptionContractSelectDeliveryMethod` mutation. */ +export type SubscriptionContractSelectDeliveryMethodPayload = { + __typename?: 'SubscriptionContractSelectDeliveryMethodPayload'; + /** The updated subscription contract object. */ + contract?: Maybe; + /** The list of errors that occurred from executing the mutation. */ + userErrors: Array; +}; + +/** Possible error codes that can be returned by `SubscriptionContractStatusUpdateUserError`. */ +export type SubscriptionContractStatusUpdateErrorCode = + /** Subscription contract status cannot be changed once failed. */ + | 'CONTRACT_FAILED' + /** Subscription contract status cannot be changed once terminated. */ + | 'CONTRACT_TERMINATED' + /** Subscription contract has a future contract or schedule edit. */ + | 'HAS_FUTURE_EDITS' + /** The input value is invalid. */ + | 'INVALID' + /** Subscription contract does not exist. */ + | 'SUBSCRIPTION_CONTRACT_DOES_NOT_EXIST'; + +/** The error codes for failed subscription contract mutations. */ +export type SubscriptionContractStatusUpdateUserError = DisplayableError & { + __typename?: 'SubscriptionContractStatusUpdateUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** The status of a subscription. */ +export type SubscriptionContractSubscriptionStatus = + /** The contract is active and is continuing per its policies. */ + | 'ACTIVE' + /** The contract was ended by an unplanned customer action. */ + | 'CANCELLED' + /** The contract has ended per the expected circumstances. All billing and delivery cycles of the subscriptions have been executed. */ + | 'EXPIRED' + /** The contract has ended because billing failed and no further billing attempts are expected. */ + | 'FAILED' + /** The contract is temporarily paused and is expected to resume in the future. */ + | 'PAUSED' + /** The contract has expired due to inactivity. */ + | 'STALE'; + +/** The error codes for failed subscription contract mutations. */ +export type SubscriptionContractUserError = DisplayableError & { + __typename?: 'SubscriptionContractUserError'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `SubscriptionContractUserError`. */ +export type SubscriptionContractUserErrorCode = + /** The input value is blank. */ + | 'BLANK' + /** Subscription contract has a future contract or schedule edit. */ + | 'HAS_FUTURE_EDITS' + /** The input value is invalid. */ + | 'INVALID' + /** Payment instrument does not exist. */ + | 'PAYMENT_INSTRUMENT_DOES_NOT_EXIST' + /** Subscription contract does not exist. */ + | 'SUBSCRIPTION_CONTRACT_DOES_NOT_EXIST'; + +/** The set of valid sort keys for the SubscriptionContracts query. */ +export type SubscriptionContractsSortKeys = + /** Sort by the `created_at` value. */ + | 'CREATED_AT' + /** Sort by the `id` value. */ + | 'ID' + /** + * Sort by relevance to the search terms when the `query` parameter is specified on the connection. + * Don't use this sort key when no search query is specified. + * + */ + | 'RELEVANCE' + /** Sort by the `updated_at` value. */ + | 'UPDATED_AT'; + +/** The delivery method to use to deliver the physical goods to the customer. */ +export type SubscriptionDeliveryMethod = + | SubscriptionDeliveryMethodLocalDelivery + | SubscriptionDeliveryMethodPickup + | SubscriptionDeliveryMethodShipping; + +/** + * Specifies delivery method fields for a subscription contract. + * This is an input union: one, and only one, field can be provided. + * The field provided will determine which delivery method is to be used. + * + */ +export type SubscriptionDeliveryMethodInput = { + /** The input fields for the local delivery method. */ + localDelivery?: InputMaybe; + /** The input fields for the pickup delivery method. */ + pickup?: InputMaybe; + /** The input fields for the shipping delivery method. */ + shipping?: InputMaybe; +}; + +/** The local delivery method, including a mailing address and a local delivery option. */ +export type SubscriptionDeliveryMethodLocalDelivery = { + __typename?: 'SubscriptionDeliveryMethodLocalDelivery'; + /** The delivery address. */ + address: SubscriptionMailingAddress; + /** The local delivery method details. */ + localDeliveryOption: SubscriptionDeliveryMethodLocalDeliveryOption; +}; + +/** The input fields for a local delivery method. */ +export type SubscriptionDeliveryMethodLocalDeliveryInput = { + /** The address to deliver to. */ + address: CustomerMailingAddressInput; + /** The delivery instructions that the customer can provide to the merchant. */ + instructions?: InputMaybe; + /** + * The phone number that the customer must provide to the merchant. + * Formatted using E.164 standard. For example, `+16135551111`. + * + */ + phone: Scalars['String']['input']; +}; + +/** The delivery option selected for a subscription contract. */ +export type SubscriptionDeliveryMethodLocalDeliveryOption = { + __typename?: 'SubscriptionDeliveryMethodLocalDeliveryOption'; + /** The description of the delivery option shown to the customer. */ + description?: Maybe; + /** The delivery instructions provided by the customer to the merchant. */ + instructions?: Maybe; + /** + * The phone number of the customer provided to the merchant. + * Formatted using E.164 standard. For example, `+16135551111`. + * + */ + phone: Scalars['String']['output']; + /** The displayed title of the delivery option. */ + presentmentTitle?: Maybe; + /** The title of the delivery option. */ + title?: Maybe; +}; + +/** A delivery method with a pickup option. */ +export type SubscriptionDeliveryMethodPickup = { + __typename?: 'SubscriptionDeliveryMethodPickup'; + /** The details of the pickup delivery method. */ + pickupOption: SubscriptionDeliveryMethodPickupOption; +}; + +/** The input fields for a pickup delivery method. */ +export type SubscriptionDeliveryMethodPickupInput = { + /** The ID of the pickup location. */ + locationId: Scalars['ID']['input']; +}; + +/** Represents the selected pickup option on a subscription contract. */ +export type SubscriptionDeliveryMethodPickupOption = { + __typename?: 'SubscriptionDeliveryMethodPickupOption'; + /** The details displayed to the customer to describe the pickup option. */ + description?: Maybe; + /** The pickup address where the customer will pick up the merchandise. */ + pickupAddress: PickupAddress; + /** The presentment title of the pickup option. */ + presentmentTitle?: Maybe; + /** The title of the pickup option. */ + title?: Maybe; +}; + +/** The shipping delivery method, including a mailing address and a shipping option. */ +export type SubscriptionDeliveryMethodShipping = { + __typename?: 'SubscriptionDeliveryMethodShipping'; + /** The address for shipping. */ + address: SubscriptionMailingAddress; + /** The details of the shipping method. */ + shippingOption: SubscriptionDeliveryMethodShippingOption; +}; + +/** The input fields for a shipping delivery method. */ +export type SubscriptionDeliveryMethodShippingInput = { + /** The address to ship to. */ + address: CustomerMailingAddressInput; +}; + +/** The selected shipping option on a subscription contract. */ +export type SubscriptionDeliveryMethodShippingOption = { + __typename?: 'SubscriptionDeliveryMethodShippingOption'; + /** The description of the shipping option. */ + description?: Maybe; + /** The presentment title of the shipping option. */ + presentmentTitle?: Maybe; + /** The title of the shipping option. */ + title?: Maybe; +}; + +/** The delivery option for a subscription contract. */ +export type SubscriptionDeliveryOption = + | SubscriptionLocalDeliveryOption + | SubscriptionPickupOption + | SubscriptionShippingOption; + +/** The result of the query that fetches delivery options for the subscription contract. */ +export type SubscriptionDeliveryOptionsResult = + | SubscriptionDeliveryOptionsResultFailure + | SubscriptionDeliveryOptionsResultSuccess; + +/** A failed result indicating unavailability of delivery options for the subscription contract. */ +export type SubscriptionDeliveryOptionsResultFailure = { + __typename?: 'SubscriptionDeliveryOptionsResultFailure'; + /** The reason for the failure. */ + message?: Maybe; +}; + +/** A successful result containing the available delivery options for the subscription contract. */ +export type SubscriptionDeliveryOptionsResultSuccess = { + __typename?: 'SubscriptionDeliveryOptionsResultSuccess'; + /** The available delivery options. */ + deliveryOptions: Array; + /** The token associated with the successful result of delivery options. */ + token: Scalars['String']['output']; +}; + +/** Represents a Subscription Delivery Policy. */ +export type SubscriptionDeliveryPolicy = { + __typename?: 'SubscriptionDeliveryPolicy'; + /** The anchor dates for calculating delivery intervals. */ + anchors: Array; + /** The type of interval associated with this schedule (e.g. Monthly, Weekly, etc). */ + interval: SellingPlanInterval; + /** The number of intervals between deliveries. */ + intervalCount: Scalars['Int']['output']; +}; + +/** A line item in a subscription. */ +export type SubscriptionLine = { + __typename?: 'SubscriptionLine'; + /** The current price per unit for the subscription line in the contract's currency. */ + currentPrice: MoneyV2; + /** The custom attributes associated with the line item. */ + customAttributes: Array; + /** The unique ID of the line item. */ + id: Scalars['ID']['output']; + /** The image associated with the product variant. */ + image?: Maybe; + /** The total price of the line item after all discounts have been applied. */ + lineDiscountedPrice: MoneyV2; + /** The name of the product. */ + name: Scalars['String']['output']; + /** + * The URL of the product in the online store. + * A value of `null` indicates that the product isn't published in the Online Store sales channel. + * + */ + onlineStoreUrl?: Maybe; + /** The quantity of the unit selected for the subscription line. */ + quantity: Scalars['Int']['output']; + /** Whether the product variant requires shipping. */ + requiresShipping: Scalars['Boolean']['output']; + /** The SKU of the product variant associated with the subscription line. */ + sku?: Maybe; + /** Whether the product variant is taxable. */ + taxable: Scalars['Boolean']['output']; + /** The title of the product associated with the subscription line. */ + title: Scalars['String']['output']; + /** The image associated with the product variant. */ + variantImage?: Maybe; + /** The title of the product variant associated with the subscription line. */ + variantTitle?: Maybe; +}; + +/** + * An auto-generated type for paginating through multiple SubscriptionLines. + * + */ +export type SubscriptionLineConnection = { + __typename?: 'SubscriptionLineConnection'; + /** A list of edges. */ + edges: Array; + /** A list of the nodes contained in SubscriptionLineEdge. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: PageInfo; +}; + +/** + * An auto-generated type which holds one SubscriptionLine and a cursor during pagination. + * + */ +export type SubscriptionLineEdge = { + __typename?: 'SubscriptionLineEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of SubscriptionLineEdge. */ + node: SubscriptionLine; +}; + +/** A local delivery option for a subscription contract. */ +export type SubscriptionLocalDeliveryOption = { + __typename?: 'SubscriptionLocalDeliveryOption'; + /** The code of the local delivery option. */ + code: Scalars['String']['output']; + /** The description of the local delivery option. */ + description?: Maybe; + /** Whether a phone number is required for the local delivery option. */ + phoneRequired: Scalars['Boolean']['output']; + /** The presentment title of the local delivery option. */ + presentmentTitle?: Maybe; + /** The price of the local delivery option. */ + price: MoneyV2; + /** The title of the local delivery option. */ + title: Scalars['String']['output']; +}; + +/** The mailing address on a subscription. */ +export type SubscriptionMailingAddress = { + __typename?: 'SubscriptionMailingAddress'; + /** The first line of the address, typically the street address or PO Box number. */ + address1?: Maybe; + /** The second line of the address, typically the apartment, suite, or unit number. */ + address2?: Maybe; + /** The name of the city, district, village, or town. */ + city?: Maybe; + /** The name of the customer's company or organization. */ + company?: Maybe; + /** The name of the country. */ + country?: Maybe; + /** + * The two-letter code for the country of the address. + * For example, US. + * + */ + countryCode?: Maybe; + /** The first name of the customer. */ + firstName?: Maybe; + /** The last name of the customer. */ + lastName?: Maybe; + /** The full name of the customer, based on the first name and last name. */ + name?: Maybe; + /** A unique phone number for the customer, formatted using the E.164 standard. For example, _+16135551111_. */ + phone?: Maybe; + /** The region of the address, such as the province, state, or district. */ + province?: Maybe; + /** + * The two-letter code for the region. + * For example, ON. + * + */ + provinceCode?: Maybe; + /** The zip or postal code of the address. */ + zip?: Maybe; +}; + +/** A pickup option to deliver a subscription contract. */ +export type SubscriptionPickupOption = { + __typename?: 'SubscriptionPickupOption'; + /** The code of the pickup option. */ + code: Scalars['String']['output']; + /** The description of the pickup option. */ + description?: Maybe; + /** The ID of the pickup location. */ + locationId: Scalars['ID']['output']; + /** Whether a phone number is required for the pickup option. */ + phoneRequired: Scalars['Boolean']['output']; + /** The pickup address where the customer will pickup the merchandise. */ + pickupAddress: PickupAddress; + /** + * The estimated amount of time it takes for the pickup to be ready. For example, "Usually ready in 24 hours". + * + */ + pickupTime: Scalars['String']['output']; + /** The presentment title of the pickup option. */ + presentmentTitle?: Maybe; + /** The price of the pickup option. */ + price: MoneyV2; + /** The title of the pickup option. */ + title: Scalars['String']['output']; +}; + +/** Represents the breakdown of prices to be charges in the billing attempt. */ +export type SubscriptionPriceBreakdown = { + __typename?: 'SubscriptionPriceBreakdown'; + /** + * The sum of the prices for all line items after discounts. + * If taxesIncluded is true, then the subtotal also includes tax. + * + */ + subtotalPrice: MoneyV2; + /** Whether taxes are included in the subtotal price. */ + taxesIncluded: Scalars['Boolean']['output']; + /** + * The total amount discounted. + * This includes both order and line level discounts. + * + */ + totalDiscounts: MoneyV2; + /** The total price. This includes taxes and discounts. */ + totalPrice: MoneyV2; + /** The total shipping amount before discounts and returns. */ + totalShippingPrice: MoneyV2; + /** The total tax amount. */ + totalTax: MoneyV2; +}; + +/** A shipping option to deliver a subscription contract. */ +export type SubscriptionShippingOption = { + __typename?: 'SubscriptionShippingOption'; + /** The code of the shipping option. */ + code: Scalars['String']['output']; + /** The description of the shipping option. */ + description?: Maybe; + /** Whether a phone number is required for the shipping option. */ + phoneRequired: Scalars['Boolean']['output']; + /** The presentment title of the shipping option. */ + presentmentTitle?: Maybe; + /** The price of the shipping option. */ + price: MoneyV2; + /** The title of the shipping option. */ + title: Scalars['String']['output']; +}; + +/** The available tax exemptions for a customer. */ +export type TaxExemption = + /** This customer is exempt from GST taxes for holding a valid exemption. The business customer should provide their GST number and account for the GST. */ + | 'AUSTRALIA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia. */ + | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia. */ + | 'CA_BC_CONTRACTOR_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia. */ + | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia. */ + | 'CA_BC_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia. */ + | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada. */ + | 'CA_DIPLOMAT_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba. */ + | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba. */ + | 'CA_MB_FARMER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba. */ + | 'CA_MB_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia. */ + | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia. */ + | 'CA_NS_FARMER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario. */ + | 'CA_ON_PURCHASE_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island. */ + | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan. */ + | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan. */ + | 'CA_SK_CONTRACTOR_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan. */ + | 'CA_SK_FARMER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan. */ + | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan. */ + | 'CA_SK_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan. */ + | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada. */ + | 'CA_STATUS_CARD_EXEMPTION' + /** This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country. */ + | 'EU_REVERSE_CHARGE_EXEMPTION_RULE' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska. */ + | 'US_AK_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama. */ + | 'US_AL_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas. */ + | 'US_AR_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona. */ + | 'US_AZ_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California. */ + | 'US_CA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado. */ + | 'US_CO_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut. */ + | 'US_CT_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC. */ + | 'US_DC_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware. */ + | 'US_DE_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida. */ + | 'US_FL_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia. */ + | 'US_GA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii. */ + | 'US_HI_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa. */ + | 'US_IA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho. */ + | 'US_ID_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois. */ + | 'US_IL_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana. */ + | 'US_IN_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas. */ + | 'US_KS_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky. */ + | 'US_KY_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana. */ + | 'US_LA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts. */ + | 'US_MA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland. */ + | 'US_MD_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine. */ + | 'US_ME_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan. */ + | 'US_MI_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota. */ + | 'US_MN_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri. */ + | 'US_MO_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi. */ + | 'US_MS_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana. */ + | 'US_MT_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina. */ + | 'US_NC_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota. */ + | 'US_ND_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska. */ + | 'US_NE_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire. */ + | 'US_NH_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey. */ + | 'US_NJ_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico. */ + | 'US_NM_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada. */ + | 'US_NV_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York. */ + | 'US_NY_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio. */ + | 'US_OH_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma. */ + | 'US_OK_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon. */ + | 'US_OR_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania. */ + | 'US_PA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island. */ + | 'US_RI_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina. */ + | 'US_SC_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota. */ + | 'US_SD_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee. */ + | 'US_TN_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas. */ + | 'US_TX_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah. */ + | 'US_UT_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia. */ + | 'US_VA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont. */ + | 'US_VT_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington. */ + | 'US_WA_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin. */ + | 'US_WI_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia. */ + | 'US_WV_RESELLER_EXEMPTION' + /** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming. */ + | 'US_WY_RESELLER_EXEMPTION'; + +/** The detailed information about tax exemptions that can be applied to customers. */ +export type TaxExemptionDetails = { + __typename?: 'TaxExemptionDetails'; + /** Whether the tax exemption can be applied on tax lines. */ + applicable: Scalars['Boolean']['output']; + /** An identifier that groups exemptions. */ + exemptionGroup: Scalars['String']['output']; + /** The translated display name of the tax exemption group. */ + exemptionGroupName: Scalars['String']['output']; + /** The translated display name of the tax exemption when grouped. */ + groupedName: Scalars['String']['output']; + /** The translated display name of the tax exemption. */ + name: Scalars['String']['output']; + /** The code of the tax region this exemption applies to. If null, it applies in all regions. */ + taxRegionCode?: Maybe; + /** The unique type of the exemption. */ + type: TaxExemption; +}; + +/** The details about a single tax applied to the associated line item. */ +export type TaxLine = Node & { + __typename?: 'TaxLine'; + /** Whether the channel that submitted the tax line is responsible for remitting it. */ + channelLiable: Scalars['Boolean']['output']; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The tax amount in shop and presentment currencies, calculated after discounts and before returns. */ + priceSet: MoneyV2; + /** The proportion of the line item price represented by the tax, expressed as a decimal. */ + rate?: Maybe; + /** The proportion of the line item price represented by the tax, expressed as a percentage. */ + ratePercentage?: Maybe; + /** The origin of the tax. */ + source?: Maybe; + /** The name of the applied tax. */ + title: Scalars['String']['output']; +}; + +/** The ISO 3166-1 alpha-2 codes that distinguish a region where common tax rules apply. */ +export type TaxRegionCode = + /** Ascension Island. */ + | 'AC' + /** Andorra. */ + | 'AD' + /** United Arab Emirates. */ + | 'AE' + /** Afghanistan. */ + | 'AF' + /** Antigua & Barbuda. */ + | 'AG' + /** Anguilla. */ + | 'AI' + /** Albania. */ + | 'AL' + /** Armenia. */ + | 'AM' + /** Netherlands Antilles. */ + | 'AN' + /** Angola. */ + | 'AO' + /** Argentina. */ + | 'AR' + /** Austria. */ + | 'AT' + /** Australia. */ + | 'AU' + /** Aruba. */ + | 'AW' + /** Åland Islands. */ + | 'AX' + /** Azerbaijan. */ + | 'AZ' + /** Bosnia & Herzegovina. */ + | 'BA' + /** Barbados. */ + | 'BB' + /** Bangladesh. */ + | 'BD' + /** Belgium. */ + | 'BE' + /** Burkina Faso. */ + | 'BF' + /** Bulgaria. */ + | 'BG' + /** Bahrain. */ + | 'BH' + /** Burundi. */ + | 'BI' + /** Benin. */ + | 'BJ' + /** St. Barthélemy. */ + | 'BL' + /** Bermuda. */ + | 'BM' + /** Brunei. */ + | 'BN' + /** Bolivia. */ + | 'BO' + /** Caribbean Netherlands. */ + | 'BQ' + /** Brazil. */ + | 'BR' + /** Bahamas. */ + | 'BS' + /** Bhutan. */ + | 'BT' + /** Bouvet Island. */ + | 'BV' + /** Botswana. */ + | 'BW' + /** Belarus. */ + | 'BY' + /** Belize. */ + | 'BZ' + /** Canada. */ + | 'CA' + /** Cocos (Keeling) Islands. */ + | 'CC' + /** Congo - Kinshasa. */ + | 'CD' + /** Central African Republic. */ + | 'CF' + /** Congo - Brazzaville. */ + | 'CG' + /** Switzerland. */ + | 'CH' + /** Côte d’Ivoire. */ + | 'CI' + /** Cook Islands. */ + | 'CK' + /** Chile. */ + | 'CL' + /** Cameroon. */ + | 'CM' + /** China. */ + | 'CN' + /** Colombia. */ + | 'CO' + /** Costa Rica. */ + | 'CR' + /** Cuba. */ + | 'CU' + /** Cape Verde. */ + | 'CV' + /** Curaçao. */ + | 'CW' + /** Christmas Island. */ + | 'CX' + /** Cyprus. */ + | 'CY' + /** Czechia. */ + | 'CZ' + /** Germany. */ + | 'DE' + /** Djibouti. */ + | 'DJ' + /** Denmark. */ + | 'DK' + /** Dominica. */ + | 'DM' + /** Dominican Republic. */ + | 'DO' + /** Algeria. */ + | 'DZ' + /** Ecuador. */ + | 'EC' + /** Estonia. */ + | 'EE' + /** Egypt. */ + | 'EG' + /** Western Sahara. */ + | 'EH' + /** Eritrea. */ + | 'ER' + /** Spain. */ + | 'ES' + /** Ethiopia. */ + | 'ET' + /** European Union. */ + | 'EU' + /** Finland. */ + | 'FI' + /** Fiji. */ + | 'FJ' + /** Falkland Islands. */ + | 'FK' + /** Faroe Islands. */ + | 'FO' + /** France. */ + | 'FR' + /** Gabon. */ + | 'GA' + /** United Kingdom. */ + | 'GB' + /** Grenada. */ + | 'GD' + /** Georgia. */ + | 'GE' + /** French Guiana. */ + | 'GF' + /** Guernsey. */ + | 'GG' + /** Ghana. */ + | 'GH' + /** Gibraltar. */ + | 'GI' + /** Greenland. */ + | 'GL' + /** Gambia. */ + | 'GM' + /** Guinea. */ + | 'GN' + /** Guadeloupe. */ + | 'GP' + /** Equatorial Guinea. */ + | 'GQ' + /** Greece. */ + | 'GR' + /** South Georgia & South Sandwich Islands. */ + | 'GS' + /** Guatemala. */ + | 'GT' + /** Guinea-Bissau. */ + | 'GW' + /** Guyana. */ + | 'GY' + /** Hong Kong SAR. */ + | 'HK' + /** Heard & McDonald Islands. */ + | 'HM' + /** Honduras. */ + | 'HN' + /** Croatia. */ + | 'HR' + /** Haiti. */ + | 'HT' + /** Hungary. */ + | 'HU' + /** Indonesia. */ + | 'ID' + /** Ireland. */ + | 'IE' + /** Israel. */ + | 'IL' + /** Isle of Man. */ + | 'IM' + /** India. */ + | 'IN' + /** British Indian Ocean Territory. */ + | 'IO' + /** Iraq. */ + | 'IQ' + /** Iran. */ + | 'IR' + /** Iceland. */ + | 'IS' + /** Italy. */ + | 'IT' + /** Jersey. */ + | 'JE' + /** Jamaica. */ + | 'JM' + /** Jordan. */ + | 'JO' + /** Japan. */ + | 'JP' + /** Kenya. */ + | 'KE' + /** Kyrgyzstan. */ + | 'KG' + /** Cambodia. */ + | 'KH' + /** Kiribati. */ + | 'KI' + /** Comoros. */ + | 'KM' + /** St. Kitts & Nevis. */ + | 'KN' + /** North Korea. */ + | 'KP' + /** South Korea. */ + | 'KR' + /** Kuwait. */ + | 'KW' + /** Cayman Islands. */ + | 'KY' + /** Kazakhstan. */ + | 'KZ' + /** Laos. */ + | 'LA' + /** Lebanon. */ + | 'LB' + /** St. Lucia. */ + | 'LC' + /** Liechtenstein. */ + | 'LI' + /** Sri Lanka. */ + | 'LK' + /** Liberia. */ + | 'LR' + /** Lesotho. */ + | 'LS' + /** Lithuania. */ + | 'LT' + /** Luxembourg. */ + | 'LU' + /** Latvia. */ + | 'LV' + /** Libya. */ + | 'LY' + /** Morocco. */ + | 'MA' + /** Monaco. */ + | 'MC' + /** Moldova. */ + | 'MD' + /** Montenegro. */ + | 'ME' + /** St. Martin. */ + | 'MF' + /** Madagascar. */ + | 'MG' + /** North Macedonia. */ + | 'MK' + /** Mali. */ + | 'ML' + /** Myanmar (Burma). */ + | 'MM' + /** Mongolia. */ + | 'MN' + /** Macao SAR. */ + | 'MO' + /** Martinique. */ + | 'MQ' + /** Mauritania. */ + | 'MR' + /** Montserrat. */ + | 'MS' + /** Malta. */ + | 'MT' + /** Mauritius. */ + | 'MU' + /** Maldives. */ + | 'MV' + /** Malawi. */ + | 'MW' + /** Mexico. */ + | 'MX' + /** Malaysia. */ + | 'MY' + /** Mozambique. */ + | 'MZ' + /** Namibia. */ + | 'NA' + /** New Caledonia. */ + | 'NC' + /** Niger. */ + | 'NE' + /** Norfolk Island. */ + | 'NF' + /** Nigeria. */ + | 'NG' + /** Nicaragua. */ + | 'NI' + /** Netherlands. */ + | 'NL' + /** Norway. */ + | 'NO' + /** Nepal. */ + | 'NP' + /** Nauru. */ + | 'NR' + /** Niue. */ + | 'NU' + /** New Zealand. */ + | 'NZ' + /** Oman. */ + | 'OM' + /** Panama. */ + | 'PA' + /** Peru. */ + | 'PE' + /** French Polynesia. */ + | 'PF' + /** Papua New Guinea. */ + | 'PG' + /** Philippines. */ + | 'PH' + /** Pakistan. */ + | 'PK' + /** Poland. */ + | 'PL' + /** St. Pierre & Miquelon. */ + | 'PM' + /** Pitcairn Islands. */ + | 'PN' + /** Palestinian Territories. */ + | 'PS' + /** Portugal. */ + | 'PT' + /** Paraguay. */ + | 'PY' + /** Qatar. */ + | 'QA' + /** Réunion. */ + | 'RE' + /** Romania. */ + | 'RO' + /** Serbia. */ + | 'RS' + /** Russia. */ + | 'RU' + /** Rwanda. */ + | 'RW' + /** Saudi Arabia. */ + | 'SA' + /** Solomon Islands. */ + | 'SB' + /** Seychelles. */ + | 'SC' + /** Sudan. */ + | 'SD' + /** Sweden. */ + | 'SE' + /** Singapore. */ + | 'SG' + /** St. Helena. */ + | 'SH' + /** Slovenia. */ + | 'SI' + /** Svalbard & Jan Mayen. */ + | 'SJ' + /** Slovakia. */ + | 'SK' + /** Sierra Leone. */ + | 'SL' + /** San Marino. */ + | 'SM' + /** Senegal. */ + | 'SN' + /** Somalia. */ + | 'SO' + /** Suriname. */ + | 'SR' + /** South Sudan. */ + | 'SS' + /** São Tomé & Príncipe. */ + | 'ST' + /** El Salvador. */ + | 'SV' + /** Sint Maarten. */ + | 'SX' + /** Syria. */ + | 'SY' + /** Eswatini. */ + | 'SZ' + /** Tristan da Cunha. */ + | 'TA' + /** Turks & Caicos Islands. */ + | 'TC' + /** Chad. */ + | 'TD' + /** French Southern Territories. */ + | 'TF' + /** Togo. */ + | 'TG' + /** Thailand. */ + | 'TH' + /** Tajikistan. */ + | 'TJ' + /** Tokelau. */ + | 'TK' + /** Timor-Leste. */ + | 'TL' + /** Turkmenistan. */ + | 'TM' + /** Tunisia. */ + | 'TN' + /** Tonga. */ + | 'TO' + /** Turkey. */ + | 'TR' + /** Trinidad & Tobago. */ + | 'TT' + /** Tuvalu. */ + | 'TV' + /** Taiwan. */ + | 'TW' + /** Tanzania. */ + | 'TZ' + /** Ukraine. */ + | 'UA' + /** Uganda. */ + | 'UG' + /** U.S. Outlying Islands. */ + | 'UM' + /** United States. */ + | 'US' + /** Uruguay. */ + | 'UY' + /** Uzbekistan. */ + | 'UZ' + /** Vatican City. */ + | 'VA' + /** St. Vincent & Grenadines. */ + | 'VC' + /** Venezuela. */ + | 'VE' + /** British Virgin Islands. */ + | 'VG' + /** Vietnam. */ + | 'VN' + /** Vanuatu. */ + | 'VU' + /** Wallis & Futuna. */ + | 'WF' + /** Samoa. */ + | 'WS' + /** Kosovo. */ + | 'XK' + /** Yemen. */ + | 'YE' + /** Mayotte. */ + | 'YT' + /** South Africa. */ + | 'ZA' + /** Zambia. */ + | 'ZM' + /** Zimbabwe. */ + | 'ZW'; + +/** + * The events that chronicle resource activities available to the customer. + * + */ +export type TimelineEvent = Node & { + __typename?: 'TimelineEvent'; + /** The date and time when the event occurred. */ + happenedAt: Scalars['DateTime']['output']; + /** The unique ID for the timeline event. */ + id: Scalars['ID']['output']; + /** Additional details about the event. */ + message?: Maybe; + /** The subtitle of the event. */ + subtitle?: Maybe; + /** The title of the event. */ + title: Scalars['String']['output']; +}; + +/** A sale that is associated with a tip. */ +export type TipSale = Node & + Sale & { + __typename?: 'TipSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The line item associated with the sale. */ + lineItem: LineItem; + /** The type of line associated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** Represents the tracking information for a fulfillment. */ +export type TrackingInformation = { + __typename?: 'TrackingInformation'; + /** The name of the tracking company. */ + company?: Maybe; + /** The tracking number for the fulfillment. */ + number?: Maybe; + /** The URLs to track the fulfillment. */ + url?: Maybe; +}; + +/** The details related to the transaction type. */ +export type TransactionTypeDetails = { + __typename?: 'TransactionTypeDetails'; + /** The message of the transaction type. */ + message?: Maybe; + /** The name of the transaction type. */ + name?: Maybe; +}; + +/** + * The custom data attached to a resource. Metafields can be sorted into namespaces and are + * comprised of keys, values, and value types. + * + */ +export type UiExtensionMetafield = Node & { + __typename?: 'UiExtensionMetafield'; + /** The description of a metafield. */ + description?: Maybe; + /** A globally-unique ID. */ + id: Scalars['ID']['output']; + /** The key name for a metafield. */ + key: Scalars['String']['output']; + /** The namespace for a metafield. */ + namespace: Scalars['String']['output']; + /** The owner ID for a metafield. */ + ownerId: Scalars['ID']['output']; + /** + * The type name of the metafield. + * See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). + * + */ + type: Scalars['String']['output']; + /** The value of a metafield. */ + value: Scalars['String']['output']; + /** + * Represents the metafield value type. + * @deprecated `valueType` is deprecated and replaced by `type`. + */ + valueType: MetafieldValueType; +}; + +/** The input fields for filtering ui extension metafields. */ +export type UiExtensionMetafieldFilterInput = { + /** A metafield key. */ + key: Scalars['String']['input']; + /** A metafield namespace. */ + namespace: Scalars['String']['input']; +}; + +/** + * A session token for a UI extension. + * + */ +export type UiExtensionSessionToken = { + __typename?: 'UiExtensionSessionToken'; + /** + * The second count until the session token expires. + * + */ + expiresIn: Scalars['Int']['output']; + /** + * The value of the UI extension session token. + * + */ + value: Scalars['String']['output']; +}; + +/** + * The information about the container for unfulfilled digital line items (excluding gift cards). + * + */ +export type UnfulfilledDigitalLineItemContainer = + UnfulfilledLineItemContainerCommonFields & { + __typename?: 'UnfulfilledDigitalLineItemContainer'; + /** The line items within this container. */ + lineItems: LineItemContainerLineItemConnection; + }; + +/** + * The information about the container for unfulfilled digital line items (excluding gift cards). + * + */ +export type UnfulfilledDigitalLineItemContainerLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The information about the container for unfulfilled gift card type line items. + * + */ +export type UnfulfilledGiftCardLineItemContainer = + UnfulfilledLineItemContainerCommonFields & { + __typename?: 'UnfulfilledGiftCardLineItemContainer'; + /** The line items within this container. */ + lineItems: LineItemContainerLineItemConnection; + }; + +/** + * The information about the container for unfulfilled gift card type line items. + * + */ +export type UnfulfilledGiftCardLineItemContainerLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The information about the container for unfulfilled line items. + * + */ +export type UnfulfilledLineItemContainer = + UnfulfilledLineItemContainerCommonFields & { + __typename?: 'UnfulfilledLineItemContainer'; + /** The translated state of the line item container (for example, `Unfulfilled`). */ + displayableState: Scalars['String']['output']; + /** The line items within this container. */ + lineItems: LineItemContainerLineItemConnection; + /** The state of the line item container (for example, `unfulfilled`). */ + state: Scalars['String']['output']; + }; + +/** + * The information about the container for unfulfilled line items. + * + */ +export type UnfulfilledLineItemContainerLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** The common fields for containers of unfulfilled line items series. */ +export type UnfulfilledLineItemContainerCommonFields = { + /** The line items within this container. */ + lineItems: LineItemContainerLineItemConnection; +}; + +/** The common fields for containers of unfulfilled line items series. */ +export type UnfulfilledLineItemContainerCommonFieldsLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The information about the container for unfulfilled physical type line items. + * + */ +export type UnfulfilledPhysicalLineItemContainer = + UnfulfilledLineItemContainerCommonFields & { + __typename?: 'UnfulfilledPhysicalLineItemContainer'; + /** The line items within this container. */ + lineItems: LineItemContainerLineItemConnection; + }; + +/** + * The information about the container for unfulfilled physical type line items. + * + */ +export type UnfulfilledPhysicalLineItemContainerLineItemsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + reverse?: InputMaybe; +}; + +/** + * The unit price of the line component. For example, "$9.99 / 100ml". + * + */ +export type UnitPrice = { + __typename?: 'UnitPrice'; + /** + * The unit measurement. For example, "$9.99 / 100ml". + * + */ + measurement: UnitPriceMeasurement; + /** + * The unit price of the variant. For example, "$1 per xy" where price is "$1". + * + */ + price: MoneyV2; +}; + +/** + * The unit price measurement of the line component. For example, "$9.99 / 100ml". + * + */ +export type UnitPriceMeasurement = { + __typename?: 'UnitPriceMeasurement'; + /** + * The reference unit for the unit price measurement. For example, "$9.99 / 100ml" where the reference unit is "ml". + * + */ + referenceUnit: UnitPriceMeasurementUnit; + /** + * The reference value for the unit price measurement. For example, "$9.99 / 100ml" where the reference value is "100". + * + */ + referenceValue: Scalars['Int']['output']; +}; + +/** The valid units of measurement for a unit price measurement. */ +export type UnitPriceMeasurementUnit = + /** 100 centiliters equals 1 liter. */ + | 'CL' + /** 100 centimeters equals 1 meter. */ + | 'CM' + /** Metric system unit of weight. */ + | 'G' + /** 1 kilogram equals 1000 grams. */ + | 'KG' + /** Metric system unit of volume. */ + | 'L' + /** Metric system unit of length. */ + | 'M' + /** Metric system unit of area. */ + | 'M2' + /** 1 cubic meter equals 1000 liters. */ + | 'M3' + /** 1000 milligrams equals 1 gram. */ + | 'MG' + /** 1000 milliliters equals 1 liter. */ + | 'ML' + /** 1000 millimeters equals 1 meter. */ + | 'MM'; + +/** This represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale. */ +export type UnknownSale = Node & + Sale & { + __typename?: 'UnknownSale'; + /** The type of order action represented by the sale. */ + actionType: SaleActionType; + /** The unique ID of the sale. */ + id: Scalars['ID']['output']; + /** The line type assocated with the sale. */ + lineType: SaleLineType; + /** The number of units ordered or intended to be returned. */ + quantity?: Maybe; + /** The individual taxes associated with the sale. */ + taxes: Array; + /** The total sale amount after taxes and discounts. */ + totalAmount: MoneyV2; + /** The total amount of discounts allocated to the sale after taxes. */ + totalDiscountAmountAfterTaxes: MoneyV2; + /** The total discounts allocated to the sale before taxes. */ + totalDiscountAmountBeforeTaxes: MoneyV2; + /** The total tax amount for the sale. */ + totalTaxAmount: MoneyV2; + }; + +/** The error codes that are provided for failed address mutations. */ +export type UserErrorsAddressUserErrors = DisplayableError & { + __typename?: 'UserErrorsAddressUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsAddressUserErrors`. */ +export type UserErrorsAddressUserErrorsCode = + /** The Address1 field is missing. */ + | 'ADDRESS1_MISSING' + /** The provided address already exists. */ + | 'ADDRESS_ALREADY_EXISTS' + /** The provided address argument is empty. */ + | 'ADDRESS_ARGUMENT_EMPTY' + /** The provided address ID doesn't exist. */ + | 'ADDRESS_ID_DOES_NOT_EXIST' + /** The Country Code field is missing. */ + | 'COUNTRY_CODE_MISSING' + /** The provided country doesn't exist. */ + | 'COUNTRY_NOT_EXIST' + /** The default address can't be deleted before setting another one as default. */ + | 'DELETING_DEFAULT_ADDRESS_NOT_ALLOWED' + /** Demoting the default address isn't allowed. */ + | 'DEMOTING_DEFAULT_ADDRESS_NOT_ALLOWED' + /** The provided address field isn't valid. */ + | 'INVALID' + /** The provided value is invalid for the country. */ + | 'INVALID_FOR_COUNTRY' + /** The provided value is invalid for the country and province. */ + | 'INVALID_FOR_COUNTRY_AND_PROVINCE' + /** The provided Territory Code isn't valid. */ + | 'INVALID_TERRITORY_CODE' + /** The provided phone number isn't valid. */ + | 'PHONE_NUMBER_NOT_VALID' + /** The field is required. */ + | 'REQUIRED' + /** The Territory Code field is missing. */ + | 'TERRITORY_CODE_MISSING' + /** The provided address field is too long. */ + | 'TOO_LONG' + /** The Zone Code field is missing. */ + | 'ZONE_CODE_MISSING'; + +/** The error codes for failed business contact mutations. */ +export type UserErrorsBusinessContactUserErrors = DisplayableError & { + __typename?: 'UserErrorsBusinessContactUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsBusinessContactUserErrors`. */ +export type UserErrorsBusinessContactUserErrorsCode = + /** Business contact was not found. */ + | 'BUSINESS_CONTACT_NOT_FOUND' + /** Business contact update input argument is empty. */ + | 'BUSINESS_CONTACT_UPDATE_INPUT_ARGUMENT_EMPTY' + /** Business contact field is too long. */ + | 'TOO_LONG'; + +/** The error codes for failed payment instrument mutations. */ +export type UserErrorsBusinessLocationPaymentInstrumentUserErrors = + DisplayableError & { + __typename?: 'UserErrorsBusinessLocationPaymentInstrumentUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; + }; + +/** Possible error codes that can be returned by `UserErrorsBusinessLocationPaymentInstrumentUserErrors`. */ +export type UserErrorsBusinessLocationPaymentInstrumentUserErrorsCode = + /** Address1 field is missing. */ + | 'ADDRESS1_MISSING' + /** Address argument is empty. */ + | 'ADDRESS_ARGUMENT_EMPTY' + /** The card's brand is not supported. */ + | 'BRAND_NOT_SUPPORTED' + /** Cannot replace a payment instrument with itself. */ + | 'CANNOT_REPLACE_PAYMENT_INSTRUMENT_WITH_ITSELF' + /** City field is missing. */ + | 'CITY_MISSING' + /** Company location ID does not exist. */ + | 'COMPANY_LOCATION_ID_DOES_NOT_EXIST' + /** Country Code field is missing. */ + | 'COUNTRY_CODE_MISSING' + /** The card was declined. */ + | 'DECLINED' + /** The card is expired. */ + | 'EXPIRED' + /** The card's first name is missing. */ + | 'FIRST_NAME_BLANK' + /** An error occured. */ + | 'GENERIC_ERROR' + /** The address is incorrect. */ + | 'INCORRECT' + /** Address field is not valid. */ + | 'INVALID' + /** Invalid for country. */ + | 'INVALID_FOR_COUNTRY' + /** Invalid for country and province. */ + | 'INVALID_FOR_COUNTRY_AND_PROVINCE' + /** Invalid province in country. */ + | 'INVALID_PROVINCE_IN_COUNTRY' + /** The card's start date or issue number is invalid. */ + | 'INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT' + /** Invalid state in country. */ + | 'INVALID_STATE_IN_COUNTRY' + /** The card's last name is missing. */ + | 'LAST_NAME_BLANK' + /** The card's month is invalid. */ + | 'MONTH_INCLUSION' + /** The card's name is invalid. */ + | 'NAME_INVALID' + /** The card's number is invalid. */ + | 'NUMBER_INVALID' + /** The card's number is invalid. */ + | 'NUMBER_INVALID_FORMAT' + /** Payment instrument ID does not exist. */ + | 'PAYMENT_INSTRUMENT_ID_DOES_NOT_EXIST' + /** This payment instrument is already on file. */ + | 'PAYMENT_INSTRUMENT_TAKEN' + /** Phone number is not valid. */ + | 'PHONE_NUMBER_NOT_VALID' + /** The field is required. */ + | 'REQUIRED' + /** This test card cannot be used for real transactions. */ + | 'TEST_MODE_LIVE_CARD' + /** Address field is too long. */ + | 'TOO_LONG' + /** Too many payment instrument updates. */ + | 'UPDATE_LIMIT_EXCEEDED' + /** The card's verification value is missing. */ + | 'VERIFICATION_VALUE_BLANK' + /** The card's verification value is incorrect. */ + | 'VERIFICATION_VALUE_INCORRECT' + /** The card's verification value is invalid. */ + | 'VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE' + /** The card's expiry year has passed. */ + | 'YEAR_EXPIRED' + /** The card's year is invalid. */ + | 'YEAR_INVALID_EXPIRY_YEAR' + /** The address's zip code is incorrect. */ + | 'ZIP_INCORRECT' + /** Zone Code field is missing. */ + | 'ZONE_CODE_MISSING'; + +/** The error codes for failed business location address mutations. */ +export type UserErrorsCompanyAddressUserErrors = DisplayableError & { + __typename?: 'UserErrorsCompanyAddressUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsCompanyAddressUserErrors`. */ +export type UserErrorsCompanyAddressUserErrorsCode = + /** Address1 field cannot be blank. */ + | 'ADDRESS1_CANNOT_BE_BLANK' + /** Address1 field is missing. */ + | 'ADDRESS1_MISSING' + /** Business location billing address doesn't exist. */ + | 'BUSINESS_LOCATION_BILLING_ADDRESS_NOT_FOUND' + /** Business location doesn't exist. */ + | 'BUSINESS_LOCATION_NOT_FOUND' + /** Business location shipping address doesn't exist. */ + | 'BUSINESS_LOCATION_SHIPPING_ADDRESS_NOT_FOUND' + /** Company address create input argument is empty. */ + | 'COMPANY_ADDRESS_CREATE_INPUT_ARGUMENT_EMPTY' + /** Company address update input argument is empty. */ + | 'COMPANY_ADDRESS_UPDATE_INPUT_ARGUMENT_EMPTY' + /** Country_code field cannot be blank. */ + | 'COUNTRY_CODE_CANNOT_BE_BLANK' + /** Country Code field is missing. */ + | 'COUNTRY_CODE_MISSING' + /** Creating the address failed. */ + | 'FAILED_TO_CREATE' + /** Deleting the address failed. */ + | 'FAILED_TO_DELETE' + /** Setting the address failed. */ + | 'FAILED_TO_SET_ADDRESS' + /** Setting the billing address failed. */ + | 'FAILED_TO_SET_BILLING_ADDRESS' + /** Setting the shipping address failed. */ + | 'FAILED_TO_SET_SHIPPING_ADDRESS' + /** Updating the address failed. */ + | 'FAILED_TO_UPDATE' + /** The input value is invalid. */ + | 'INVALID' + /** Invalid address field. */ + | 'INVALID_ADDRESS_FIELD' + /** Invalid address type. */ + | 'INVALID_ADDRESS_TYPE' + /** Location has already a billing address. */ + | 'LOCATION_HAS_ALREADY_BILLING_ADDRESS' + /** Location has already a shipping address. */ + | 'LOCATION_HAS_ALREADY_SHIPPING_ADDRESS' + /** The country does not have zones. */ + | 'NO_ZONE_IN_COUNTRY' + /** Permission denied. */ + | 'PERMISSION_DENIED' + /** Phone field cannot be blank. */ + | 'PHONE_CANNOT_BE_BLANK' + /** Phone number is not valid. */ + | 'PHONE_NUMBER_NOT_VALID' + /** Recipient and first/last name present at the same time. */ + | 'PRESENT' + /** The field is required. */ + | 'REQUIRED' + /** The field value is too long. */ + | 'TOO_LONG' + /** Unexpected type. */ + | 'UNEXPECTED_TYPE' + /** Zone_code field cannot be blank. */ + | 'ZONE_CODE_CANNOT_BE_BLANK' + /** Zone Code field is missing. */ + | 'ZONE_CODE_MISSING'; + +/** The error codes that are provided for failed address mutations. */ +export type UserErrorsCustomerAddressUserErrors = DisplayableError & { + __typename?: 'UserErrorsCustomerAddressUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsCustomerAddressUserErrors`. */ +export type UserErrorsCustomerAddressUserErrorsCode = + /** The Address1 field is missing. */ + | 'ADDRESS1_MISSING' + /** The provided address argument is empty. */ + | 'ADDRESS_ARGUMENT_EMPTY' + /** The provided address ID doesn't exist. */ + | 'ADDRESS_ID_DOES_NOT_EXIST' + /** The provided country doesn't exist. */ + | 'COUNTRY_NOT_EXIST' + /** The provided customer address already exists. */ + | 'CUSTOMER_ADDRESS_ALREADY_EXISTS' + /** The default address of the customer can't be deleted before setting another one as default. */ + | 'DELETING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED' + /** Demoting the default address of the customer isn't allowed. */ + | 'DEMOTING_CUSTOMER_DEFAULT_ADDRESS_NOT_ALLOWED' + /** The provided address field isn't valid. */ + | 'INVALID' + /** The provided value is invalid for the country. */ + | 'INVALID_FOR_COUNTRY' + /** The provided value is invalid for the country and province. */ + | 'INVALID_FOR_COUNTRY_AND_PROVINCE' + /** The provided Territory Code isn't valid. */ + | 'INVALID_TERRITORY_CODE' + /** The provided phone number isn't valid. */ + | 'PHONE_NUMBER_NOT_VALID' + /** The field is required. */ + | 'REQUIRED' + /** The Territory Code field is missing. */ + | 'TERRITORY_CODE_MISSING' + /** The provided address field is too long. */ + | 'TOO_LONG' + /** The Zone Code field is missing. */ + | 'ZONE_CODE_MISSING'; + +/** Provides error codes for failed marketing opt-in mutations. */ +export type UserErrorsCustomerEmailMarketingOptInUserErrors = + DisplayableError & { + __typename?: 'UserErrorsCustomerEmailMarketingOptInUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; + }; + +/** Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingOptInUserErrors`. */ +export type UserErrorsCustomerEmailMarketingOptInUserErrorsCode = + /** The customer is already subscribed. */ + | 'CUSTOMER_ALREADY_SUBSCRIBED' + /** The customer does not have an email address. */ + | 'EMAIL_ADDRESS_NOT_FOUND' + /** There was an error. */ + | 'FAILED'; + +/** Provides error codes for marketing subscribe mutations. */ +export type UserErrorsCustomerEmailMarketingUserErrors = DisplayableError & { + __typename?: 'UserErrorsCustomerEmailMarketingUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsCustomerEmailMarketingUserErrors`. */ +export type UserErrorsCustomerEmailMarketingUserErrorsCode = + /** The customer is already subscribed. */ + | 'CUSTOMER_ALREADY_SUBSCRIBED' + /** The customer does not have an email address. */ + | 'EMAIL_ADDRESS_NOT_FOUND' + /** Subscription failed. */ + | 'FAILED_TO_SUBSCRIBE' + /** Unsubscription failed. */ + | 'FAILED_TO_UNSUBSCRIBE'; + +/** Provides error codes for failed personal information mutations. */ +export type UserErrorsCustomerUserErrors = DisplayableError & { + __typename?: 'UserErrorsCustomerUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsCustomerUserErrors`. */ +export type UserErrorsCustomerUserErrorsCode = + /** The customer does not exist. */ + | 'CUSTOMER_DOES_NOT_EXIST' + /** The personal information input argument is empty. */ + | 'CUSTOMER_INPUT_ARGUMENT_EMPTY' + /** The personal information field is not valid. */ + | 'INVALID' + /** The personal information field is too long. */ + | 'TOO_LONG'; + +/** The error codes for failed payment instrument mutations. */ +export type UserErrorsPaymentInstrumentUserErrors = DisplayableError & { + __typename?: 'UserErrorsPaymentInstrumentUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsPaymentInstrumentUserErrors`. */ +export type UserErrorsPaymentInstrumentUserErrorsCode = + /** Address1 field is missing. */ + | 'ADDRESS1_MISSING' + /** Address argument is empty. */ + | 'ADDRESS_ARGUMENT_EMPTY' + /** The card's brand is not supported. */ + | 'BRAND_NOT_SUPPORTED' + /** Cannot find Shop Pay order for redirection. */ + | 'CANNOT_REDIRECT_TO_SHOP_PAY' + /** Cannot replace a payment instrument with itself. */ + | 'CANNOT_REPLACE_PAYMENT_INSTRUMENT_WITH_ITSELF' + /** City field is missing. */ + | 'CITY_MISSING' + /** Country Code field is missing. */ + | 'COUNTRY_CODE_MISSING' + /** The card was declined. */ + | 'DECLINED' + /** The card is expired. */ + | 'EXPIRED' + /** The card's first name is missing. */ + | 'FIRST_NAME_BLANK' + /** An error occured. */ + | 'GENERIC_ERROR' + /** The address is incorrect. */ + | 'INCORRECT' + /** Address field is not valid. */ + | 'INVALID' + /** Invalid for country. */ + | 'INVALID_FOR_COUNTRY' + /** Invalid for country and province. */ + | 'INVALID_FOR_COUNTRY_AND_PROVINCE' + /** Invalid province in country. */ + | 'INVALID_PROVINCE_IN_COUNTRY' + /** The card's start date or issue number is invalid. */ + | 'INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT' + /** Invalid state in country. */ + | 'INVALID_STATE_IN_COUNTRY' + /** The card's last name is missing. */ + | 'LAST_NAME_BLANK' + /** The card's month is invalid. */ + | 'MONTH_INCLUSION' + /** The card's name is invalid. */ + | 'NAME_INVALID' + /** The card's number is invalid. */ + | 'NUMBER_INVALID' + /** The card's number is invalid. */ + | 'NUMBER_INVALID_FORMAT' + /** Payment instrument ID does not exist. */ + | 'PAYMENT_INSTRUMENT_ID_DOES_NOT_EXIST' + /** This payment instrument is already on file. */ + | 'PAYMENT_INSTRUMENT_TAKEN' + /** Phone number is not valid. */ + | 'PHONE_NUMBER_NOT_VALID' + /** The field is required. */ + | 'REQUIRED' + /** This test card cannot be used for real transactions. */ + | 'TEST_MODE_LIVE_CARD' + /** Address field is too long. */ + | 'TOO_LONG' + /** Payment instrument type is not supported for this operation. */ + | 'UNSUPPORTED_PAYMENT_INSTRUMENT_TYPE' + /** Too many payment instrument updates. */ + | 'UPDATE_LIMIT_EXCEEDED' + /** The card's verification value is missing. */ + | 'VERIFICATION_VALUE_BLANK' + /** The card's verification value is incorrect. */ + | 'VERIFICATION_VALUE_INCORRECT' + /** The card's verification value is invalid. */ + | 'VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE' + /** The card's expiry year has passed. */ + | 'YEAR_EXPIRED' + /** The card's year is invalid. */ + | 'YEAR_INVALID_EXPIRY_YEAR' + /** The address's zip code is incorrect. */ + | 'ZIP_INCORRECT' + /** Zone Code field is missing. */ + | 'ZONE_CODE_MISSING'; + +/** The error codes for failed PayPal token mutations. */ +export type UserErrorsPaypalTokenUserErrors = DisplayableError & { + __typename?: 'UserErrorsPaypalTokenUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsPaypalTokenUserErrors`. */ +export type UserErrorsPaypalTokenUserErrorsCode = + /** PayPal Express gateway is not enabled. */ + | 'PAYPAL_EXPRESS_GATEWAY_NOT_ENABLED' + /** PayPal account does not support reference transactions. */ + | 'REFERENCE_TRANSACTIONS_NOT_ENABLED' + /** PayPal Express token could not be created. */ + | 'TOKEN_COULD_NOT_BE_CREATED'; + +/** Provides error codes for failed personal information mutations. */ +export type UserErrorsPersonalInformationUserErrors = DisplayableError & { + __typename?: 'UserErrorsPersonalInformationUserErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsPersonalInformationUserErrors`. */ +export type UserErrorsPersonalInformationUserErrorsCode = + /** The customer does not exist. */ + | 'CUSTOMER_DOES_NOT_EXIST' + /** The personal information field is not valid. */ + | 'INVALID' + /** The personal information input argument is empty. */ + | 'PERSONAL_INFORMATION_INPUT_ARGUMENT_EMPTY' + /** The personal information field is too long. */ + | 'TOO_LONG'; + +/** The error codes for failed resending gift card mutations. */ +export type UserErrorsResendGiftCardErrors = DisplayableError & { + __typename?: 'UserErrorsResendGiftCardErrors'; + /** The error code. */ + code?: Maybe; + /** The path to the input field that caused the error. */ + field?: Maybe>; + /** The error message. */ + message: Scalars['String']['output']; +}; + +/** Possible error codes that can be returned by `UserErrorsResendGiftCardErrors`. */ +export type UserErrorsResendGiftCardErrorsCode = + /** No gift card is associated with the order. */ + | 'GIFT_CARD_NOT_FOUND_FOR_ORDER' + /** This order does not exist. */ + | 'ORDER_NOT_FOUND'; + +/** The configuration used for Payment Wallets. */ +export type WalletPaymentConfig = ApplePayWalletConfig | GooglePayWalletConfig; + +/** A weight, which includes a numeric value and a unit of measurement. */ +export type Weight = { + __typename?: 'Weight'; + /** The unit of measurement for `value`. */ + unit: WeightUnit; + /** The weight value using the unit system specified with `unit`. */ + value: Scalars['Float']['output']; +}; + +/** Units of measurement for weight. */ +export type WeightUnit = + /** Metric system unit of mass. */ + | 'GRAMS' + /** 1 kilogram equals 1000 grams. */ + | 'KILOGRAMS' + /** Imperial system unit of mass. */ + | 'OUNCES' + /** 1 pound equals 16 ounces. */ + | 'POUNDS'; diff --git a/packages/hydrogen-react/src/index.ts b/packages/hydrogen-react/src/index.ts index 39be7bcc99..99afa6abc0 100644 --- a/packages/hydrogen-react/src/index.ts +++ b/packages/hydrogen-react/src/index.ts @@ -38,7 +38,10 @@ export {CartLineProvider, useCartLine} from './CartLineProvider.js'; export {CartLineQuantity} from './CartLineQuantity.js'; export {CartLineQuantityAdjustButton} from './CartLineQuantityAdjustButton.js'; export {CartProvider, useCart} from './CartProvider.js'; -export {storefrontApiCustomScalars} from './codegen.helpers.js'; +export { + customerApiCustomScalars, + storefrontApiCustomScalars, +} from './codegen.helpers.js'; export {getShopifyCookies} from './cookies-utils.js'; export {ExternalVideo} from './ExternalVideo.js'; export {flattenConnection} from './flatten-connection.js'; diff --git a/packages/hydrogen-react/src/storefront-api-types.d.ts b/packages/hydrogen-react/src/storefront-api-types.d.ts index 6d1c94da3c..e4af10e3c9 100644 --- a/packages/hydrogen-react/src/storefront-api-types.d.ts +++ b/packages/hydrogen-react/src/storefront-api-types.d.ts @@ -702,6 +702,7 @@ export type CartBuyerIdentityInput = { * The rank of the preferences is determined by the order of the addresses in the array. Preferences * can be used to populate relevant fields in the checkout flow. * + * The input must not contain more than `250` values. */ deliveryAddressPreferences?: InputMaybe>; /** The email address of the buyer that is interacting with the cart. */ @@ -713,6 +714,7 @@ export type CartBuyerIdentityInput = { * Preferences can be used to populate relevant payment fields in the checkout flow. * Accepted value: `["shop_pay"]`. * + * The input must not contain more than `250` values. */ walletPreferences?: InputMaybe>; }; @@ -1000,7 +1002,11 @@ export type CartFreePaymentMethodInput = { /** The input fields to create a cart. */ export type CartInput = { - /** An array of key-value pairs that contains additional information about the cart. */ + /** + * An array of key-value pairs that contains additional information about the cart. + * + * The input must not contain more than `250` values. + */ attributes?: InputMaybe>; /** * The customer associated with the cart. Used to determine [international pricing] @@ -1012,11 +1018,20 @@ export type CartInput = { /** * The case-insensitive discount codes that the customer added at checkout. * + * The input must not contain more than `250` values. */ discountCodes?: InputMaybe>; - /** A list of merchandise lines to add to the cart. */ + /** + * A list of merchandise lines to add to the cart. + * + * The input must not contain more than `250` values. + */ lines?: InputMaybe>; - /** The metafields to associate with this cart. */ + /** + * The metafields to associate with this cart. + * + * The input must not contain more than `250` values. + */ metafields?: InputMaybe>; /** * A note that's associated with the cart. For example, the note can be a personalized message to the buyer. @@ -1109,7 +1124,11 @@ export type CartLineEstimatedCost = { /** The input fields to create a merchandise line on a cart. */ export type CartLineInput = { - /** An array of key-value pairs that contains additional information about the merchandise line. */ + /** + * An array of key-value pairs that contains additional information about the merchandise line. + * + * The input must not contain more than `250` values. + */ attributes?: InputMaybe>; /** The ID of the merchandise that the buyer intends to purchase. */ merchandiseId: Scalars['ID']['input']; @@ -1121,7 +1140,11 @@ export type CartLineInput = { /** The input fields to update a line item on a cart. */ export type CartLineUpdateInput = { - /** An array of key-value pairs that contains additional information about the merchandise line. */ + /** + * An array of key-value pairs that contains additional information about the merchandise line. + * + * The input must not contain more than `250` values. + */ attributes?: InputMaybe>; /** The ID of the merchandise line. */ id: Scalars['ID']['input']; @@ -1352,7 +1375,7 @@ export type Checkout = Node & { note?: Maybe; /** The resulting order from a paid checkout. */ order?: Maybe; - /** The Order Status Page for this Checkout, null when checkout isn't completed. */ + /** The Order status page for this Checkout, null when checkout isn't completed. */ orderStatusUrl?: Maybe; /** The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards. */ paymentDue: MoneyV2; @@ -1441,7 +1464,11 @@ export type CheckoutAttributesUpdateV2Input = { * */ allowPartialAddresses?: InputMaybe; - /** A list of extra information that's added to the checkout. */ + /** + * A list of extra information that's added to the checkout. + * + * The input must not contain more than `250` values. + */ customAttributes?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ note?: InputMaybe; @@ -1536,11 +1563,19 @@ export type CheckoutCreateInput = { allowPartialAddresses?: InputMaybe; /** The identity of the customer associated with the checkout. */ buyerIdentity?: InputMaybe; - /** A list of extra information that's added to the checkout. */ + /** + * A list of extra information that's added to the checkout. + * + * The input must not contain more than `250` values. + */ customAttributes?: InputMaybe>; /** The email with which the customer wants to checkout. */ email?: InputMaybe; - /** A list of line item objects, each one containing information about an item in the checkout. */ + /** + * A list of line item objects, each one containing information about an item in the checkout. + * + * The input must not contain more than `250` values. + */ lineItems?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ note?: InputMaybe; @@ -1806,7 +1841,11 @@ export type CheckoutLineItemEdge = { /** The input fields to create a line item on a checkout. */ export type CheckoutLineItemInput = { - /** Extra information in the form of an array of Key-Value pairs about the line item. */ + /** + * Extra information in the form of an array of Key-Value pairs about the line item. + * + * The input must not contain more than `250` values. + */ customAttributes?: InputMaybe>; /** The quantity of the line item. */ quantity: Scalars['Int']['input']; @@ -1816,7 +1855,11 @@ export type CheckoutLineItemInput = { /** The input fields to update a line item on the checkout. */ export type CheckoutLineItemUpdateInput = { - /** Extra information in the form of an array of Key-Value pairs about the line item. */ + /** + * Extra information in the form of an array of Key-Value pairs about the line item. + * + * The input must not contain more than `250` values. + */ customAttributes?: InputMaybe>; /** The ID of the line item. */ id?: InputMaybe; @@ -6776,7 +6819,7 @@ export type QueryRoot = { productTags: StringConnection; /** List of product types for the shop's products that are published to your app. */ productTypes: StringConnection; - /** List of the shop’s products. */ + /** List of the shop’s products. For storefront search, use [`search` query](https://shopify.dev/docs/api/storefront/latest/queries/search). */ products: ProductConnection; /** The list of public Storefront API versions, including supported, release candidate and unstable versions. */ publicApiVersions: Array; diff --git a/packages/hydrogen-react/storefront.schema.json b/packages/hydrogen-react/storefront.schema.json index 78330bf441..6de4e26903 100644 --- a/packages/hydrogen-react/storefront.schema.json +++ b/packages/hydrogen-react/storefront.schema.json @@ -1 +1,31073 @@ -{"__schema":{"queryType":{"name":"QueryRoot"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"ApiVersion","description":"A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning).\nVersions are commonly referred to by their handle (for example, `2021-10`).\n","fields":[{"name":"displayName","description":"The human-readable name of the version.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"supported","description":"Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ApplePayWalletContentInput","description":"The input fields for submitting Apple Pay payment method information for checkout.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The customer's billing address.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"data","description":"The data for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"header","description":"The header data for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ApplePayWalletHeaderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastDigits","description":"The last digits of the card used to create the payment.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"signature","description":"The signature for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"version","description":"The version for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ApplePayWalletHeaderInput","description":"The input fields for submitting wallet payment method information for checkout.\n","fields":null,"inputFields":[{"name":"applicationData","description":"The application data for the Apple Pay wallet.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"ephemeralPublicKey","description":"The ephemeral public key for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"publicKeyHash","description":"The public key hash for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":"The transaction ID for the Apple Pay wallet.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AppliedGiftCard","description":"Details about the gift card used on the checkout.","fields":[{"name":"amountUsed","description":"The amount that was taken from the gift card by applying it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountUsedV2","description":"The amount that was taken from the gift card by applying it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `amountUsed` instead."},{"name":"balance","description":"The amount left on the gift card.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"balanceV2","description":"The amount left on the gift card.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `balance` instead."},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastCharacters","description":"The last characters of the gift card.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"presentmentAmountUsed","description":"The amount that was applied to the checkout in its currency.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Article","description":"An article in an online store blog.","fields":[{"name":"author","description":"The article's author.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ArticleAuthor","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `authorV2` instead."},{"name":"authorV2","description":"The article's author.","args":[],"type":{"kind":"OBJECT","name":"ArticleAuthor","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"blog","description":"The blog that the article belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Blog","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"comments","description":"List of comments posted on the article.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CommentConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"content","description":"Stripped content of the article, single line with HTML tags removed.","args":[{"name":"truncateAt","description":"Truncates string after the given length.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The content of the article, complete with HTML formatting.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"HTML","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"excerpt","description":"Stripped excerpt of the article, single line with HTML tags removed.","args":[{"name":"truncateAt","description":"Truncates string after the given length.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"excerptHtml","description":"The excerpt of the article, complete with HTML formatting.","args":[],"type":{"kind":"SCALAR","name":"HTML","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the Article automatically generated from its title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The image associated with the article.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":"The date and time when the article was published.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The article’s SEO information.","args":[],"type":{"kind":"OBJECT","name":"SEO","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"A categorization that a article can be tagged with.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The article’s name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null},{"kind":"INTERFACE","name":"Trackable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleAuthor","description":"The author of an article.","fields":[{"name":"bio","description":"The author's bio.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The author’s email.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The author's first name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The author's last name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The author's full name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleConnection","description":"An auto-generated type for paginating through multiple Articles.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ArticleEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in ArticleEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Article","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ArticleEdge","description":"An auto-generated type which holds one Article and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of ArticleEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Article","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ArticleSortKeys","description":"The set of valid sort keys for the Article query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AUTHOR","description":"Sort by the `author` value.","isDeprecated":false,"deprecationReason":null},{"name":"BLOG_TITLE","description":"Sort by the `blog_title` value.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"PUBLISHED_AT","description":"Sort by the `published_at` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"Sort by the `updated_at` value.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Attribute","description":"Represents a generic custom attribute.","fields":[{"name":"key","description":"Key or name of the attribute.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"Value of the attribute.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AttributeInput","description":"The input fields for an attribute.","fields":null,"inputFields":[{"name":"key","description":"Key or name of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"Value of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AutomaticDiscountApplication","description":"Automatic discount applications capture the intentions of a discount that was automatically applied.\n","fields":[{"name":"allocationMethod","description":"The method by which the discount's value is allocated to its entitled items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetSelection","description":"Which lines of targetType that the discount is allocated over.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetSelection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"The type of line that the discount is applicable towards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the discount application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"PricingValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AvailableShippingRates","description":"A collection of available shipping rates for a checkout.","fields":[{"name":"ready","description":"Whether or not the shipping rates are ready.\nThe `shippingRates` field is `null` when this value is `false`.\nThis field should be polled until its value becomes `true`.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingRates","description":"The fetched shipping rates. `null` until the `ready` field is `true`.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingRate","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"BaseCartLine","description":"Represents a cart line common fields.","fields":[{"name":"attribute","description":"An attribute associated with the cart line.","args":[{"name":"key","description":"The key of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Attribute","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attributes","description":"The attributes associated with the cart line. Attributes are represented as key-value pairs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineCost","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineEstimatedCost","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `cost` instead."},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"merchandise","description":"The merchandise that the buyer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"Merchandise","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the merchandise that the customer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanAllocation","description":"The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.","args":[],"type":{"kind":"OBJECT","name":"SellingPlanAllocation","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CartLine","ofType":null},{"kind":"OBJECT","name":"ComponentizableCartLine","ofType":null}]},{"kind":"OBJECT","name":"BaseCartLineConnection","description":"An auto-generated type for paginating through multiple BaseCartLines.\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":"BaseCartLineEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in BaseCartLineEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"BaseCartLine","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":"BaseCartLineEdge","description":"An auto-generated type which holds one BaseCartLine 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 BaseCartLineEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"BaseCartLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Blog","description":"An online store blog.","fields":[{"name":"articleByHandle","description":"Find an article by its handle.","args":[{"name":"handle","description":"The handle of the article.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Article","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"List of the blog's articles.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `tag_not`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ArticleSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ArticleConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authors","description":"The authors who have contributed to the blog.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ArticleAuthor","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the Blog automatically generated from its title.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The blog's SEO information.","args":[],"type":{"kind":"OBJECT","name":"SEO","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The blogs’s title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BlogConnection","description":"An auto-generated type for paginating through multiple Blogs.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BlogEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in BlogEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Blog","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BlogEdge","description":"An auto-generated type which holds one Blog and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of BlogEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Blog","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"BlogSortKeys","description":"The set of valid sort keys for the Blog query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"HANDLE","description":"Sort by the `handle` value.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Brand","description":"The store's [branding configuration](https://help.shopify.com/en/manual/promoting-marketing/managing-brand-assets).\n","fields":[{"name":"colors","description":"The colors of the store's brand.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BrandColors","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"coverImage","description":"The store's cover image.","args":[],"type":{"kind":"OBJECT","name":"MediaImage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"logo","description":"The store's default logo.","args":[],"type":{"kind":"OBJECT","name":"MediaImage","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shortDescription","description":"The store's short description.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"slogan","description":"The store's slogan.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"squareLogo","description":"The store's preferred logo for square UI elements.","args":[],"type":{"kind":"OBJECT","name":"MediaImage","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BrandColorGroup","description":"A group of related colors for the shop's brand.\n","fields":[{"name":"background","description":"The background color.","args":[],"type":{"kind":"SCALAR","name":"Color","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"foreground","description":"The foreground color.","args":[],"type":{"kind":"SCALAR","name":"Color","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BrandColors","description":"The colors of the shop's brand.\n","fields":[{"name":"primary","description":"The shop's primary brand colors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BrandColorGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"secondary","description":"The shop's secondary brand colors.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BrandColorGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CardBrand","description":"Card brand, such as Visa or Mastercard, which can be used for payments.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AMERICAN_EXPRESS","description":"American Express.","isDeprecated":false,"deprecationReason":null},{"name":"DINERS_CLUB","description":"Diners Club.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOVER","description":"Discover.","isDeprecated":false,"deprecationReason":null},{"name":"JCB","description":"JCB.","isDeprecated":false,"deprecationReason":null},{"name":"MASTERCARD","description":"Mastercard.","isDeprecated":false,"deprecationReason":null},{"name":"VISA","description":"Visa.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Cart","description":"A cart represents the merchandise that a buyer intends to purchase,\nand the estimated cost associated with the cart. Learn how to\n[interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nduring a customer's session.\n","fields":[{"name":"attribute","description":"An attribute associated with the cart.","args":[{"name":"key","description":"The key of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Attribute","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attributes","description":"The attributes associated with the cart. Attributes are represented as key-value pairs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"buyerIdentity","description":"Information about the buyer that's interacting with the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartBuyerIdentity","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUrl","description":"The URL of the checkout for the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartCost","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time when the cart was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryGroups","description":"The delivery groups available for the cart, based on the buyer identity default\ndelivery address preference or the default address of the logged-in customer.\n","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartDeliveryGroupConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been applied to the entire cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountCodes","description":"The case-insensitive discount codes that the customer added at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartDiscountCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"The estimated costs that the buyer will pay at checkout. The estimated costs are subject to change and changes will be reflected at checkout. The `estimatedCost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartEstimatedCost","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `cost` instead."},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"A list of lines containing information about the items the customer intends to purchase.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BaseCartLineConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"A note that's associated with the cart. For example, the note can be a personalized message to the buyer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":"The total number of items in the cart.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the cart was updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartAttributesUpdatePayload","description":"Return type for `cartAttributesUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartAutomaticDiscountAllocation","description":"The discounts automatically applied to the cart line based on prerequisites that have been met.","fields":[{"name":"discountedAmount","description":"The discounted amount that has been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the allocated discount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartBuyerIdentity","description":"Represents information about the buyer that is interacting with the cart.","fields":[{"name":"countryCode","description":"The country where the buyer is located.","args":[],"type":{"kind":"ENUM","name":"CountryCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"The customer account associated with the cart.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryAddressPreferences","description":"An ordered set of delivery addresses tied to the buyer that is interacting with the cart.\nThe rank of the preferences is determined by the order of the addresses in the array. Preferences\ncan be used to populate relevant fields in the checkout flow.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"DeliveryAddress","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The email address of the buyer that's interacting with the cart.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The phone number of the buyer that's interacting with the cart.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"walletPreferences","description":"A set of wallet preferences tied to the buyer that is interacting with the cart.\nPreferences can be used to populate relevant payment fields in the checkout flow.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartBuyerIdentityInput","description":"Specifies the input fields to update the buyer information associated with a cart.\nBuyer identity is used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nand should match the customer's shipping address.\n","fields":null,"inputFields":[{"name":"countryCode","description":"The country where the buyer is located.","type":{"kind":"ENUM","name":"CountryCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"The access token used to identify the customer associated with the cart.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deliveryAddressPreferences","description":"An ordered set of delivery addresses tied to the buyer that is interacting with the cart.\nThe rank of the preferences is determined by the order of the addresses in the array. Preferences\ncan be used to populate relevant fields in the checkout flow.\n","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeliveryAddressInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The email address of the buyer that is interacting with the cart.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The phone number of the buyer that is interacting with the cart.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"walletPreferences","description":"A set of wallet preferences tied to the buyer that is interacting with the cart.\nPreferences can be used to populate relevant payment fields in the checkout flow.\n Accepted value: `[\"shop_pay\"]`.\n","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartBuyerIdentityUpdatePayload","description":"Return type for `cartBuyerIdentityUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartCardSource","description":"Represents how credit card details are provided for a direct payment.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SAVED_CREDIT_CARD","description":"The credit card was provided by a third party and vaulted on their system.\nUsing this value requires a separate permission from Shopify.\n","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartCodeDiscountAllocation","description":"The discount that has been applied to the cart line using a discount code.","fields":[{"name":"code","description":"The code used to apply the discount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedAmount","description":"The discounted amount that has been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CartCompletionAction","description":"The completion action to checkout a cart.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CompletePaymentChallenge","ofType":null}]},{"kind":"OBJECT","name":"CartCompletionActionRequired","description":"The required completion action to checkout a cart.","fields":[{"name":"action","description":"The action required to complete the cart completion attempt.","args":[],"type":{"kind":"UNION","name":"CartCompletionAction","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the cart completion attempt.","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":"UNION","name":"CartCompletionAttemptResult","description":"The result of a cart completion attempt.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CartCompletionActionRequired","ofType":null},{"kind":"OBJECT","name":"CartCompletionFailed","ofType":null},{"kind":"OBJECT","name":"CartCompletionProcessing","ofType":null},{"kind":"OBJECT","name":"CartCompletionSuccess","ofType":null}]},{"kind":"OBJECT","name":"CartCompletionFailed","description":"A failed completion to checkout a cart.","fields":[{"name":"errors","description":"The errors that caused the checkout to fail.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CompletionError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the cart completion attempt.","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":"CartCompletionProcessing","description":"A cart checkout completion that's still processing.","fields":[{"name":"id","description":"The ID of the cart completion attempt.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pollDelay","description":"The number of milliseconds to wait before polling again.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCompletionSuccess","description":"A successful completion to checkout a cart and a created order.","fields":[{"name":"completedAt","description":"The date and time when the job completed.","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the cart completion attempt.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderId","description":"The ID of the order that's created in Shopify.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderUrl","description":"The URL of the order confirmation in Shopify.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCost","description":"The costs that the buyer will pay at checkout.\nThe cart cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).\n","fields":[{"name":"checkoutChargeAmount","description":"The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to `subtotalAmount`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The amount, before taxes and cart-level discounts, for the customer to pay.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmountEstimated","description":"Whether the subtotal amount is estimated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalAmount","description":"The total amount for the customer to pay.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalAmountEstimated","description":"Whether the total amount is estimated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalDutyAmount","description":"The duty amount for the customer to pay at checkout.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalDutyAmountEstimated","description":"Whether the total duty amount is estimated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxAmount","description":"The tax amount for the customer to pay at checkout.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxAmountEstimated","description":"Whether the total tax amount is estimated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCreatePayload","description":"Return type for `cartCreate` mutation.","fields":[{"name":"cart","description":"The new cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartCustomDiscountAllocation","description":"The discounts automatically applied to the cart line based on prerequisites that have been met.","fields":[{"name":"discountedAmount","description":"The discounted amount that has been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the allocated discount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryGroup","description":"Information about the options available for one or more line items to be delivered to a specific address.","fields":[{"name":"cartLines","description":"A list of cart lines for the delivery group.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BaseCartLineConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryAddress","description":"The destination address for the delivery group.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MailingAddress","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryOptions","description":"The delivery options available for the delivery group.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartDeliveryOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID for the delivery group.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedDeliveryOption","description":"The selected delivery option for the delivery group.","args":[],"type":{"kind":"OBJECT","name":"CartDeliveryOption","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryGroupConnection","description":"An auto-generated type for paginating through multiple CartDeliveryGroups.\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":"CartDeliveryGroupEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in CartDeliveryGroupEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartDeliveryGroup","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":"CartDeliveryGroupEdge","description":"An auto-generated type which holds one CartDeliveryGroup 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 CartDeliveryGroupEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartDeliveryGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartDeliveryOption","description":"Information about a delivery option.","fields":[{"name":"code","description":"The code of the delivery option.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deliveryMethodType","description":"The method for the delivery option.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeliveryMethodType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The description of the delivery option.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"The estimated cost for the delivery option.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The unique identifier of the delivery option.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the delivery option.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartDirectPaymentMethodInput","description":"The input fields for submitting direct payment method information for checkout.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The customer's billing address.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cardSource","description":"The source of the credit card payment.","type":{"kind":"ENUM","name":"CartCardSource","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sessionId","description":"The session ID for the direct payment method used to create the payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"CartDiscountAllocation","description":"The discounts that have been applied to the cart line.","fields":[{"name":"discountedAmount","description":"The discounted amount that has been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CartAutomaticDiscountAllocation","ofType":null},{"kind":"OBJECT","name":"CartCodeDiscountAllocation","ofType":null},{"kind":"OBJECT","name":"CartCustomDiscountAllocation","ofType":null}]},{"kind":"OBJECT","name":"CartDiscountCode","description":"The discount codes applied to the cart.","fields":[{"name":"applicable","description":"Whether the discount code is applicable to the cart's current contents.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The code for the discount.","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":"CartDiscountCodesUpdatePayload","description":"Return type for `cartDiscountCodesUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CartErrorCode","description":"Possible error codes that can be returned by `CartUserError`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID","description":"The input value is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_DELIVERY_GROUP","description":"Delivery group was not found in cart.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_DELIVERY_OPTION","description":"Delivery option was not valid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_MERCHANDISE_LINE","description":"Merchandise line was not found in cart.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_METAFIELDS","description":"The metafields were not valid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_PAYMENT","description":"The payment wasn't valid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_PAYMENT_EMPTY_CART","description":"Cannot update payment on an empty cart","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN","description":"The input value should be less than the maximum value allowed.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_DISCOUNT_CODE","description":"Missing discount code.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_NOTE","description":"Missing note.","isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_METHOD_NOT_SUPPORTED","description":"The payment method is not supported.","isDeprecated":false,"deprecationReason":null},{"name":"VALIDATION_CUSTOM","description":"Validation failed.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CartEstimatedCost","description":"The estimated costs that the buyer will pay at checkout. The estimated cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).","fields":[{"name":"checkoutChargeAmount","description":"The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The estimated amount, before taxes and discounts, for the customer to pay.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalAmount","description":"The estimated total amount for the customer to pay.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalDutyAmount","description":"The estimated duty amount for the customer to pay at checkout.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxAmount","description":"The estimated tax amount for the customer to pay at checkout.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartFreePaymentMethodInput","description":"The input fields for submitting a billing address without a selected payment method.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The customer's billing address.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartInput","description":"The input fields to create a cart.","fields":null,"inputFields":[{"name":"attributes","description":"An array of key-value pairs that contains additional information about the cart.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"buyerIdentity","description":"The customer associated with the cart. Used to determine [international pricing]\n(https://shopify.dev/custom-storefronts/internationalization/international-pricing).\nBuyer identity should match the customer's shipping address.\n","type":{"kind":"INPUT_OBJECT","name":"CartBuyerIdentityInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"discountCodes","description":"The case-insensitive discount codes that the customer added at checkout.\n","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"A list of merchandise lines to add to the cart.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields to associate with this cart.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartInputMetafieldInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"A note that's associated with the cart. For example, the note can be a personalized message to the buyer.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartInputMetafieldInput","description":"The input fields for a cart metafield value to set.","fields":null,"inputFields":[{"name":"key","description":"The key name of the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of data that the cart metafield stores.\nThe type of data must be a [supported type](https://shopify.dev/apps/metafields/types).\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLine","description":"Represents information about the merchandise in the cart.","fields":[{"name":"attribute","description":"An attribute associated with the cart line.","args":[{"name":"key","description":"The key of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Attribute","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attributes","description":"The attributes associated with the cart line. Attributes are represented as key-value pairs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineCost","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineEstimatedCost","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `cost` instead."},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"merchandise","description":"The merchandise that the buyer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"Merchandise","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the merchandise that the customer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanAllocation","description":"The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.","args":[],"type":{"kind":"OBJECT","name":"SellingPlanAllocation","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"BaseCartLine","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLineCost","description":"The cost of the merchandise line that the buyer will pay at checkout.","fields":[{"name":"amountPerQuantity","description":"The amount of the merchandise line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtAmountPerQuantity","description":"The compare at amount of the merchandise line.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The cost of the merchandise line before line-level discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalAmount","description":"The total cost of the merchandise line.","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":"CartLineEstimatedCost","description":"The estimated cost of the merchandise line that the buyer will pay at checkout.\n","fields":[{"name":"amount","description":"The amount of the merchandise line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtAmount","description":"The compare at amount of the merchandise line.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalAmount","description":"The estimated cost of the merchandise line before discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalAmount","description":"The estimated total cost of the merchandise line.","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":"INPUT_OBJECT","name":"CartLineInput","description":"The input fields to create a merchandise line on a cart.","fields":null,"inputFields":[{"name":"attributes","description":"An array of key-value pairs that contains additional information about the merchandise line.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"merchandiseId","description":"The ID of the merchandise that the buyer intends to purchase.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the merchandise.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanId","description":"The ID of the selling plan that the merchandise is being purchased with.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartLineUpdateInput","description":"The input fields to update a line item on a cart.","fields":null,"inputFields":[{"name":"attributes","description":"An array of key-value pairs that contains additional information about the merchandise line.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the merchandise line.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"merchandiseId","description":"The ID of the merchandise for the line item.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the line item.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanId","description":"The ID of the selling plan that the merchandise is being purchased with.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLinesAddPayload","description":"Return type for `cartLinesAdd` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLinesRemovePayload","description":"Return type for `cartLinesRemove` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartLinesUpdatePayload","description":"Return type for `cartLinesUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartMetafieldDeleteInput","description":"The input fields to delete a cart metafield.","fields":null,"inputFields":[{"name":"key","description":"The key name of the cart metafield. Can either be a composite key (`namespace.key`) or a simple key\n that relies on the default app-reserved namespace.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"ownerId","description":"The ID of the cart resource.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartMetafieldDeletePayload","description":"Return type for `cartMetafieldDelete` mutation.","fields":[{"name":"deletedId","description":"The ID of the deleted cart metafield.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetafieldDeleteUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartMetafieldsSetInput","description":"The input fields for a cart metafield value to set.","fields":null,"inputFields":[{"name":"key","description":"The key name of the cart metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"ownerId","description":"The ID of the cart resource.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of data that the cart metafield stores.\nThe type of data must be a [supported type](https://shopify.dev/apps/metafields/types).\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartMetafieldsSetPayload","description":"Return type for `cartMetafieldsSet` mutation.","fields":[{"name":"metafields","description":"The list of cart metafields that were set.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetafieldsSetUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartNoteUpdatePayload","description":"Return type for `cartNoteUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartPaymentInput","description":"The input fields for updating the payment method that will be used to checkout.\n","fields":null,"inputFields":[{"name":"amount","description":"The amount that the customer will be charged at checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MoneyInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"directPaymentMethod","description":"The input fields to use when checking out a cart with a direct payment method (like a credit card).\n","type":{"kind":"INPUT_OBJECT","name":"CartDirectPaymentMethodInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"freePaymentMethod","description":"The input fields to use to checkout a cart without providing a payment method.\nUse this payment method input if the total cost of the cart is 0.\n","type":{"kind":"INPUT_OBJECT","name":"CartFreePaymentMethodInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sourceIdentifier","description":"An ID of the order placed on the originating platform.\nNote that this value doesn't correspond to the Shopify Order ID.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"walletPaymentMethod","description":"The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay).\n","type":{"kind":"INPUT_OBJECT","name":"CartWalletPaymentMethodInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartPaymentUpdatePayload","description":"Return type for `cartPaymentUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartSelectedDeliveryOptionInput","description":"The input fields for updating the selected delivery options for a delivery group.\n","fields":null,"inputFields":[{"name":"deliveryGroupId","description":"The ID of the cart delivery group.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deliveryOptionHandle","description":"The handle of the selected delivery option.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartSelectedDeliveryOptionsUpdatePayload","description":"Return type for `cartSelectedDeliveryOptionsUpdate` mutation.","fields":[{"name":"cart","description":"The updated cart.","args":[],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CartSubmitForCompletionPayload","description":"Return type for `cartSubmitForCompletion` mutation.","fields":[{"name":"result","description":"The result of cart submission for completion.","args":[],"type":{"kind":"UNION","name":"CartSubmitForCompletionResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CartSubmitForCompletionResult","description":"The result of cart submit completion.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"SubmitAlreadyAccepted","ofType":null},{"kind":"OBJECT","name":"SubmitFailed","ofType":null},{"kind":"OBJECT","name":"SubmitSuccess","ofType":null},{"kind":"OBJECT","name":"SubmitThrottled","ofType":null}]},{"kind":"OBJECT","name":"CartUserError","description":"Represents an error that happens during execution of a cart mutation.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"CartErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CartWalletPaymentMethodInput","description":"The input fields for submitting wallet payment method information for checkout.\n","fields":null,"inputFields":[{"name":"applePayWalletContent","description":"The payment method information for the Apple Pay wallet.","type":{"kind":"INPUT_OBJECT","name":"ApplePayWalletContentInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shopPayWalletContent","description":"The payment method information for the Shop Pay wallet.","type":{"kind":"INPUT_OBJECT","name":"ShopPayWalletContentInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Checkout","description":"A container for all the information required to checkout items and pay.","fields":[{"name":"appliedGiftCards","description":"The gift cards used on the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AppliedGiftCard","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"availableShippingRates","description":"The available shipping rates for this Checkout.\nShould only be used when checkout `requiresShipping` is `true` and\nthe shipping address is valid.\n","args":[],"type":{"kind":"OBJECT","name":"AvailableShippingRates","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time when the checkout was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"The currency code for the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customAttributes","description":"A list of extra information that's added to the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountApplications","description":"Discounts that have been applied on the checkout.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DiscountApplicationConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The email attached to this checkout.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineItems","description":"A list of line item objects, each one containing information about an item in the checkout.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutLineItemConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineItemsSubtotalPrice","description":"The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"The note associated with the checkout.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"The resulting order from a paid checkout.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderStatusUrl","description":"The Order Status Page for this Checkout, null when checkout isn't completed.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"paymentDue","description":"The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentDueV2","description":"The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `paymentDue` instead."},{"name":"ready","description":"Whether or not the Checkout is ready and can be completed. Checkouts may\nhave asynchronous operations that can take time to finish. If you want\nto complete a checkout or ensure all the fields are populated and up to\ndate, polling is required until the value is true.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requiresShipping","description":"States whether or not the fulfillment requires shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":"The shipping address to where the line items will be shipped.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingDiscountAllocations","description":"The discounts that have been allocated onto the shipping line by discount applications.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingLine","description":"Once a shipping rate is selected by the customer it's transitioned to a `shipping_line` object.","args":[],"type":{"kind":"OBJECT","name":"ShippingRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalPrice","description":"The price at checkout before shipping and taxes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalPriceV2","description":"The price at checkout before duties, shipping, and taxes.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `subtotalPrice` instead."},{"name":"taxExempt","description":"Whether the checkout is tax exempt.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxesIncluded","description":"Whether taxes are included in the line item and shipping line prices.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalDuties","description":"The sum of all the duties applied to the line items in the checkout.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":"The sum of all the prices of all the items in the checkout, including taxes and duties.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPriceV2","description":"The sum of all the prices of all the items in the checkout, including taxes and duties.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `totalPrice` instead."},{"name":"totalTax","description":"The sum of all the taxes applied to the line items and shipping lines in the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxV2","description":"The sum of all the taxes applied to the line items and shipping lines in the checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `totalTax` instead."},{"name":"updatedAt","description":"The date and time when the checkout was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"webUrl","description":"The url pointing to the checkout accessible from the web.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CheckoutAttributesUpdateV2Input","description":"The input fields required to update a checkout's attributes.","fields":null,"inputFields":[{"name":"allowPartialAddresses","description":"Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of the addresses is still done at completion time. Defaults to `false` with \neach operation.\n","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"customAttributes","description":"A list of extra information that's added to the checkout.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"The text of an optional note that a shop owner can attach to the checkout.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutAttributesUpdateV2Payload","description":"Return type for `checkoutAttributesUpdateV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"The input fields for 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,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCompleteFreePayload","description":"Return type for `checkoutCompleteFree` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCompleteWithCreditCardV2Payload","description":"Return type for `checkoutCompleteWithCreditCardV2` mutation.","fields":[{"name":"checkout","description":"The checkout on which the payment was applied.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":"A representation of the attempted payment.","args":[],"type":{"kind":"OBJECT","name":"Payment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCompleteWithTokenizedPaymentV3Payload","description":"Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation.","fields":[{"name":"checkout","description":"The checkout on which the payment was applied.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":"A representation of the attempted payment.","args":[],"type":{"kind":"OBJECT","name":"Payment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CheckoutCreateInput","description":"The input fields required to create a checkout.","fields":null,"inputFields":[{"name":"allowPartialAddresses","description":"Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of addresses is still done at completion time. Defaults to `null`.\n","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"buyerIdentity","description":"The identity of the customer associated with the checkout.","type":{"kind":"INPUT_OBJECT","name":"CheckoutBuyerIdentityInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customAttributes","description":"A list of extra information that's added to the checkout.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The email with which the customer wants to checkout.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lineItems","description":"A list of line item objects, each one containing information about an item in the checkout.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CheckoutLineItemInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"The text of an optional note that a shop owner can attach to the checkout.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":"The shipping address to where the line items will be shipped.","type":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCreatePayload","description":"Return type for `checkoutCreate` mutation.","fields":[{"name":"checkout","description":"The new checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCustomerAssociateV2Payload","description":"Return type for `checkoutCustomerAssociateV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"The associated customer object.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutCustomerDisassociateV2Payload","description":"Return type for `checkoutCustomerDisassociateV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutDiscountCodeApplyV2Payload","description":"Return type for `checkoutDiscountCodeApplyV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutDiscountCodeRemovePayload","description":"Return type for `checkoutDiscountCodeRemove` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutEmailUpdateV2Payload","description":"Return type for `checkoutEmailUpdateV2` mutation.","fields":[{"name":"checkout","description":"The checkout object with the updated email.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CheckoutErrorCode","description":"Possible error codes that can be returned by `CheckoutUserError`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALREADY_COMPLETED","description":"Checkout is already completed.","isDeprecated":false,"deprecationReason":null},{"name":"BAD_DOMAIN","description":"Input email contains an invalid domain name.","isDeprecated":false,"deprecationReason":null},{"name":"BLANK","description":"The input value is blank.","isDeprecated":false,"deprecationReason":null},{"name":"CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE","description":"Cart does not meet discount requirements notice.","isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE","description":"Customer already used once per customer discount notice.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_ALREADY_APPLIED","description":"Discount already applied.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_CODE_APPLICATION_FAILED","description":"Discount code isn't working right now. Please contact us for help.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_DISABLED","description":"Discount disabled.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_EXPIRED","description":"Discount expired.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_LIMIT_REACHED","description":"Discount limit reached.","isDeprecated":false,"deprecationReason":null},{"name":"DISCOUNT_NOT_FOUND","description":"Discount not found.","isDeprecated":false,"deprecationReason":null},{"name":"EMPTY","description":"Checkout is already completed.","isDeprecated":false,"deprecationReason":null},{"name":"EXPIRED_QUEUE_TOKEN","description":"Queue token has expired.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_ALREADY_APPLIED","description":"Gift card has already been applied.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_CODE_INVALID","description":"Gift card code is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_CURRENCY_MISMATCH","description":"Gift card currency does not match checkout currency.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_DEPLETED","description":"Gift card has no funds left.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_DISABLED","description":"Gift card is disabled.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_EXPIRED","description":"Gift card is expired.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_NOT_FOUND","description":"Gift card was not found.","isDeprecated":false,"deprecationReason":null},{"name":"GIFT_CARD_UNUSABLE","description":"Gift card cannot be applied to a checkout that contains a gift card.","isDeprecated":false,"deprecationReason":null},{"name":"GREATER_THAN_OR_EQUAL_TO","description":"The input value should be greater than or equal to the minimum value allowed.","isDeprecated":false,"deprecationReason":null},{"name":"HIGHER_VALUE_DISCOUNT_APPLIED","description":"Higher value discount applied.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"The input value is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_COUNTRY_AND_CURRENCY","description":"Cannot specify country and presentment currency code.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_FOR_COUNTRY","description":"Input Zip is invalid for country provided.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_FOR_COUNTRY_AND_PROVINCE","description":"Input Zip is invalid for country and province provided.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_PROVINCE_IN_COUNTRY","description":"Invalid province in country.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_QUEUE_TOKEN","description":"Queue token is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_REGION_IN_COUNTRY","description":"Invalid region in country.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_STATE_IN_COUNTRY","description":"Invalid state in country.","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN","description":"The input value should be less than the maximum value allowed.","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN_OR_EQUAL_TO","description":"The input value should be less than or equal to the maximum value allowed.","isDeprecated":false,"deprecationReason":null},{"name":"LINE_ITEM_NOT_FOUND","description":"Line item was not found in checkout.","isDeprecated":false,"deprecationReason":null},{"name":"LOCKED","description":"Checkout is locked.","isDeprecated":false,"deprecationReason":null},{"name":"MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED","description":"Maximum number of discount codes limit reached.","isDeprecated":false,"deprecationReason":null},{"name":"MISSING_PAYMENT_INPUT","description":"Missing payment input.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_ENOUGH_IN_STOCK","description":"Not enough in stock.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_SUPPORTED","description":"Input value is not supported.","isDeprecated":false,"deprecationReason":null},{"name":"PRESENT","description":"The input value needs to be blank.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_NOT_AVAILABLE","description":"Product is not published for this customer.","isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_RATE_EXPIRED","description":"Shipping rate expired.","isDeprecated":false,"deprecationReason":null},{"name":"THROTTLED_DURING_CHECKOUT","description":"Throttled during checkout.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"The input value is too long.","isDeprecated":false,"deprecationReason":null},{"name":"TOTAL_PRICE_MISMATCH","description":"The amount of the payment does not match the value to be paid.","isDeprecated":false,"deprecationReason":null},{"name":"UNABLE_TO_APPLY","description":"Unable to apply discount.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutGiftCardRemoveV2Payload","description":"Return type for `checkoutGiftCardRemoveV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutGiftCardsAppendPayload","description":"Return type for `checkoutGiftCardsAppend` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItem","description":"A single line item in the checkout, grouped by variant and attributes.","fields":[{"name":"customAttributes","description":"Extra information in the form of an array of Key-Value pairs about the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been allocated onto the checkout line item by discount applications.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Title of the line item. Defaults to the product's title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"Unit price of the line item.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variant","description":"Product variant of the line item.","args":[],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemConnection","description":"An auto-generated type for paginating through multiple CheckoutLineItems.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutLineItemEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in CheckoutLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutLineItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemEdge","description":"An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of CheckoutLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutLineItem","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CheckoutLineItemInput","description":"The input fields to create a line item on a checkout.","fields":null,"inputFields":[{"name":"customAttributes","description":"Extra information in the form of an array of Key-Value pairs about the line item.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the line item.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variantId","description":"The ID of the product variant for the line item.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CheckoutLineItemUpdateInput","description":"The input fields to update a line item on the checkout.","fields":null,"inputFields":[{"name":"customAttributes","description":"Extra information in the form of an array of Key-Value pairs about the line item.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the line item.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the line item.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variantId","description":"The variant ID of the line item.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemsAddPayload","description":"Return type for `checkoutLineItemsAdd` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemsRemovePayload","description":"Return type for `checkoutLineItemsRemove` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemsReplacePayload","description":"Return type for `checkoutLineItemsReplace` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutLineItemsUpdatePayload","description":"Return type for `checkoutLineItemsUpdate` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutShippingAddressUpdateV2Payload","description":"Return type for `checkoutShippingAddressUpdateV2` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutShippingLineUpdatePayload","description":"Return type for `checkoutShippingLineUpdate` mutation.","fields":[{"name":"checkout","description":"The updated checkout object.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CheckoutUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `checkoutUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CheckoutUserError","description":"Represents an error that happens during execution of a checkout mutation.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"CheckoutErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Collection","description":"A collection represents a grouping of products that a shop owner can create to\norganize them or make their shops easier to browse.\n","fields":[{"name":"description","description":"Stripped description of the collection, single line with HTML tags removed.","args":[{"name":"truncateAt","description":"Truncates string after the given length.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description of the collection, complete with HTML formatting.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"HTML","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the collection automatically generated from its title.\nLimit of 255 characters.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"Image associated with the collection.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"List of products in the collection.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":"Returns a subset of products matching all product filters.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ProductCollectionSortKeys","ofType":null},"defaultValue":"COLLECTION_DEFAULT","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The collection's SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SEO","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The collection’s name. Limit of 255 characters.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the collection was last modified.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null},{"kind":"INTERFACE","name":"Trackable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionConnection","description":"An auto-generated type for paginating through multiple Collections.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in CollectionEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","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},{"name":"totalCount","description":"The total count of Collections.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"UnsignedInt64","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionEdge","description":"An auto-generated type which holds one Collection and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of CollectionEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CollectionSortKeys","description":"The set of valid sort keys for the Collection query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"Sort by the `updated_at` value.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"Color","description":"A string containing a hexadecimal representation of a color.\n\nFor example, \"#6A8D48\".\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Comment","description":"A comment on an article.","fields":[{"name":"author","description":"The comment’s author.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CommentAuthor","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"content","description":"Stripped content of the comment, single line with HTML tags removed.","args":[{"name":"truncateAt","description":"Truncates string after the given length.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"contentHtml","description":"The content of the comment, complete with HTML formatting.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"HTML","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentAuthor","description":"The author of a comment.","fields":[{"name":"email","description":"The author's email.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The author’s name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentConnection","description":"An auto-generated type for paginating through multiple Comments.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CommentEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in CommentEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Comment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CommentEdge","description":"An auto-generated type which holds one Comment and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of CommentEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Comment","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CompletePaymentChallenge","description":"The action for the 3DS payment redirect.","fields":[{"name":"redirectUrl","description":"The URL for the 3DS payment redirect.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CompletionError","description":"An error that occurred during a cart completion attempt.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CompletionErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CompletionErrorCode","description":"The code of the error that occurred during a cart completion attempt.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVENTORY_RESERVATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_AMOUNT_TOO_SMALL","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_CALL_ISSUER","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_CARD_DECLINED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_GATEWAY_NOT_ENABLED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_INSUFFICIENT_FUNDS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_INVALID_BILLING_ADDRESS","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_INVALID_CREDIT_CARD","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_INVALID_CURRENCY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_INVALID_PAYMENT_METHOD","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_TRANSIENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ComponentizableCartLine","description":"Represents information about the grouped merchandise in the cart.","fields":[{"name":"attribute","description":"An attribute associated with the cart line.","args":[{"name":"key","description":"The key of the attribute.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Attribute","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"attributes","description":"The attributes associated with the cart line. Attributes are represented as key-value pairs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cost","description":"The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineCost","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been applied to the cart line.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"CartDiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"estimatedCost","description":"The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLineEstimatedCost","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `cost` instead."},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineComponents","description":"The components of the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CartLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"merchandise","description":"The merchandise that the buyer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"Merchandise","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of the merchandise that the customer intends to purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sellingPlanAllocation","description":"The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.","args":[],"type":{"kind":"OBJECT","name":"SellingPlanAllocation","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"BaseCartLine","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A country.","fields":[{"name":"availableLanguages","description":"The languages available for the country.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Language","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"market","description":"The market that includes this country.","args":[],"type":{"kind":"OBJECT","name":"Market","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":"The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AC","description":"Ascension Island.","isDeprecated":false,"deprecationReason":null},{"name":"AD","description":"Andorra.","isDeprecated":false,"deprecationReason":null},{"name":"AE","description":"United Arab Emirates.","isDeprecated":false,"deprecationReason":null},{"name":"AF","description":"Afghanistan.","isDeprecated":false,"deprecationReason":null},{"name":"AG","description":"Antigua & Barbuda.","isDeprecated":false,"deprecationReason":null},{"name":"AI","description":"Anguilla.","isDeprecated":false,"deprecationReason":null},{"name":"AL","description":"Albania.","isDeprecated":false,"deprecationReason":null},{"name":"AM","description":"Armenia.","isDeprecated":false,"deprecationReason":null},{"name":"AN","description":"Netherlands Antilles.","isDeprecated":false,"deprecationReason":null},{"name":"AO","description":"Angola.","isDeprecated":false,"deprecationReason":null},{"name":"AR","description":"Argentina.","isDeprecated":false,"deprecationReason":null},{"name":"AT","description":"Austria.","isDeprecated":false,"deprecationReason":null},{"name":"AU","description":"Australia.","isDeprecated":false,"deprecationReason":null},{"name":"AW","description":"Aruba.","isDeprecated":false,"deprecationReason":null},{"name":"AX","description":"Åland Islands.","isDeprecated":false,"deprecationReason":null},{"name":"AZ","description":"Azerbaijan.","isDeprecated":false,"deprecationReason":null},{"name":"BA","description":"Bosnia & Herzegovina.","isDeprecated":false,"deprecationReason":null},{"name":"BB","description":"Barbados.","isDeprecated":false,"deprecationReason":null},{"name":"BD","description":"Bangladesh.","isDeprecated":false,"deprecationReason":null},{"name":"BE","description":"Belgium.","isDeprecated":false,"deprecationReason":null},{"name":"BF","description":"Burkina Faso.","isDeprecated":false,"deprecationReason":null},{"name":"BG","description":"Bulgaria.","isDeprecated":false,"deprecationReason":null},{"name":"BH","description":"Bahrain.","isDeprecated":false,"deprecationReason":null},{"name":"BI","description":"Burundi.","isDeprecated":false,"deprecationReason":null},{"name":"BJ","description":"Benin.","isDeprecated":false,"deprecationReason":null},{"name":"BL","description":"St. Barthélemy.","isDeprecated":false,"deprecationReason":null},{"name":"BM","description":"Bermuda.","isDeprecated":false,"deprecationReason":null},{"name":"BN","description":"Brunei.","isDeprecated":false,"deprecationReason":null},{"name":"BO","description":"Bolivia.","isDeprecated":false,"deprecationReason":null},{"name":"BQ","description":"Caribbean Netherlands.","isDeprecated":false,"deprecationReason":null},{"name":"BR","description":"Brazil.","isDeprecated":false,"deprecationReason":null},{"name":"BS","description":"Bahamas.","isDeprecated":false,"deprecationReason":null},{"name":"BT","description":"Bhutan.","isDeprecated":false,"deprecationReason":null},{"name":"BV","description":"Bouvet Island.","isDeprecated":false,"deprecationReason":null},{"name":"BW","description":"Botswana.","isDeprecated":false,"deprecationReason":null},{"name":"BY","description":"Belarus.","isDeprecated":false,"deprecationReason":null},{"name":"BZ","description":"Belize.","isDeprecated":false,"deprecationReason":null},{"name":"CA","description":"Canada.","isDeprecated":false,"deprecationReason":null},{"name":"CC","description":"Cocos (Keeling) Islands.","isDeprecated":false,"deprecationReason":null},{"name":"CD","description":"Congo - Kinshasa.","isDeprecated":false,"deprecationReason":null},{"name":"CF","description":"Central African Republic.","isDeprecated":false,"deprecationReason":null},{"name":"CG","description":"Congo - Brazzaville.","isDeprecated":false,"deprecationReason":null},{"name":"CH","description":"Switzerland.","isDeprecated":false,"deprecationReason":null},{"name":"CI","description":"Côte d’Ivoire.","isDeprecated":false,"deprecationReason":null},{"name":"CK","description":"Cook Islands.","isDeprecated":false,"deprecationReason":null},{"name":"CL","description":"Chile.","isDeprecated":false,"deprecationReason":null},{"name":"CM","description":"Cameroon.","isDeprecated":false,"deprecationReason":null},{"name":"CN","description":"China.","isDeprecated":false,"deprecationReason":null},{"name":"CO","description":"Colombia.","isDeprecated":false,"deprecationReason":null},{"name":"CR","description":"Costa Rica.","isDeprecated":false,"deprecationReason":null},{"name":"CU","description":"Cuba.","isDeprecated":false,"deprecationReason":null},{"name":"CV","description":"Cape Verde.","isDeprecated":false,"deprecationReason":null},{"name":"CW","description":"Curaçao.","isDeprecated":false,"deprecationReason":null},{"name":"CX","description":"Christmas Island.","isDeprecated":false,"deprecationReason":null},{"name":"CY","description":"Cyprus.","isDeprecated":false,"deprecationReason":null},{"name":"CZ","description":"Czechia.","isDeprecated":false,"deprecationReason":null},{"name":"DE","description":"Germany.","isDeprecated":false,"deprecationReason":null},{"name":"DJ","description":"Djibouti.","isDeprecated":false,"deprecationReason":null},{"name":"DK","description":"Denmark.","isDeprecated":false,"deprecationReason":null},{"name":"DM","description":"Dominica.","isDeprecated":false,"deprecationReason":null},{"name":"DO","description":"Dominican Republic.","isDeprecated":false,"deprecationReason":null},{"name":"DZ","description":"Algeria.","isDeprecated":false,"deprecationReason":null},{"name":"EC","description":"Ecuador.","isDeprecated":false,"deprecationReason":null},{"name":"EE","description":"Estonia.","isDeprecated":false,"deprecationReason":null},{"name":"EG","description":"Egypt.","isDeprecated":false,"deprecationReason":null},{"name":"EH","description":"Western Sahara.","isDeprecated":false,"deprecationReason":null},{"name":"ER","description":"Eritrea.","isDeprecated":false,"deprecationReason":null},{"name":"ES","description":"Spain.","isDeprecated":false,"deprecationReason":null},{"name":"ET","description":"Ethiopia.","isDeprecated":false,"deprecationReason":null},{"name":"FI","description":"Finland.","isDeprecated":false,"deprecationReason":null},{"name":"FJ","description":"Fiji.","isDeprecated":false,"deprecationReason":null},{"name":"FK","description":"Falkland Islands.","isDeprecated":false,"deprecationReason":null},{"name":"FO","description":"Faroe Islands.","isDeprecated":false,"deprecationReason":null},{"name":"FR","description":"France.","isDeprecated":false,"deprecationReason":null},{"name":"GA","description":"Gabon.","isDeprecated":false,"deprecationReason":null},{"name":"GB","description":"United Kingdom.","isDeprecated":false,"deprecationReason":null},{"name":"GD","description":"Grenada.","isDeprecated":false,"deprecationReason":null},{"name":"GE","description":"Georgia.","isDeprecated":false,"deprecationReason":null},{"name":"GF","description":"French Guiana.","isDeprecated":false,"deprecationReason":null},{"name":"GG","description":"Guernsey.","isDeprecated":false,"deprecationReason":null},{"name":"GH","description":"Ghana.","isDeprecated":false,"deprecationReason":null},{"name":"GI","description":"Gibraltar.","isDeprecated":false,"deprecationReason":null},{"name":"GL","description":"Greenland.","isDeprecated":false,"deprecationReason":null},{"name":"GM","description":"Gambia.","isDeprecated":false,"deprecationReason":null},{"name":"GN","description":"Guinea.","isDeprecated":false,"deprecationReason":null},{"name":"GP","description":"Guadeloupe.","isDeprecated":false,"deprecationReason":null},{"name":"GQ","description":"Equatorial Guinea.","isDeprecated":false,"deprecationReason":null},{"name":"GR","description":"Greece.","isDeprecated":false,"deprecationReason":null},{"name":"GS","description":"South Georgia & South Sandwich Islands.","isDeprecated":false,"deprecationReason":null},{"name":"GT","description":"Guatemala.","isDeprecated":false,"deprecationReason":null},{"name":"GW","description":"Guinea-Bissau.","isDeprecated":false,"deprecationReason":null},{"name":"GY","description":"Guyana.","isDeprecated":false,"deprecationReason":null},{"name":"HK","description":"Hong Kong SAR.","isDeprecated":false,"deprecationReason":null},{"name":"HM","description":"Heard & McDonald Islands.","isDeprecated":false,"deprecationReason":null},{"name":"HN","description":"Honduras.","isDeprecated":false,"deprecationReason":null},{"name":"HR","description":"Croatia.","isDeprecated":false,"deprecationReason":null},{"name":"HT","description":"Haiti.","isDeprecated":false,"deprecationReason":null},{"name":"HU","description":"Hungary.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Indonesia.","isDeprecated":false,"deprecationReason":null},{"name":"IE","description":"Ireland.","isDeprecated":false,"deprecationReason":null},{"name":"IL","description":"Israel.","isDeprecated":false,"deprecationReason":null},{"name":"IM","description":"Isle of Man.","isDeprecated":false,"deprecationReason":null},{"name":"IN","description":"India.","isDeprecated":false,"deprecationReason":null},{"name":"IO","description":"British Indian Ocean Territory.","isDeprecated":false,"deprecationReason":null},{"name":"IQ","description":"Iraq.","isDeprecated":false,"deprecationReason":null},{"name":"IR","description":"Iran.","isDeprecated":false,"deprecationReason":null},{"name":"IS","description":"Iceland.","isDeprecated":false,"deprecationReason":null},{"name":"IT","description":"Italy.","isDeprecated":false,"deprecationReason":null},{"name":"JE","description":"Jersey.","isDeprecated":false,"deprecationReason":null},{"name":"JM","description":"Jamaica.","isDeprecated":false,"deprecationReason":null},{"name":"JO","description":"Jordan.","isDeprecated":false,"deprecationReason":null},{"name":"JP","description":"Japan.","isDeprecated":false,"deprecationReason":null},{"name":"KE","description":"Kenya.","isDeprecated":false,"deprecationReason":null},{"name":"KG","description":"Kyrgyzstan.","isDeprecated":false,"deprecationReason":null},{"name":"KH","description":"Cambodia.","isDeprecated":false,"deprecationReason":null},{"name":"KI","description":"Kiribati.","isDeprecated":false,"deprecationReason":null},{"name":"KM","description":"Comoros.","isDeprecated":false,"deprecationReason":null},{"name":"KN","description":"St. Kitts & Nevis.","isDeprecated":false,"deprecationReason":null},{"name":"KP","description":"North Korea.","isDeprecated":false,"deprecationReason":null},{"name":"KR","description":"South Korea.","isDeprecated":false,"deprecationReason":null},{"name":"KW","description":"Kuwait.","isDeprecated":false,"deprecationReason":null},{"name":"KY","description":"Cayman Islands.","isDeprecated":false,"deprecationReason":null},{"name":"KZ","description":"Kazakhstan.","isDeprecated":false,"deprecationReason":null},{"name":"LA","description":"Laos.","isDeprecated":false,"deprecationReason":null},{"name":"LB","description":"Lebanon.","isDeprecated":false,"deprecationReason":null},{"name":"LC","description":"St. Lucia.","isDeprecated":false,"deprecationReason":null},{"name":"LI","description":"Liechtenstein.","isDeprecated":false,"deprecationReason":null},{"name":"LK","description":"Sri Lanka.","isDeprecated":false,"deprecationReason":null},{"name":"LR","description":"Liberia.","isDeprecated":false,"deprecationReason":null},{"name":"LS","description":"Lesotho.","isDeprecated":false,"deprecationReason":null},{"name":"LT","description":"Lithuania.","isDeprecated":false,"deprecationReason":null},{"name":"LU","description":"Luxembourg.","isDeprecated":false,"deprecationReason":null},{"name":"LV","description":"Latvia.","isDeprecated":false,"deprecationReason":null},{"name":"LY","description":"Libya.","isDeprecated":false,"deprecationReason":null},{"name":"MA","description":"Morocco.","isDeprecated":false,"deprecationReason":null},{"name":"MC","description":"Monaco.","isDeprecated":false,"deprecationReason":null},{"name":"MD","description":"Moldova.","isDeprecated":false,"deprecationReason":null},{"name":"ME","description":"Montenegro.","isDeprecated":false,"deprecationReason":null},{"name":"MF","description":"St. Martin.","isDeprecated":false,"deprecationReason":null},{"name":"MG","description":"Madagascar.","isDeprecated":false,"deprecationReason":null},{"name":"MK","description":"North Macedonia.","isDeprecated":false,"deprecationReason":null},{"name":"ML","description":"Mali.","isDeprecated":false,"deprecationReason":null},{"name":"MM","description":"Myanmar (Burma).","isDeprecated":false,"deprecationReason":null},{"name":"MN","description":"Mongolia.","isDeprecated":false,"deprecationReason":null},{"name":"MO","description":"Macao SAR.","isDeprecated":false,"deprecationReason":null},{"name":"MQ","description":"Martinique.","isDeprecated":false,"deprecationReason":null},{"name":"MR","description":"Mauritania.","isDeprecated":false,"deprecationReason":null},{"name":"MS","description":"Montserrat.","isDeprecated":false,"deprecationReason":null},{"name":"MT","description":"Malta.","isDeprecated":false,"deprecationReason":null},{"name":"MU","description":"Mauritius.","isDeprecated":false,"deprecationReason":null},{"name":"MV","description":"Maldives.","isDeprecated":false,"deprecationReason":null},{"name":"MW","description":"Malawi.","isDeprecated":false,"deprecationReason":null},{"name":"MX","description":"Mexico.","isDeprecated":false,"deprecationReason":null},{"name":"MY","description":"Malaysia.","isDeprecated":false,"deprecationReason":null},{"name":"MZ","description":"Mozambique.","isDeprecated":false,"deprecationReason":null},{"name":"NA","description":"Namibia.","isDeprecated":false,"deprecationReason":null},{"name":"NC","description":"New Caledonia.","isDeprecated":false,"deprecationReason":null},{"name":"NE","description":"Niger.","isDeprecated":false,"deprecationReason":null},{"name":"NF","description":"Norfolk Island.","isDeprecated":false,"deprecationReason":null},{"name":"NG","description":"Nigeria.","isDeprecated":false,"deprecationReason":null},{"name":"NI","description":"Nicaragua.","isDeprecated":false,"deprecationReason":null},{"name":"NL","description":"Netherlands.","isDeprecated":false,"deprecationReason":null},{"name":"NO","description":"Norway.","isDeprecated":false,"deprecationReason":null},{"name":"NP","description":"Nepal.","isDeprecated":false,"deprecationReason":null},{"name":"NR","description":"Nauru.","isDeprecated":false,"deprecationReason":null},{"name":"NU","description":"Niue.","isDeprecated":false,"deprecationReason":null},{"name":"NZ","description":"New Zealand.","isDeprecated":false,"deprecationReason":null},{"name":"OM","description":"Oman.","isDeprecated":false,"deprecationReason":null},{"name":"PA","description":"Panama.","isDeprecated":false,"deprecationReason":null},{"name":"PE","description":"Peru.","isDeprecated":false,"deprecationReason":null},{"name":"PF","description":"French Polynesia.","isDeprecated":false,"deprecationReason":null},{"name":"PG","description":"Papua New Guinea.","isDeprecated":false,"deprecationReason":null},{"name":"PH","description":"Philippines.","isDeprecated":false,"deprecationReason":null},{"name":"PK","description":"Pakistan.","isDeprecated":false,"deprecationReason":null},{"name":"PL","description":"Poland.","isDeprecated":false,"deprecationReason":null},{"name":"PM","description":"St. Pierre & Miquelon.","isDeprecated":false,"deprecationReason":null},{"name":"PN","description":"Pitcairn Islands.","isDeprecated":false,"deprecationReason":null},{"name":"PS","description":"Palestinian Territories.","isDeprecated":false,"deprecationReason":null},{"name":"PT","description":"Portugal.","isDeprecated":false,"deprecationReason":null},{"name":"PY","description":"Paraguay.","isDeprecated":false,"deprecationReason":null},{"name":"QA","description":"Qatar.","isDeprecated":false,"deprecationReason":null},{"name":"RE","description":"Réunion.","isDeprecated":false,"deprecationReason":null},{"name":"RO","description":"Romania.","isDeprecated":false,"deprecationReason":null},{"name":"RS","description":"Serbia.","isDeprecated":false,"deprecationReason":null},{"name":"RU","description":"Russia.","isDeprecated":false,"deprecationReason":null},{"name":"RW","description":"Rwanda.","isDeprecated":false,"deprecationReason":null},{"name":"SA","description":"Saudi Arabia.","isDeprecated":false,"deprecationReason":null},{"name":"SB","description":"Solomon Islands.","isDeprecated":false,"deprecationReason":null},{"name":"SC","description":"Seychelles.","isDeprecated":false,"deprecationReason":null},{"name":"SD","description":"Sudan.","isDeprecated":false,"deprecationReason":null},{"name":"SE","description":"Sweden.","isDeprecated":false,"deprecationReason":null},{"name":"SG","description":"Singapore.","isDeprecated":false,"deprecationReason":null},{"name":"SH","description":"St. Helena.","isDeprecated":false,"deprecationReason":null},{"name":"SI","description":"Slovenia.","isDeprecated":false,"deprecationReason":null},{"name":"SJ","description":"Svalbard & Jan Mayen.","isDeprecated":false,"deprecationReason":null},{"name":"SK","description":"Slovakia.","isDeprecated":false,"deprecationReason":null},{"name":"SL","description":"Sierra Leone.","isDeprecated":false,"deprecationReason":null},{"name":"SM","description":"San Marino.","isDeprecated":false,"deprecationReason":null},{"name":"SN","description":"Senegal.","isDeprecated":false,"deprecationReason":null},{"name":"SO","description":"Somalia.","isDeprecated":false,"deprecationReason":null},{"name":"SR","description":"Suriname.","isDeprecated":false,"deprecationReason":null},{"name":"SS","description":"South Sudan.","isDeprecated":false,"deprecationReason":null},{"name":"ST","description":"São Tomé & Príncipe.","isDeprecated":false,"deprecationReason":null},{"name":"SV","description":"El Salvador.","isDeprecated":false,"deprecationReason":null},{"name":"SX","description":"Sint Maarten.","isDeprecated":false,"deprecationReason":null},{"name":"SY","description":"Syria.","isDeprecated":false,"deprecationReason":null},{"name":"SZ","description":"Eswatini.","isDeprecated":false,"deprecationReason":null},{"name":"TA","description":"Tristan da Cunha.","isDeprecated":false,"deprecationReason":null},{"name":"TC","description":"Turks & Caicos Islands.","isDeprecated":false,"deprecationReason":null},{"name":"TD","description":"Chad.","isDeprecated":false,"deprecationReason":null},{"name":"TF","description":"French Southern Territories.","isDeprecated":false,"deprecationReason":null},{"name":"TG","description":"Togo.","isDeprecated":false,"deprecationReason":null},{"name":"TH","description":"Thailand.","isDeprecated":false,"deprecationReason":null},{"name":"TJ","description":"Tajikistan.","isDeprecated":false,"deprecationReason":null},{"name":"TK","description":"Tokelau.","isDeprecated":false,"deprecationReason":null},{"name":"TL","description":"Timor-Leste.","isDeprecated":false,"deprecationReason":null},{"name":"TM","description":"Turkmenistan.","isDeprecated":false,"deprecationReason":null},{"name":"TN","description":"Tunisia.","isDeprecated":false,"deprecationReason":null},{"name":"TO","description":"Tonga.","isDeprecated":false,"deprecationReason":null},{"name":"TR","description":"Turkey.","isDeprecated":false,"deprecationReason":null},{"name":"TT","description":"Trinidad & Tobago.","isDeprecated":false,"deprecationReason":null},{"name":"TV","description":"Tuvalu.","isDeprecated":false,"deprecationReason":null},{"name":"TW","description":"Taiwan.","isDeprecated":false,"deprecationReason":null},{"name":"TZ","description":"Tanzania.","isDeprecated":false,"deprecationReason":null},{"name":"UA","description":"Ukraine.","isDeprecated":false,"deprecationReason":null},{"name":"UG","description":"Uganda.","isDeprecated":false,"deprecationReason":null},{"name":"UM","description":"U.S. Outlying Islands.","isDeprecated":false,"deprecationReason":null},{"name":"US","description":"United States.","isDeprecated":false,"deprecationReason":null},{"name":"UY","description":"Uruguay.","isDeprecated":false,"deprecationReason":null},{"name":"UZ","description":"Uzbekistan.","isDeprecated":false,"deprecationReason":null},{"name":"VA","description":"Vatican City.","isDeprecated":false,"deprecationReason":null},{"name":"VC","description":"St. Vincent & Grenadines.","isDeprecated":false,"deprecationReason":null},{"name":"VE","description":"Venezuela.","isDeprecated":false,"deprecationReason":null},{"name":"VG","description":"British Virgin Islands.","isDeprecated":false,"deprecationReason":null},{"name":"VN","description":"Vietnam.","isDeprecated":false,"deprecationReason":null},{"name":"VU","description":"Vanuatu.","isDeprecated":false,"deprecationReason":null},{"name":"WF","description":"Wallis & Futuna.","isDeprecated":false,"deprecationReason":null},{"name":"WS","description":"Samoa.","isDeprecated":false,"deprecationReason":null},{"name":"XK","description":"Kosovo.","isDeprecated":false,"deprecationReason":null},{"name":"YE","description":"Yemen.","isDeprecated":false,"deprecationReason":null},{"name":"YT","description":"Mayotte.","isDeprecated":false,"deprecationReason":null},{"name":"ZA","description":"South Africa.","isDeprecated":false,"deprecationReason":null},{"name":"ZM","description":"Zambia.","isDeprecated":false,"deprecationReason":null},{"name":"ZW","description":"Zimbabwe.","isDeprecated":false,"deprecationReason":null},{"name":"ZZ","description":"Unknown Region.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CreditCard","description":"Credit card information used for a payment.","fields":[{"name":"brand","description":"The brand of the credit card.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"expiryMonth","description":"The expiry month of the credit card.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"expiryYear","description":"The expiry year of the credit card.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstDigits","description":"The credit card's BIN number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The first name of the card holder.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastDigits","description":"The last 4 digits of the credit card.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The last name of the card holder.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"maskedNumber","description":"The masked credit card number with only the last 4 digits displayed.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreditCardPaymentInputV2","description":"Specifies the fields required to complete a checkout with\na Shopify vaulted credit card payment.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The billing address for the payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"idempotencyKey","description":"A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentAmount","description":"The amount and currency of the payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MoneyInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"test","description":"Executes the payment in test mode if possible. Defaults to `false`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"vaultId","description":"The ID returned by Shopify's Card Vault.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CropRegion","description":"The part of the image that should remain after cropping.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BOTTOM","description":"Keep the bottom of the image.","isDeprecated":false,"deprecationReason":null},{"name":"CENTER","description":"Keep the center of the image.","isDeprecated":false,"deprecationReason":null},{"name":"LEFT","description":"Keep the left of the image.","isDeprecated":false,"deprecationReason":null},{"name":"RIGHT","description":"Keep the right of the image.","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Keep the top of the image.","isDeprecated":false,"deprecationReason":null}],"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","description":"The three-letter currency codes that represent the world currencies used in\nstores. These include standard ISO 4217 codes, legacy codes,\nand non-standard codes.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates Dirham (AED).","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan Afghani (AFN).","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian Lek (ALL).","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian Dram (AMD).","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean Guilder.","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan Kwanza (AOA).","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine Pesos (ARS).","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian Dollars (AUD).","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban Florin (AWG).","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani Manat (AZN).","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina Convertible Mark (BAM).","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbadian Dollar (BBD).","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladesh Taka (BDT).","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian Lev (BGN).","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini Dinar (BHD).","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian Franc (BIF).","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian Dollar (BMD).","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei Dollar (BND).","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Bolivian Boliviano (BOB).","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian Real (BRL).","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian Dollar (BSD).","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese Ngultrum (BTN).","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana Pula (BWP).","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian Ruble (BYN).","isDeprecated":false,"deprecationReason":null},{"name":"BYR","description":"Belarusian Ruble (BYR).","isDeprecated":true,"deprecationReason":"`BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead."},{"name":"BZD","description":"Belize Dollar (BZD).","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian Dollars (CAD).","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc (CDF).","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss Francs (CHF).","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean Peso (CLP).","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Chinese Yuan Renminbi (CNY).","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian Peso (COP).","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican Colones (CRC).","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verdean escudo (CVE).","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech Koruny (CZK).","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian Franc (DJF).","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish Kroner (DKK).","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican Peso (DOP).","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian Dinar (DZD).","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian Pound (EGP).","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean Nakfa (ERN).","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian Birr (ETB).","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro (EUR).","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fijian Dollars (FJD).","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands Pounds (FKP).","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"United Kingdom Pounds (GBP).","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian Lari (GEL).","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian Cedi (GHS).","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar Pounds (GIP).","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian Dalasi (GMD).","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean Franc (GNF).","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan Quetzal (GTQ).","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese Dollar (GYD).","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong Dollars (HKD).","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran Lempira (HNL).","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian Kuna (HRK).","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian Gourde (HTG).","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian Forint (HUF).","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian Rupiah (IDR).","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli New Shekel (NIS).","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian Rupees (INR).","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi Dinar (IQD).","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian Rial (IRR).","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic Kronur (ISK).","isDeprecated":false,"deprecationReason":null},{"name":"JEP","description":"Jersey Pound.","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican Dollars (JMD).","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian Dinar (JOD).","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese Yen (JPY).","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan Shilling (KES).","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani Som (KGS).","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian Riel.","isDeprecated":false,"deprecationReason":null},{"name":"KID","description":"Kiribati Dollar (KID).","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comorian Franc (KMF).","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean Won (KRW).","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti Dinar (KWD).","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Dollars (KYD).","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani Tenge (KZT).","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Laotian Kip (LAK).","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese Pounds (LBP).","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan Rupees (LKR).","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian Dollar (LRD).","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho Loti (LSL).","isDeprecated":false,"deprecationReason":null},{"name":"LTL","description":"Lithuanian Litai (LTL).","isDeprecated":false,"deprecationReason":null},{"name":"LVL","description":"Latvian Lati (LVL).","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan Dinar (LYD).","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan Dirham.","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan Leu (MDL).","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy Ariary (MGA).","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonia Denar (MKD).","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Burmese Kyat (MMK).","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian Tugrik.","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese Pataca (MOP).","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian Ouguiya (MRU).","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian Rupee (MUR).","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian Rufiyaa (MVR).","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian Kwacha (MWK).","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican Pesos (MXN).","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian Ringgits (MYR).","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican Metical.","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian Dollar.","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian Naira (NGN).","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan Córdoba (NIO).","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian Kroner (NOK).","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese Rupee (NPR).","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand Dollars (NZD).","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani Rial (OMR).","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamian Balboa (PAB).","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian Nuevo Sol (PEN).","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean Kina (PGK).","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine Peso (PHP).","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani Rupee (PKR).","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish Zlotych (PLN).","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan Guarani (PYG).","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari Rial (QAR).","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian Lei (RON).","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar (RSD).","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian Rubles (RUB).","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan Franc (RWF).","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi Riyal (SAR).","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands Dollar (SBD).","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychellois Rupee (SCR).","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese Pound (SDG).","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish Kronor (SEK).","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore Dollars (SGD).","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena Pounds (SHP).","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean Leone (SLL).","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali Shilling (SOS).","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese Dollar (SRD).","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese Pound (SSP).","isDeprecated":false,"deprecationReason":null},{"name":"STD","description":"Sao Tome And Principe Dobra (STD).","isDeprecated":true,"deprecationReason":"`STD` is deprecated. Use `STN` available from version `2022-07` onwards instead."},{"name":"STN","description":"Sao Tome And Principe Dobra (STN).","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian Pound (SYP).","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi Lilangeni (SZL).","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht (THB).","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani Somoni (TJS).","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistani Manat (TMT).","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian Dinar (TND).","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan Pa'anga (TOP).","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish Lira (TRY).","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago Dollars (TTD).","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"Taiwan Dollars (TWD).","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian Shilling (TZS).","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian Hryvnia (UAH).","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan Shilling (UGX).","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States Dollars (USD).","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan Pesos (UYU).","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som (UZS).","isDeprecated":false,"deprecationReason":null},{"name":"VED","description":"Venezuelan Bolivares (VED).","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 Soberanos (VES).","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng (VND).","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu Vatu (VUV).","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan Tala (WST).","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"Central African CFA Franc (XAF).","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean Dollar (XCD).","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"West African CFA franc (XOF).","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP Franc (XPF).","isDeprecated":false,"deprecationReason":null},{"name":"XXX","description":"Unrecognized currency.","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni Rial (YER).","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African Rand (ZAR).","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","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}},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":"A list of addresses for the customer.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MailingAddressConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time when the customer was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultAddress","description":"The customer’s default address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"displayName","description":"The customer’s name, email or phone number.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The customer’s email address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The customer’s first name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A unique ID for the customer.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastIncompleteCheckout","description":"The customer's most recently updated, incomplete checkout.","args":[],"type":{"kind":"OBJECT","name":"Checkout","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The customer’s last name.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"numberOfOrders","description":"The number of orders that the customer has made at the store in their lifetime.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"UnsignedInt64","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":"The orders associated with the customer.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `processed_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"OrderSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The customer’s phone number.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"A comma separated list of tags that have been added to the customer.\nAdditional access scope required: unauthenticated_read_customer_tags.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the customer information was updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessToken","description":"A CustomerAccessToken represents the unique token required to make modifications to the customer object.","fields":[{"name":"accessToken","description":"The customer’s access token.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"expiresAt","description":"The date and time when the customer access token expires.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerAccessTokenCreateInput","description":"The input fields required to create a customer access token.","fields":null,"inputFields":[{"name":"email","description":"The email associated to the customer.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":"The login password to be used by the customer.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenCreatePayload","description":"Return type for `customerAccessTokenCreate` mutation.","fields":[{"name":"customerAccessToken","description":"The newly created customer access token object.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenCreateWithMultipassPayload","description":"Return type for `customerAccessTokenCreateWithMultipass` mutation.","fields":[{"name":"customerAccessToken","description":"An access token object associated with the customer.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenDeletePayload","description":"Return type for `customerAccessTokenDelete` mutation.","fields":[{"name":"deletedAccessToken","description":"The destroyed access token.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deletedCustomerAccessTokenId","description":"ID of the destroyed customer access token.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAccessTokenRenewPayload","description":"Return type for `customerAccessTokenRenew` mutation.","fields":[{"name":"customerAccessToken","description":"The renewed customer access token object.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerActivateByUrlPayload","description":"Return type for `customerActivateByUrl` mutation.","fields":[{"name":"customer","description":"The customer that was activated.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"A new customer access token for the customer.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerActivateInput","description":"The input fields to activate a customer.","fields":null,"inputFields":[{"name":"activationToken","description":"The activation token required to activate the customer.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":"New password that will be set during activation.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerActivatePayload","description":"Return type for `customerActivate` mutation.","fields":[{"name":"customer","description":"The customer object.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"A newly created customer access token object for the customer.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressCreatePayload","description":"Return type for `customerAddressCreate` mutation.","fields":[{"name":"customerAddress","description":"The new customer address object.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressDeletePayload","description":"Return type for `customerAddressDelete` mutation.","fields":[{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"deletedCustomerAddressId","description":"ID of the deleted customer address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerAddressUpdatePayload","description":"Return type for `customerAddressUpdate` mutation.","fields":[{"name":"customerAddress","description":"The customer’s updated mailing address.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerCreateInput","description":"The input fields to create a new customer.","fields":null,"inputFields":[{"name":"acceptsMarketing","description":"Indicates whether the customer has consented to be sent marketing material via email.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The customer’s email.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The customer’s first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The customer’s last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":"The login password used by the customer.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerCreatePayload","description":"Return type for `customerCreate` mutation.","fields":[{"name":"customer","description":"The created customer object.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerDefaultAddressUpdatePayload","description":"Return type for `customerDefaultAddressUpdate` mutation.","fields":[{"name":"customer","description":"The updated customer object.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CustomerErrorCode","description":"Possible error codes that can be returned by `CustomerUserError`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALREADY_ENABLED","description":"Customer already enabled.","isDeprecated":false,"deprecationReason":null},{"name":"BAD_DOMAIN","description":"Input email contains an invalid domain name.","isDeprecated":false,"deprecationReason":null},{"name":"BLANK","description":"The input value is blank.","isDeprecated":false,"deprecationReason":null},{"name":"CONTAINS_HTML_TAGS","description":"Input contains HTML tags.","isDeprecated":false,"deprecationReason":null},{"name":"CONTAINS_URL","description":"Input contains URL.","isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DISABLED","description":"Customer is disabled.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID","description":"The input value is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_MULTIPASS_REQUEST","description":"Multipass token is not valid.","isDeprecated":false,"deprecationReason":null},{"name":"NOT_FOUND","description":"Address does not exist.","isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE","description":"Input password starts or ends with whitespace.","isDeprecated":false,"deprecationReason":null},{"name":"TAKEN","description":"The input value is already taken.","isDeprecated":false,"deprecationReason":null},{"name":"TOKEN_INVALID","description":"Invalid activation token.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"The input value is too long.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_SHORT","description":"The input value is too short.","isDeprecated":false,"deprecationReason":null},{"name":"UNIDENTIFIED_CUSTOMER","description":"Unidentified customer.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CustomerRecoverPayload","description":"Return type for `customerRecover` mutation.","fields":[{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerResetByUrlPayload","description":"Return type for `customerResetByUrl` mutation.","fields":[{"name":"customer","description":"The customer object which was reset.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"A newly created customer access token object for the customer.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerResetInput","description":"The input fields to reset a customer's password.","fields":null,"inputFields":[{"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,"isDeprecated":false,"deprecationReason":null},{"name":"resetToken","description":"The reset token required to reset the customer’s password.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerResetPayload","description":"Return type for `customerReset` mutation.","fields":[{"name":"customer","description":"The customer object which was reset.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"A newly created customer access token object for the customer.","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerUpdateInput","description":"The input fields to update the Customer information.","fields":null,"inputFields":[{"name":"acceptsMarketing","description":"Indicates whether the customer has consented to be sent marketing material via email.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"email","description":"The customer’s email.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The customer’s first name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The customer’s last name.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":"The login password used by the customer.","type":{"kind":"SCALAR","name":"String","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_. To remove the phone number, specify `null`.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerUpdatePayload","description":"Return type for `customerUpdate` mutation.","fields":[{"name":"customer","description":"The updated customer object.","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"The newly created customer access token. If the customer's password is updated, all previous access tokens\n(including the one used to perform this mutation) become invalid, and a new token is generated.\n","args":[],"type":{"kind":"OBJECT","name":"CustomerAccessToken","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUserErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerUserError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"userErrors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UserError","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use `customerUserErrors` instead."}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerUserError","description":"Represents an error that happens during execution of a customer mutation.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"CustomerErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.\nFor example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is\nrepresented as `\"2019-09-07T15:50:00Z`\".\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Decimal","description":"A signed decimal number, which supports arbitrary precision and is serialized as a string.\n\nExample values: `\"29.99\"`, `\"29.999\"`.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"DeliveryAddress","description":"A delivery address of the buyer that is interacting with the cart.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MailingAddress","ofType":null}]},{"kind":"INPUT_OBJECT","name":"DeliveryAddressInput","description":"The input fields for delivery address preferences.\n","fields":null,"inputFields":[{"name":"customerAddressId","description":"The ID of a customer address that is associated with the buyer that is interacting with the cart.\n","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deliveryAddress","description":"A delivery address preference of a buyer that is interacting with the cart.","type":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"DeliveryMethodType","description":"List of different delivery method types.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LOCAL","description":"Local Delivery.","isDeprecated":false,"deprecationReason":null},{"name":"NONE","description":"None.","isDeprecated":false,"deprecationReason":null},{"name":"PICKUP_POINT","description":"Shipping to a Pickup Point.","isDeprecated":false,"deprecationReason":null},{"name":"PICK_UP","description":"Local Pickup.","isDeprecated":false,"deprecationReason":null},{"name":"RETAIL","description":"Retail.","isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING","description":"Shipping.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DigitalWallet","description":"Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ANDROID_PAY","description":"Android Pay.","isDeprecated":false,"deprecationReason":null},{"name":"APPLE_PAY","description":"Apple Pay.","isDeprecated":false,"deprecationReason":null},{"name":"GOOGLE_PAY","description":"Google Pay.","isDeprecated":false,"deprecationReason":null},{"name":"SHOPIFY_PAY","description":"Shopify Pay.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"DiscountAllocation","description":"An amount discounting the line that has been allocated by a discount.\n","fields":[{"name":"allocatedAmount","description":"Amount of discount allocated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountApplication","description":"The discount this allocated amount originated from.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"DiscountApplication","description":"Discount applications capture the intentions of a discount source at\nthe time of application.\n","fields":[{"name":"allocationMethod","description":"The method by which the discount's value is allocated to its entitled items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetSelection","description":"Which lines of targetType that the discount is allocated over.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetSelection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"The type of line that the discount is applicable towards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the discount application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"PricingValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AutomaticDiscountApplication","ofType":null},{"kind":"OBJECT","name":"DiscountCodeApplication","ofType":null},{"kind":"OBJECT","name":"ManualDiscountApplication","ofType":null},{"kind":"OBJECT","name":"ScriptDiscountApplication","ofType":null}]},{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","description":"The method by which the discount's value is allocated onto its entitled lines.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ACROSS","description":"The value is spread across all entitled lines.","isDeprecated":false,"deprecationReason":null},{"name":"EACH","description":"The value is applied onto every entitled line.","isDeprecated":false,"deprecationReason":null},{"name":"ONE","description":"The value is specifically applied onto a particular line.","isDeprecated":true,"deprecationReason":"Use ACROSS instead."}],"possibleTypes":null},{"kind":"OBJECT","name":"DiscountApplicationConnection","description":"An auto-generated type for paginating through multiple DiscountApplications.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DiscountApplicationEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in DiscountApplicationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DiscountApplicationEdge","description":"An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of DiscountApplicationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"DiscountApplicationTargetSelection","description":"The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALL","description":"The discount is allocated onto all the lines.","isDeprecated":false,"deprecationReason":null},{"name":"ENTITLED","description":"The discount is allocated onto only the lines that it's entitled for.","isDeprecated":false,"deprecationReason":null},{"name":"EXPLICIT","description":"The discount is allocated onto explicitly chosen lines.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DiscountApplicationTargetType","description":"The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LINE_ITEM","description":"The discount applies onto line items.","isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_LINE","description":"The discount applies onto shipping lines.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"DiscountCodeApplication","description":"Discount code applications capture the intentions of a discount code at\nthe time that it is applied.\n","fields":[{"name":"allocationMethod","description":"The method by which the discount's value is allocated to its entitled items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applicable","description":"Specifies whether the discount code was applied successfully.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"The string identifying the discount code that was used at the time of application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetSelection","description":"Which lines of targetType that the discount is allocated over.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetSelection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"The type of line that the discount is applicable towards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the discount application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"PricingValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"DisplayableError","description":"Represents an error in the input of a mutation.","fields":[{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CartUserError","ofType":null},{"kind":"OBJECT","name":"CheckoutUserError","ofType":null},{"kind":"OBJECT","name":"CustomerUserError","ofType":null},{"kind":"OBJECT","name":"MetafieldDeleteUserError","ofType":null},{"kind":"OBJECT","name":"MetafieldsSetUserError","ofType":null},{"kind":"OBJECT","name":"UserError","ofType":null}]},{"kind":"OBJECT","name":"Domain","description":"Represents a web address.","fields":[{"name":"host","description":"The host name of the domain (eg: `example.com`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sslEnabled","description":"Whether SSL is enabled or not.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The URL of the domain (eg: `https://example.com`).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ExternalVideo","description":"Represents a video hosted outside of Shopify.","fields":[{"name":"alt","description":"A word or phrase to share the nature or contents of a media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"embedUrl","description":"The embed URL of the video for the respective host.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"embeddedUrl","description":"The URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `originUrl` instead."},{"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":"A globally-unique ID.","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":"originUrl","description":"The origin URL of the video on the respective host.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"presentation","description":"The presentation for a media.","args":[],"type":{"kind":"OBJECT","name":"MediaPresentation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Media","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Filter","description":"A filter that is supported on the parent field.","fields":[{"name":"id","description":"A unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"A human-friendly string for this filter.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"An enumeration that denotes the type of data this filter represents.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"FilterType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"The list of values for this filter.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FilterValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"FilterType","description":"The type of data that the filter group represents.\n\nFor more information, refer to [Filter products in a collection with the Storefront API]\n(https://shopify.dev/custom-storefronts/products-collections/filter-products).\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BOOLEAN","description":"A boolean value.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"A list of selectable values.","isDeprecated":false,"deprecationReason":null},{"name":"PRICE_RANGE","description":"A range of prices.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"FilterValue","description":"A selectable value within a filter.","fields":[{"name":"count","description":"The number of results that match this filter value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A unique identifier.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"input","description":"An input object that can be used to filter by this value on the parent field.\n\nThe value is provided as a helper for building dynamic filtering UI. For\nexample, if you have a list of selected `FilterValue` objects, you can combine\ntheir respective `input` values to use in a subsequent query.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":"A human-friendly string for this filter value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Fulfillment","description":"Represents a single fulfillment in an order.","fields":[{"name":"fulfillmentLineItems","description":"List of the fulfillment's line items.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLineItemConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingCompany","description":"The name of the tracking company.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"trackingInfo","description":"Tracking information associated with the fulfillment,\nsuch as the tracking number and tracking URL.\n","args":[{"name":"first","description":"Truncate the array result to this size.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentTrackingInfo","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLineItem","description":"Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item.","fields":[{"name":"lineItem","description":"The associated order's line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLineItem","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The amount fulfilled in this fulfillment.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLineItemConnection","description":"An auto-generated type for paginating through multiple FulfillmentLineItems.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLineItemEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in FulfillmentLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLineItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLineItemEdge","description":"An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of FulfillmentLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLineItem","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentTrackingInfo","description":"Tracking information associated with the fulfillment.","fields":[{"name":"number","description":"The tracking number of the fulfillment.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The URL to track the fulfillment.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GenericFile","description":"The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON.","fields":[{"name":"alt","description":"A word or phrase to indicate the contents of a file.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":"The MIME type of the file.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"originalFileSize","description":"The size of the original file in bytes.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the file.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The URL of the file.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"GeoCoordinateInput","description":"The input fields 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,"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"The coordinate's longitude value.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"HTML","description":"A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a\ncomplete list of HTML elements.\n\nExample value: `\"

Grey cotton knit sweater.

\"`\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"HasMetafields","description":"Represents information about the metafields associated to the specified resource.","fields":[{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"Blog","ofType":null},{"kind":"OBJECT","name":"Cart","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Location","ofType":null},{"kind":"OBJECT","name":"Market","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":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","description":"The input fields to identify a metafield on an owner resource by namespace and key.","fields":null,"inputFields":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Image","description":"Represents an image resource.","fields":[{"name":"altText","description":"A word or phrase to share the nature or contents of an image.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A unique ID for the image.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"originalSrc","description":"The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `url` instead."},{"name":"src","description":"The location of the image as a URL.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `url` instead."},{"name":"transformedSrc","description":"The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.\n","args":[{"name":"crop","description":"Crops the image according to the specified region.","type":{"kind":"ENUM","name":"CropRegion","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"maxHeight","description":"Image height in pixels between 1 and 5760.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"maxWidth","description":"Image width in pixels between 1 and 5760.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preferredContentType","description":"Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).","type":{"kind":"ENUM","name":"ImageContentType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"scale","description":"Image size multiplier for high-resolution retina displays. Must be between 1 and 3.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `url(transform:)` instead"},{"name":"url","description":"The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).\n","args":[{"name":"transform","description":"A set of options to transform the original image.","type":{"kind":"INPUT_OBJECT","name":"ImageTransformInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":"The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ImageConnection","description":"An auto-generated type for paginating through multiple Images.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ImageEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in ImageEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ImageContentType","description":"List of supported image content types.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"JPG","description":"A JPG image.","isDeprecated":false,"deprecationReason":null},{"name":"PNG","description":"A PNG image.","isDeprecated":false,"deprecationReason":null},{"name":"WEBP","description":"A WEBP image.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ImageEdge","description":"An auto-generated type which holds one Image and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of ImageEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Image","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ImageTransformInput","description":"The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that\nthe original image type doesn't support will be ignored.\n","fields":null,"inputFields":[{"name":"crop","description":"The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields,\nwhere the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{\nmaxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.\n","type":{"kind":"ENUM","name":"CropRegion","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"maxHeight","description":"Image height in pixels between 1 and 5760.\n","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"maxWidth","description":"Image width in pixels between 1 and 5760.\n","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preferredContentType","description":"Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.\n","type":{"kind":"ENUM","name":"ImageContentType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"scale","description":"Image size multiplier for high-resolution retina displays. Must be within 1..3.\n","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":"1","isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InContext","description":"Provide details about the contexts influenced by the @inContext directive on a field.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"InContextType","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InContextType","description":"This gives information about the type of context that impacts a field. For example, for a query with @inContext(language: \"EN\"), the type would point to the name: LanguageCode and kind: ENUM.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"A [JSON](https://www.json.org/json-en.html) object.\n\nExample value:\n`{\n \"product\": {\n \"id\": \"gid://shopify/Product/1346443542550\",\n \"title\": \"White T-shirt\",\n \"options\": [{\n \"name\": \"Size\",\n \"values\": [\"M\", \"L\"]\n }]\n }\n}`\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Language","description":"A language.","fields":[{"name":"endonymName","description":"The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isoCode","description":"The ISO code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The name of the language in the current language.","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":"LanguageCode","description":"ISO 639-1 language codes supported by Shopify.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AF","description":"Afrikaans.","isDeprecated":false,"deprecationReason":null},{"name":"AK","description":"Akan.","isDeprecated":false,"deprecationReason":null},{"name":"AM","description":"Amharic.","isDeprecated":false,"deprecationReason":null},{"name":"AR","description":"Arabic.","isDeprecated":false,"deprecationReason":null},{"name":"AS","description":"Assamese.","isDeprecated":false,"deprecationReason":null},{"name":"AZ","description":"Azerbaijani.","isDeprecated":false,"deprecationReason":null},{"name":"BE","description":"Belarusian.","isDeprecated":false,"deprecationReason":null},{"name":"BG","description":"Bulgarian.","isDeprecated":false,"deprecationReason":null},{"name":"BM","description":"Bambara.","isDeprecated":false,"deprecationReason":null},{"name":"BN","description":"Bangla.","isDeprecated":false,"deprecationReason":null},{"name":"BO","description":"Tibetan.","isDeprecated":false,"deprecationReason":null},{"name":"BR","description":"Breton.","isDeprecated":false,"deprecationReason":null},{"name":"BS","description":"Bosnian.","isDeprecated":false,"deprecationReason":null},{"name":"CA","description":"Catalan.","isDeprecated":false,"deprecationReason":null},{"name":"CE","description":"Chechen.","isDeprecated":false,"deprecationReason":null},{"name":"CKB","description":"Central Kurdish.","isDeprecated":false,"deprecationReason":null},{"name":"CS","description":"Czech.","isDeprecated":false,"deprecationReason":null},{"name":"CU","description":"Church Slavic.","isDeprecated":false,"deprecationReason":null},{"name":"CY","description":"Welsh.","isDeprecated":false,"deprecationReason":null},{"name":"DA","description":"Danish.","isDeprecated":false,"deprecationReason":null},{"name":"DE","description":"German.","isDeprecated":false,"deprecationReason":null},{"name":"DZ","description":"Dzongkha.","isDeprecated":false,"deprecationReason":null},{"name":"EE","description":"Ewe.","isDeprecated":false,"deprecationReason":null},{"name":"EL","description":"Greek.","isDeprecated":false,"deprecationReason":null},{"name":"EN","description":"English.","isDeprecated":false,"deprecationReason":null},{"name":"EO","description":"Esperanto.","isDeprecated":false,"deprecationReason":null},{"name":"ES","description":"Spanish.","isDeprecated":false,"deprecationReason":null},{"name":"ET","description":"Estonian.","isDeprecated":false,"deprecationReason":null},{"name":"EU","description":"Basque.","isDeprecated":false,"deprecationReason":null},{"name":"FA","description":"Persian.","isDeprecated":false,"deprecationReason":null},{"name":"FF","description":"Fulah.","isDeprecated":false,"deprecationReason":null},{"name":"FI","description":"Finnish.","isDeprecated":false,"deprecationReason":null},{"name":"FIL","description":"Filipino.","isDeprecated":false,"deprecationReason":null},{"name":"FO","description":"Faroese.","isDeprecated":false,"deprecationReason":null},{"name":"FR","description":"French.","isDeprecated":false,"deprecationReason":null},{"name":"FY","description":"Western Frisian.","isDeprecated":false,"deprecationReason":null},{"name":"GA","description":"Irish.","isDeprecated":false,"deprecationReason":null},{"name":"GD","description":"Scottish Gaelic.","isDeprecated":false,"deprecationReason":null},{"name":"GL","description":"Galician.","isDeprecated":false,"deprecationReason":null},{"name":"GU","description":"Gujarati.","isDeprecated":false,"deprecationReason":null},{"name":"GV","description":"Manx.","isDeprecated":false,"deprecationReason":null},{"name":"HA","description":"Hausa.","isDeprecated":false,"deprecationReason":null},{"name":"HE","description":"Hebrew.","isDeprecated":false,"deprecationReason":null},{"name":"HI","description":"Hindi.","isDeprecated":false,"deprecationReason":null},{"name":"HR","description":"Croatian.","isDeprecated":false,"deprecationReason":null},{"name":"HU","description":"Hungarian.","isDeprecated":false,"deprecationReason":null},{"name":"HY","description":"Armenian.","isDeprecated":false,"deprecationReason":null},{"name":"IA","description":"Interlingua.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Indonesian.","isDeprecated":false,"deprecationReason":null},{"name":"IG","description":"Igbo.","isDeprecated":false,"deprecationReason":null},{"name":"II","description":"Sichuan Yi.","isDeprecated":false,"deprecationReason":null},{"name":"IS","description":"Icelandic.","isDeprecated":false,"deprecationReason":null},{"name":"IT","description":"Italian.","isDeprecated":false,"deprecationReason":null},{"name":"JA","description":"Japanese.","isDeprecated":false,"deprecationReason":null},{"name":"JV","description":"Javanese.","isDeprecated":false,"deprecationReason":null},{"name":"KA","description":"Georgian.","isDeprecated":false,"deprecationReason":null},{"name":"KI","description":"Kikuyu.","isDeprecated":false,"deprecationReason":null},{"name":"KK","description":"Kazakh.","isDeprecated":false,"deprecationReason":null},{"name":"KL","description":"Kalaallisut.","isDeprecated":false,"deprecationReason":null},{"name":"KM","description":"Khmer.","isDeprecated":false,"deprecationReason":null},{"name":"KN","description":"Kannada.","isDeprecated":false,"deprecationReason":null},{"name":"KO","description":"Korean.","isDeprecated":false,"deprecationReason":null},{"name":"KS","description":"Kashmiri.","isDeprecated":false,"deprecationReason":null},{"name":"KU","description":"Kurdish.","isDeprecated":false,"deprecationReason":null},{"name":"KW","description":"Cornish.","isDeprecated":false,"deprecationReason":null},{"name":"KY","description":"Kyrgyz.","isDeprecated":false,"deprecationReason":null},{"name":"LA","description":"Latin.","isDeprecated":false,"deprecationReason":null},{"name":"LB","description":"Luxembourgish.","isDeprecated":false,"deprecationReason":null},{"name":"LG","description":"Ganda.","isDeprecated":false,"deprecationReason":null},{"name":"LN","description":"Lingala.","isDeprecated":false,"deprecationReason":null},{"name":"LO","description":"Lao.","isDeprecated":false,"deprecationReason":null},{"name":"LT","description":"Lithuanian.","isDeprecated":false,"deprecationReason":null},{"name":"LU","description":"Luba-Katanga.","isDeprecated":false,"deprecationReason":null},{"name":"LV","description":"Latvian.","isDeprecated":false,"deprecationReason":null},{"name":"MG","description":"Malagasy.","isDeprecated":false,"deprecationReason":null},{"name":"MI","description":"Māori.","isDeprecated":false,"deprecationReason":null},{"name":"MK","description":"Macedonian.","isDeprecated":false,"deprecationReason":null},{"name":"ML","description":"Malayalam.","isDeprecated":false,"deprecationReason":null},{"name":"MN","description":"Mongolian.","isDeprecated":false,"deprecationReason":null},{"name":"MO","description":"Moldavian.","isDeprecated":false,"deprecationReason":null},{"name":"MR","description":"Marathi.","isDeprecated":false,"deprecationReason":null},{"name":"MS","description":"Malay.","isDeprecated":false,"deprecationReason":null},{"name":"MT","description":"Maltese.","isDeprecated":false,"deprecationReason":null},{"name":"MY","description":"Burmese.","isDeprecated":false,"deprecationReason":null},{"name":"NB","description":"Norwegian (Bokmål).","isDeprecated":false,"deprecationReason":null},{"name":"ND","description":"North Ndebele.","isDeprecated":false,"deprecationReason":null},{"name":"NE","description":"Nepali.","isDeprecated":false,"deprecationReason":null},{"name":"NL","description":"Dutch.","isDeprecated":false,"deprecationReason":null},{"name":"NN","description":"Norwegian Nynorsk.","isDeprecated":false,"deprecationReason":null},{"name":"NO","description":"Norwegian.","isDeprecated":false,"deprecationReason":null},{"name":"OM","description":"Oromo.","isDeprecated":false,"deprecationReason":null},{"name":"OR","description":"Odia.","isDeprecated":false,"deprecationReason":null},{"name":"OS","description":"Ossetic.","isDeprecated":false,"deprecationReason":null},{"name":"PA","description":"Punjabi.","isDeprecated":false,"deprecationReason":null},{"name":"PL","description":"Polish.","isDeprecated":false,"deprecationReason":null},{"name":"PS","description":"Pashto.","isDeprecated":false,"deprecationReason":null},{"name":"PT","description":"Portuguese.","isDeprecated":false,"deprecationReason":null},{"name":"PT_BR","description":"Portuguese (Brazil).","isDeprecated":false,"deprecationReason":null},{"name":"PT_PT","description":"Portuguese (Portugal).","isDeprecated":false,"deprecationReason":null},{"name":"QU","description":"Quechua.","isDeprecated":false,"deprecationReason":null},{"name":"RM","description":"Romansh.","isDeprecated":false,"deprecationReason":null},{"name":"RN","description":"Rundi.","isDeprecated":false,"deprecationReason":null},{"name":"RO","description":"Romanian.","isDeprecated":false,"deprecationReason":null},{"name":"RU","description":"Russian.","isDeprecated":false,"deprecationReason":null},{"name":"RW","description":"Kinyarwanda.","isDeprecated":false,"deprecationReason":null},{"name":"SA","description":"Sanskrit.","isDeprecated":false,"deprecationReason":null},{"name":"SC","description":"Sardinian.","isDeprecated":false,"deprecationReason":null},{"name":"SD","description":"Sindhi.","isDeprecated":false,"deprecationReason":null},{"name":"SE","description":"Northern Sami.","isDeprecated":false,"deprecationReason":null},{"name":"SG","description":"Sango.","isDeprecated":false,"deprecationReason":null},{"name":"SH","description":"Serbo-Croatian.","isDeprecated":false,"deprecationReason":null},{"name":"SI","description":"Sinhala.","isDeprecated":false,"deprecationReason":null},{"name":"SK","description":"Slovak.","isDeprecated":false,"deprecationReason":null},{"name":"SL","description":"Slovenian.","isDeprecated":false,"deprecationReason":null},{"name":"SN","description":"Shona.","isDeprecated":false,"deprecationReason":null},{"name":"SO","description":"Somali.","isDeprecated":false,"deprecationReason":null},{"name":"SQ","description":"Albanian.","isDeprecated":false,"deprecationReason":null},{"name":"SR","description":"Serbian.","isDeprecated":false,"deprecationReason":null},{"name":"SU","description":"Sundanese.","isDeprecated":false,"deprecationReason":null},{"name":"SV","description":"Swedish.","isDeprecated":false,"deprecationReason":null},{"name":"SW","description":"Swahili.","isDeprecated":false,"deprecationReason":null},{"name":"TA","description":"Tamil.","isDeprecated":false,"deprecationReason":null},{"name":"TE","description":"Telugu.","isDeprecated":false,"deprecationReason":null},{"name":"TG","description":"Tajik.","isDeprecated":false,"deprecationReason":null},{"name":"TH","description":"Thai.","isDeprecated":false,"deprecationReason":null},{"name":"TI","description":"Tigrinya.","isDeprecated":false,"deprecationReason":null},{"name":"TK","description":"Turkmen.","isDeprecated":false,"deprecationReason":null},{"name":"TO","description":"Tongan.","isDeprecated":false,"deprecationReason":null},{"name":"TR","description":"Turkish.","isDeprecated":false,"deprecationReason":null},{"name":"TT","description":"Tatar.","isDeprecated":false,"deprecationReason":null},{"name":"UG","description":"Uyghur.","isDeprecated":false,"deprecationReason":null},{"name":"UK","description":"Ukrainian.","isDeprecated":false,"deprecationReason":null},{"name":"UR","description":"Urdu.","isDeprecated":false,"deprecationReason":null},{"name":"UZ","description":"Uzbek.","isDeprecated":false,"deprecationReason":null},{"name":"VI","description":"Vietnamese.","isDeprecated":false,"deprecationReason":null},{"name":"VO","description":"Volapük.","isDeprecated":false,"deprecationReason":null},{"name":"WO","description":"Wolof.","isDeprecated":false,"deprecationReason":null},{"name":"XH","description":"Xhosa.","isDeprecated":false,"deprecationReason":null},{"name":"YI","description":"Yiddish.","isDeprecated":false,"deprecationReason":null},{"name":"YO","description":"Yoruba.","isDeprecated":false,"deprecationReason":null},{"name":"ZH","description":"Chinese.","isDeprecated":false,"deprecationReason":null},{"name":"ZH_CN","description":"Chinese (Simplified).","isDeprecated":false,"deprecationReason":null},{"name":"ZH_TW","description":"Chinese (Traditional).","isDeprecated":false,"deprecationReason":null},{"name":"ZU","description":"Zulu.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Localization","description":"Information about the localized experiences configured for the shop.","fields":[{"name":"availableCountries","description":"The list of countries with enabled localized experiences.","args":[],"type":{"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":"availableLanguages","description":"The list of languages available for the active country.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Language","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country of the active localized experience. Use the `@inContext` directive to change this value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":"The language of the active localized experience. Use the `@inContext` directive to change this value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Language","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"market","description":"The market including the country of the active localized experience. Use the `@inContext` directive to change this value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Market","ofType":null}},"isDeprecated":false,"deprecationReason":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":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","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":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocationAddress","description":"Represents the address of a location.\n","fields":[{"name":"address1","description":"The first line of the address for the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address2","description":"The second line of the address for the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The city of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The country of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"The country code of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"formatted","description":"A formatted version of the address for the location.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"The latitude coordinates of the location.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"The longitude coordinates of the location.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"The phone number of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":"The province of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"provinceCode","description":"The code for the province, state, or district of the address of the location.\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zip","description":"The ZIP code of the location.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocationConnection","description":"An auto-generated type for paginating through multiple Locations.\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":"LocationEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in LocationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Location","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":"LocationEdge","description":"An auto-generated type which holds one Location 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 LocationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Location","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LocationSortKeys","description":"The set of valid sort keys for the Location query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CITY","description":"Sort by the `city` value.","isDeprecated":false,"deprecationReason":null},{"name":"DISTANCE","description":"Sort by the `distance` value.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"NAME","description":"Sort by the `name` 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.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"address2","description":"The second line of the address. Typically the number of the apartment, suite, or unit.\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The name of the city, district, village, or town.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":"The name of the customer's company or organization.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The name of the country.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"The two-letter code for the country of the address.\n\nFor example, US.\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":true,"deprecationReason":"Use `countryCodeV2` instead."},{"name":"countryCodeV2","description":"The two-letter code for the country of the address.\n\nFor example, US.\n","args":[],"type":{"kind":"ENUM","name":"CountryCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The first name of the customer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"formatted","description":"A formatted version of the address, customized by the provided arguments.","args":[{"name":"withCompany","description":"Whether to include the customer's company in the formatted address.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"true","isDeprecated":false,"deprecationReason":null},{"name":"withName","description":"Whether to include the customer's name in the formatted address.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"formattedArea","description":"A comma-separated list of the values for city, province, and country.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The last name of the customer.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"latitude","description":"The latitude coordinate of the customer address.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"longitude","description":"The longitude coordinate of the customer address.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The full name of the customer, based on firstName and lastName.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phone","description":"A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":"The region of the address, such as the province, state, or district.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"provinceCode","description":"The two-letter code for the region.\n\nFor example, ON.\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zip","description":"The zip or postal code of the address.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MailingAddressConnection","description":"An auto-generated type for paginating through multiple MailingAddresses.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MailingAddressEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in MailingAddressEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MailingAddress","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MailingAddressEdge","description":"An auto-generated type which holds one MailingAddress and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of MailingAddressEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MailingAddress","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MailingAddressInput","description":"The input fields to create or update a mailing address.","fields":null,"inputFields":[{"name":"address1","description":"The first line of the address. Typically the street address or PO Box number.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"address2","description":"The second line of the address. Typically the number of the apartment, suite, or unit.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":"The name of the city, district, village, or town.\n","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","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"country","description":"The name of the country.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":"The first name of the customer.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":"The last name of the customer.","type":{"kind":"SCALAR","name":"String","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","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.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"zip","description":"The zip or postal code of the address.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ManualDiscountApplication","description":"Manual discount applications capture the intentions of a discount that was manually created.\n","fields":[{"name":"allocationMethod","description":"The method by which the discount's value is allocated to its entitled items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The description of the application.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"targetSelection","description":"Which lines of targetType that the discount is allocated over.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetSelection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"The type of line that the discount is applicable towards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the discount application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"PricingValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Market","description":"A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets).","fields":[{"name":"handle","description":"A human-readable unique string for the market automatically generated from its title.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Media","description":"Represents a media interface.","fields":[{"name":"alt","description":"A word or phrase to share the nature or contents of a media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","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":"presentation","description":"The presentation for a media.","args":[],"type":{"kind":"OBJECT","name":"MediaPresentation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"ExternalVideo","ofType":null},{"kind":"OBJECT","name":"MediaImage","ofType":null},{"kind":"OBJECT","name":"Model3d","ofType":null},{"kind":"OBJECT","name":"Video","ofType":null}]},{"kind":"OBJECT","name":"MediaConnection","description":"An auto-generated type for paginating through multiple Media.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MediaEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in MediaEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Media","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MediaContentType","description":"The possible content types for a media object.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"EXTERNAL_VIDEO","description":"An externally hosted video.","isDeprecated":false,"deprecationReason":null},{"name":"IMAGE","description":"A Shopify hosted image.","isDeprecated":false,"deprecationReason":null},{"name":"MODEL_3D","description":"A 3d model.","isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":"A Shopify hosted video.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"MediaEdge","description":"An auto-generated type which holds one Media and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of MediaEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Media","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MediaHost","description":"Host for a Media Resource.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"VIMEO","description":"Host for Vimeo embedded videos.","isDeprecated":false,"deprecationReason":null},{"name":"YOUTUBE","description":"Host for YouTube embedded videos.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"MediaImage","description":"Represents a Shopify hosted image.","fields":[{"name":"alt","description":"A word or phrase to share the nature or contents of a media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"The image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mediaContentType","description":"The media content type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MediaContentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"presentation","description":"The presentation for a media.","args":[],"type":{"kind":"OBJECT","name":"MediaPresentation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Media","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MediaPresentation","description":"A media presentation.","fields":[{"name":"asJson","description":"A JSON object representing a presentation view.","args":[{"name":"format","description":"The format to transform the settings.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MediaPresentationFormat","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MediaPresentationFormat","description":"The possible formats for a media presentation.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":"A media image presentation.","isDeprecated":false,"deprecationReason":null},{"name":"MODEL_VIEWER","description":"A model viewer presentation.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Menu","description":"A [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) representing a hierarchy\nof hyperlinks (items).\n","fields":[{"name":"handle","description":"The menu's handle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"The menu's child items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MenuItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"itemsCount","description":"The count of items on the menu.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The menu's title.","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":"MenuItem","description":"A menu item within a parent menu.","fields":[{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":"The menu item's child items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MenuItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"resource","description":"The linked resource.","args":[],"type":{"kind":"UNION","name":"MenuItemResource","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resourceId","description":"The ID of the linked resource.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"The menu item's tags to filter a collection.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The menu item's title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The menu item's type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MenuItemType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The menu item's URL.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"MenuItemResource","description":"The list of possible resources a `MenuItem` can reference.\n","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":"Page","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ShopPolicy","ofType":null}]},{"kind":"ENUM","name":"MenuItemType","description":"A menu item type.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ARTICLE","description":"An article link.","isDeprecated":false,"deprecationReason":null},{"name":"BLOG","description":"A blog link.","isDeprecated":false,"deprecationReason":null},{"name":"CATALOG","description":"A catalog link.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTION","description":"A collection link.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTIONS","description":"A collection link.","isDeprecated":false,"deprecationReason":null},{"name":"FRONTPAGE","description":"A frontpage link.","isDeprecated":false,"deprecationReason":null},{"name":"HTTP","description":"An http link.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"A page link.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT","description":"A product link.","isDeprecated":false,"deprecationReason":null},{"name":"SEARCH","description":"A search link.","isDeprecated":false,"deprecationReason":null},{"name":"SHOP_POLICY","description":"A shop policy link.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"UNION","name":"Merchandise","description":"The merchandise to be purchased at checkout.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"ProductVariant","ofType":null}]},{"kind":"OBJECT","name":"Metafield","description":"Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are\ncomprised of keys, values, and value types.\n","fields":[{"name":"createdAt","description":"The date and time when the storefront metafield was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The description of a metafield.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"key","description":"The unique identifier for the metafield within its namespace.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container for a group of metafields that the metafield is associated with.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parentResource","description":"The type of resource that the metafield is attached to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"MetafieldParentResource","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reference","description":"Returns a reference object if the metafield's type is a resource reference.","args":[],"type":{"kind":"UNION","name":"MetafieldReference","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"references","description":"A list of reference objects if the metafield's type is a resource reference list.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"MetafieldReferenceConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type name of the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the metafield was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The data stored in the metafield. Always stored as a string, regardless of the metafield's type.","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":"ENUM","name":"MetafieldDeleteErrorCode","description":"Possible error codes that can be returned by `MetafieldDeleteUserError`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"INVALID_OWNER","description":"The owner ID is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"METAFIELD_DOES_NOT_EXIST","description":"Metafield not found.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"MetafieldDeleteUserError","description":"An error that occurs during the execution of cart metafield deletion.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"MetafieldDeleteErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MetafieldFilter","description":"A filter used to view a subset of products in a collection matching a specific metafield value.\n\nOnly the following metafield types are currently supported:\n- `number_integer`\n- `number_decimal`\n- `single_line_text_field`\n- `boolean` as of 2022-04.\n","fields":null,"inputFields":[{"name":"key","description":"The key of the metafield to filter on.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The namespace of the metafield to filter on.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"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":"Cart","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Location","ofType":null},{"kind":"OBJECT","name":"Market","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":"UNION","name":"MetafieldReference","description":"Returns the resource which is being referred to by a metafield.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"GenericFile","ofType":null},{"kind":"OBJECT","name":"MediaImage","ofType":null},{"kind":"OBJECT","name":"Metaobject","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Video","ofType":null}]},{"kind":"OBJECT","name":"MetafieldReferenceConnection","description":"An auto-generated type for paginating through multiple MetafieldReferences.\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":"MetafieldReferenceEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in MetafieldReferenceEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"MetafieldReference","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":"MetafieldReferenceEdge","description":"An auto-generated type which holds one MetafieldReference 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 MetafieldReferenceEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"MetafieldReference","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetafieldsSetUserError","description":"An error that occurs during the execution of `MetafieldsSet`.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"ENUM","name":"MetafieldsSetUserErrorCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"elementIndex","description":"The index of the array element that's causing the error.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MetafieldsSetUserErrorCode","description":"Possible error codes that can be returned by `MetafieldsSetUserError`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BLANK","description":"The input value is blank.","isDeprecated":false,"deprecationReason":null},{"name":"INCLUSION","description":"The input value isn't included in the list.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_OWNER","description":"The owner ID is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_TYPE","description":"The type is invalid.","isDeprecated":false,"deprecationReason":null},{"name":"INVALID_VALUE","description":"The value is invalid for metafield type or for definition options.","isDeprecated":false,"deprecationReason":null},{"name":"LESS_THAN_OR_EQUAL_TO","description":"The input value should be less than or equal to the maximum value allowed.","isDeprecated":false,"deprecationReason":null},{"name":"PRESENT","description":"The input value needs to be blank.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_LONG","description":"The input value is too long.","isDeprecated":false,"deprecationReason":null},{"name":"TOO_SHORT","description":"The input value is too short.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Metaobject","description":"An instance of a user-defined model based on a MetaobjectDefinition.","fields":[{"name":"field","description":"Accesses a field of the object by key.","args":[{"name":"key","description":"The key of the field.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"MetaobjectField","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":"All object fields with defined values.\nOmitted object keys can be assumed null, and no guarantees are made about field order.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetaobjectField","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The unique handle of the metaobject. Useful as a custom ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the metaobject on the shop's Online Store. Returns `null` if the metaobject definition doesn't have the `online_store` capability.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The metaobject's SEO information. Returns `null` if the metaobject definition\ndoesn't have the `renderable` capability.\n","args":[],"type":{"kind":"OBJECT","name":"MetaobjectSEO","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of the metaobject. Defines the namespace of its associated metafields.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the metaobject was last updated.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetaobjectConnection","description":"An auto-generated type for paginating through multiple Metaobjects.\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":"MetaobjectEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in MetaobjectEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Metaobject","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":"MetaobjectEdge","description":"An auto-generated type which holds one Metaobject 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 MetaobjectEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Metaobject","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetaobjectField","description":"Provides the value of a Metaobject field.","fields":[{"name":"key","description":"The field key.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reference","description":"A referenced object if the field type is a resource reference.","args":[],"type":{"kind":"UNION","name":"MetafieldReference","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"references","description":"A list of referenced objects if the field type is a resource reference list.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"MetafieldReferenceConnection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type name of the field.\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":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The field value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MetaobjectHandleInput","description":"The input fields used to retrieve a metaobject by handle.","fields":null,"inputFields":[{"name":"handle","description":"The handle of the metaobject.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of the metaobject.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetaobjectSEO","description":"SEO information for a metaobject.","fields":[{"name":"description","description":"The meta description.","args":[],"type":{"kind":"OBJECT","name":"MetaobjectField","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The SEO title.","args":[],"type":{"kind":"OBJECT","name":"MetaobjectField","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Model3d","description":"Represents a Shopify hosted 3D model.","fields":[{"name":"alt","description":"A word or phrase to share the nature or contents of a media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","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":"presentation","description":"The presentation for a media.","args":[],"type":{"kind":"OBJECT","name":"MediaPresentation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sources","description":"The sources for a 3d model.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Model3dSource","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Media","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Model3dSource","description":"Represents a source for a Shopify hosted 3d model.","fields":[{"name":"filesize","description":"The filesize of the 3d model.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"format","description":"The format of the 3d model.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":"The MIME type of the 3d model.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The URL of the 3d model.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MoneyInput","description":"The input 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,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"Currency of the money.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MoneyV2","description":"A monetary value with currency.\n","fields":[{"name":"amount","description":"Decimal money amount.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Decimal","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"Currency of the money.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"cartAttributesUpdate","description":"Updates the attributes on a cart.","args":[{"name":"attributes","description":"An array of key-value pairs that contains additional information about the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AttributeInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartAttributesUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartBuyerIdentityUpdate","description":"Updates customer information associated with a cart.\nBuyer identity is used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nand should match the customer's shipping address.\n","args":[{"name":"buyerIdentity","description":"The customer associated with the cart. Used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).\nBuyer identity should match the customer's shipping address.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartBuyerIdentityInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartBuyerIdentityUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartCreate","description":"Creates a new cart.","args":[{"name":"input","description":"The fields used to create a cart.","type":{"kind":"INPUT_OBJECT","name":"CartInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartCreatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartDiscountCodesUpdate","description":"Updates the discount codes applied to the cart.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"discountCodes","description":"The case-insensitive discount codes that the customer added at checkout.\n","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartDiscountCodesUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesAdd","description":"Adds a merchandise line to the cart.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"A list of merchandise lines to add to the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartLinesAddPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesRemove","description":"Removes one or more merchandise lines from the cart.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lineIds","description":"The merchandise line 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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartLinesRemovePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartLinesUpdate","description":"Updates one or more merchandise lines on a cart.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"The merchandise lines to update.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartLineUpdateInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartLinesUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartMetafieldDelete","description":"Deletes a cart metafield.","args":[{"name":"input","description":"The input fields used to delete a cart metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartMetafieldDeleteInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartMetafieldDeletePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartMetafieldsSet","description":"Sets cart metafield values. Cart metafield values will be set regardless if they were previously created or not.\n\nAllows a maximum of 25 cart metafields to be set at a time.\n","args":[{"name":"metafields","description":"The list of Cart metafield values to set. Maximum of 25.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartMetafieldsSetInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartMetafieldsSetPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartNoteUpdate","description":"Updates the note on the cart.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":"The note on the cart.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartNoteUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartPaymentUpdate","description":"Update the customer's payment method that will be used to checkout.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":"The payment information for the cart that will be used at checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartPaymentInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartPaymentUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartSelectedDeliveryOptionsUpdate","description":"Update the selected delivery options for a delivery group.","args":[{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"selectedDeliveryOptions","description":"The selected delivery options.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CartSelectedDeliveryOptionInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartSelectedDeliveryOptionsUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartSubmitForCompletion","description":"Submit the cart for checkout completion.","args":[{"name":"attemptToken","description":"The attemptToken is used to guarantee an idempotent result.\nIf more than one call uses the same attemptToken within a short period of time, only one will be accepted.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cartId","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CartSubmitForCompletionPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutAttributesUpdateV2","description":"Updates the attributes of a checkout if `allowPartialAddresses` is `true`.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutAttributesUpdateV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutCompleteFree","description":"Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutCompleteFreePayload","ofType":null},"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://shopify.dev/apps/channels/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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutCompleteWithCreditCardV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":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}],"type":{"kind":"OBJECT","name":"CheckoutCompleteWithTokenizedPaymentV3Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutCreate","description":"Creates a new checkout.","args":[{"name":"input","description":"The fields used to create a checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CheckoutCreateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"queueToken","description":"The checkout queue token. Available only to selected stores.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutCreatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutCustomerAssociateV2","description":"Associates a customer to the checkout.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessToken","description":"The customer access token of the customer to associate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutCustomerAssociateV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutCustomerDisassociateV2","description":"Disassociates the current checkout customer from the checkout.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutCustomerDisassociateV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutDiscountCodeApplyV2","description":"Applies a discount to an existing checkout using a discount code.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutDiscountCodeApplyV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutDiscountCodeRemove","description":"Removes the applied discounts from an existing checkout.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutDiscountCodeRemovePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutEmailUpdateV2","description":"Updates the email on an existing checkout.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutEmailUpdateV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":null},{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutGiftCardRemoveV2Payload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutGiftCardsAppend","description":"Appends gift cards to 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,"isDeprecated":false,"deprecationReason":null},{"name":"giftCardCodes","description":"A list of gift card codes to append to the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutGiftCardsAppendPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutLineItemsAdd","description":"Adds a list of line items to a checkout.","args":[{"name":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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":"checkoutId","description":"The ID of the checkout.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CheckoutLineItemsUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkoutShippingAddressUpdateV2","description":"Updates the shipping address of 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,"isDeprecated":false,"deprecationReason":null},{"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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerAccessTokenCreatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAccessTokenCreateWithMultipass","description":"Creates a customer access token using a\n[multipass token](https://shopify.dev/api/multipass) instead of email and\npassword. A customer record is created if the customer doesn't exist. If a customer\nrecord already exists but the record is disabled, then the customer record is enabled.\n","args":[{"name":"multipassToken","description":"A valid [multipass token](https://shopify.dev/api/multipass) to be authenticated.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerActivateByUrlPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAddressCreate","description":"Creates a new address for a customer.","args":[{"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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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":"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,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Specifies the address to delete.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerAddressDeletePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerAddressUpdate","description":"Updates the address of an existing customer.","args":[{"name":"address","description":"The customer’s mailing address.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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":"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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerDefaultAddressUpdatePayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerRecover","description":"Sends a reset password email to the customer. The reset password\nemail contains a reset password URL and token that you can pass to\nthe [`customerResetByUrl`](https://shopify.dev/api/storefront/latest/mutations/customerResetByUrl) or\n[`customerReset`](https://shopify.dev/api/storefront/latest/mutations/customerReset) mutation to reset the\ncustomer password.\n\nThis mutation is throttled by IP. With private access,\nyou can provide a [`Shopify-Storefront-Buyer-IP`](https://shopify.dev/api/usage/authentication#optional-ip-header) instead of the request IP.\nThe header is case-sensitive and must be sent as `Shopify-Storefront-Buyer-IP`.\n\nMake sure that the value provided to `Shopify-Storefront-Buyer-IP` is trusted. Unthrottled access to this\nmutation presents a security risk.\n","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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerRecoverPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerReset","description":"\"Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation.\"\n","args":[{"name":"id","description":"Specifies the customer to reset.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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 a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation.\"\n","args":[{"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,"isDeprecated":false,"deprecationReason":null},{"name":"resetUrl","description":"The customer's reset password url.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerResetByUrlPayload","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerUpdate","description":"Updates an existing customer.","args":[{"name":"customer","description":"The customer object input.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerUpdateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":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 field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.\n","fields":[{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AppliedGiftCard","ofType":null},{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"Blog","ofType":null},{"kind":"OBJECT","name":"Cart","ofType":null},{"kind":"OBJECT","name":"CartLine","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":"ComponentizableCartLine","ofType":null},{"kind":"OBJECT","name":"ExternalVideo","ofType":null},{"kind":"OBJECT","name":"GenericFile","ofType":null},{"kind":"OBJECT","name":"Location","ofType":null},{"kind":"OBJECT","name":"MailingAddress","ofType":null},{"kind":"OBJECT","name":"Market","ofType":null},{"kind":"OBJECT","name":"MediaImage","ofType":null},{"kind":"OBJECT","name":"MediaPresentation","ofType":null},{"kind":"OBJECT","name":"Menu","ofType":null},{"kind":"OBJECT","name":"MenuItem","ofType":null},{"kind":"OBJECT","name":"Metafield","ofType":null},{"kind":"OBJECT","name":"Metaobject","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":"Shop","ofType":null},{"kind":"OBJECT","name":"ShopPolicy","ofType":null},{"kind":"OBJECT","name":"UrlRedirect","ofType":null},{"kind":"OBJECT","name":"Video","ofType":null}]},{"kind":"INTERFACE","name":"OnlineStorePublishable","description":"Represents a resource that can be published to the Online Store sales channel.","fields":[{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"Blog","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Metaobject","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"Product","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":"billingAddress","description":"The address associated with the payment method.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"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 aren't 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":"customAttributes","description":"A list of the custom attributes added to the order.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"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":"A globally-unique ID.","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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"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":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","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":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subtotalPriceV2","description":"Price of the order before duties, shipping and taxes.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":true,"deprecationReason":"Use `subtotalPrice` instead."},{"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,"isDeprecated":false,"deprecationReason":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, 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":"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":true,"deprecationReason":"Use `totalPrice` instead."},{"name":"totalRefunded","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":"totalRefundedV2","description":"The total amount that has been refunded.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `totalRefunded` instead."},{"name":"totalShippingPrice","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":"totalShippingPriceV2","description":"The total cost of shipping.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `totalShippingPrice` instead."},{"name":"totalTax","description":"The total cost of taxes.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalTaxV2","description":"The total cost of taxes.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":true,"deprecationReason":"Use `totalTax` instead."}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"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":"DECLINED","description":"Payment was declined.","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":"OTHER","description":"The order was canceled for an unlisted reason.","isDeprecated":false,"deprecationReason":null},{"name":"STAFF","description":"Staff made an error.","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":"nodes","description":"A list of the nodes contained in OrderEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","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},{"name":"totalCount","description":"The total count of Orders.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"UnsignedInt64","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":"AUTHORIZED","description":"Displayed as **Authorized**.","isDeprecated":false,"deprecationReason":null},{"name":"PAID","description":"Displayed as **Paid**.","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":"PENDING","description":"Displayed as **Pending**.","isDeprecated":false,"deprecationReason":null},{"name":"REFUNDED","description":"Displayed as **Refunded**.","isDeprecated":false,"deprecationReason":null},{"name":"VOIDED","description":"Displayed as **Voided**.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderFulfillmentStatus","description":"Represents the order's aggregated fulfillment status for display purposes.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"FULFILLED","description":"Displayed as **Fulfilled**. All of the items in the order have been fulfilled.","isDeprecated":false,"deprecationReason":null},{"name":"IN_PROGRESS","description":"Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service.","isDeprecated":false,"deprecationReason":null},{"name":"ON_HOLD","description":"Displayed as **On hold**. All of the unfulfilled items in this order are on hold.","isDeprecated":false,"deprecationReason":null},{"name":"OPEN","description":"Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by \"UNFULFILLED\" status.","isDeprecated":false,"deprecationReason":null},{"name":"PARTIALLY_FULFILLED","description":"Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled.","isDeprecated":false,"deprecationReason":null},{"name":"PENDING_FULFILLMENT","description":"Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by \"IN_PROGRESS\" status.","isDeprecated":false,"deprecationReason":null},{"name":"RESTOCKED","description":"Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by \"UNFULFILLED\" status.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEDULED","description":"Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time.","isDeprecated":false,"deprecationReason":null},{"name":"UNFULFILLED","description":"Displayed as **Unfulfilled**. None of the items in the order have been fulfilled.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItem","description":"Represents a single line in an order. There is one line item for each distinct product variant.","fields":[{"name":"currentQuantity","description":"The number of entries associated to the line item minus the items that have been removed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customAttributes","description":"List of custom attributes associated to the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Attribute","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountAllocations","description":"The discounts that have been allocated onto the order line item by discount applications.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DiscountAllocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedTotalPrice","description":"The total price of the line item, including discounts, and displayed in the presentment currency.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"originalTotalPrice","description":"The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it's displayed in the presentment currency.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The number of products variants associated to the line item.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the product combined with title of the variant.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"variant","description":"The product variant object associated to the line item.","args":[],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItemConnection","description":"An auto-generated type for paginating through multiple OrderLineItems.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLineItemEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in OrderLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLineItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLineItemEdge","description":"An auto-generated type which holds one OrderLineItem and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of OrderLineItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLineItem","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"OrderSortKeys","description":"The set of valid sort keys for the Order query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"PROCESSED_AT","description":"Sort by the `processed_at` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TOTAL_PRICE","description":"Sort by the `total_price` value.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Page","description":"Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.","fields":[{"name":"body","description":"The description of the page, complete with HTML formatting.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"HTML","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"bodySummary","description":"Summary of the page body.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The timestamp of the page creation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the page automatically generated from its title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The page's SEO information.","args":[],"type":{"kind":"OBJECT","name":"SEO","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The timestamp of the latest page update.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null},{"kind":"INTERFACE","name":"Trackable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageConnection","description":"An auto-generated type for paginating through multiple Pages.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in PageEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Page","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageEdge","description":"An auto-generated type which holds one Page and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of PageEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Page","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PageInfo","description":"Returns information about pagination in a connection, in accordance with the\n[Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).\nFor more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).\n","fields":[{"name":"endCursor","description":"The cursor corresponding to the last node in edges.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hasNextPage","description":"Whether there are more pages to fetch following the current page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"hasPreviousPage","description":"Whether there are any pages prior to the current page.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startCursor","description":"The cursor corresponding to the first node in edges.","args":[],"type":{"kind":"SCALAR","name":"String","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":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"Sort by the `updated_at` value.","isDeprecated":false,"deprecationReason":null}],"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":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountV2","description":"The amount of the payment.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `amount` instead."},{"name":"billingAddress","description":"The billing address for the payment.","args":[],"type":{"kind":"OBJECT","name":"MailingAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"checkout","description":"The checkout to which the payment belongs.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Checkout","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"creditCard","description":"The credit card used for the payment in the case of direct payments.","args":[],"type":{"kind":"OBJECT","name":"CreditCard","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errorMessage","description":"A message describing a processing error during asynchronous processing.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"idempotencyKey","description":"A client-side generated token to identify a payment and perform idempotent operations.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).\n","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextActionUrl","description":"The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ready","description":"Whether the payment is still processing asynchronously.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"test","description":"A flag to indicate if the payment is to be done in test mode for gateways that support it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction","description":"The actual transaction recorded by Shopify after having processed the payment with the gateway.","args":[],"type":{"kind":"OBJECT","name":"Transaction","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentSettings","description":"Settings related to payments.","fields":[{"name":"acceptedCardBrands","description":"List of the card brands which the shop accepts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CardBrand","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"cardVaultUrl","description":"The url pointing to the endpoint to vault credit cards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":"The country where the shop is located.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CountryCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":"The three-letter code for the shop's primary currency.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabledPresentmentCurrencies","description":"A list of enabled currencies (ISO 4217 format) that the shop accepts.\nMerchants can enable currencies from their Shopify Payments settings in the Shopify admin.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shopifyPaymentsAccountId","description":"The shop’s Shopify Payments account ID.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"supportedDigitalWallets","description":"List of the digital wallets which the shop supports.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DigitalWallet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PaymentTokenType","description":"The valid values for the types of payment token.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"APPLE_PAY","description":"Apple Pay token type.","isDeprecated":false,"deprecationReason":null},{"name":"GOOGLE_PAY","description":"Google Pay token type.","isDeprecated":false,"deprecationReason":null},{"name":"SHOPIFY_PAY","description":"Shopify Pay token type.","isDeprecated":false,"deprecationReason":null},{"name":"STRIPE_VAULT_TOKEN","description":"Stripe token type.","isDeprecated":false,"deprecationReason":null},{"name":"VAULT","description":"Vault payment token type.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"PredictiveSearchLimitScope","description":"Decides the distribution of results.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ALL","description":"Return results up to limit across all types.","isDeprecated":false,"deprecationReason":null},{"name":"EACH","description":"Return results up to limit per type.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"PredictiveSearchResult","description":"A predictive search result represents a list of products, collections, pages, articles, and query suggestions\nthat matches the predictive search query.\n","fields":[{"name":"articles","description":"The articles that match the search query.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Article","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"The articles that match the search query.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pages","description":"The pages that match the search query.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Page","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"The products that match the search query.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queries","description":"The query suggestions that are relevant to the search query.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchQuerySuggestion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"PredictiveSearchType","description":"The types of search items to perform predictive search on.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ARTICLE","description":"Returns matching articles.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTION","description":"Returns matching collections.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"Returns matching pages.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT","description":"Returns matching products.","isDeprecated":false,"deprecationReason":null},{"name":"QUERY","description":"Returns matching query strings.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PriceRangeFilter","description":"The input fields for a filter used to view a subset of products in a collection matching a specific price range.\n","fields":null,"inputFields":[{"name":"max","description":"The maximum price in the range. Empty indicates no max price.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"min","description":"The minimum price in the range. Defaults to zero.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":"0","isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PricingPercentageValue","description":"The value of the percentage pricing object.","fields":[{"name":"percentage","description":"The percentage value of the object.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"PricingValue","description":"The price value (fixed or percentage) for a discount application.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MoneyV2","ofType":null},{"kind":"OBJECT","name":"PricingPercentageValue","ofType":null}]},{"kind":"OBJECT","name":"Product","description":"A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.\nFor example, a digital download (such as a movie, music or ebook file) also\nqualifies as a product, as do services (such as equipment rental, work for hire,\ncustomization of another product or an extended warranty).\n","fields":[{"name":"availableForSale","description":"Indicates if at least one product variant is available for sale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"List of collections a product belongs to.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPriceRange","description":"The compare at price of the product across all variants.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductPriceRange","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":"The date and time when the product was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"Stripped description of the product, single line with HTML tags removed.","args":[{"name":"truncateAt","description":"Truncates string after the given length.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"descriptionHtml","description":"The description of the product, complete with HTML formatting.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"HTML","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredImage","description":"The featured image for the product.\n\nThis field is functionally equivalent to `images(first: 1)`.\n","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"A human-friendly unique string for the Product automatically generated from its title.\nThey are used by the Liquid templating language to refer to objects.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"images","description":"List of images associated with the product.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ProductImageSortKeys","ofType":null},"defaultValue":"POSITION","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ImageConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isGiftCard","description":"Whether the product is a gift card.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"media","description":"The media associated with the product.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ProductMediaSortKeys","ofType":null},"defaultValue":"POSITION","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MediaConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"onlineStoreUrl","description":"The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"List of product options.","args":[{"name":"first","description":"Truncate the array result to this size.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"priceRange","description":"The price range.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductPriceRange","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productType","description":"A categorization that a product can be tagged with, commonly used for filtering and searching.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publishedAt","description":"The date and time when the product was published to the channel.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanGroupConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seo","description":"The product's SEO information.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SEO","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":"A comma separated list of tags that have been added to the product.\nAdditional access scope required for private apps: unauthenticated_read_product_tags.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product’s title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalInventory","description":"The total quantity of inventory in stock for this Product.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":"The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"variantBySelectedOptions","description":"Find a product’s variant based on its selected options.\nThis is useful for converting a user’s selection of product options into a single matching variant.\nIf there is not a variant for the selected options, `null` will be returned.\n","args":[{"name":"selectedOptions","description":"The input fields used for a selected option.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SelectedOptionInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"List of the product’s variants.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ProductVariantSortKeys","ofType":null},"defaultValue":"POSITION","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"vendor","description":"The product’s vendor name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"OnlineStorePublishable","ofType":null},{"kind":"INTERFACE","name":"Trackable","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":"BEST_SELLING","description":"Sort by the `best-selling` value.","isDeprecated":false,"deprecationReason":null},{"name":"COLLECTION_DEFAULT","description":"Sort by the `collection-default` 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":"PRICE","description":"Sort by the `price` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"ProductConnection","description":"An auto-generated type for paginating through multiple Products.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":"A list of available filters.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Filter","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in ProductEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductEdge","description":"An auto-generated type which holds one Product and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of ProductEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilter","description":"The input fields for a filter used to view a subset of products in a collection.\nBy default, the `available` and `price` filters are enabled. Filters are customized with the Shopify Search & Discovery app.\nLearn more about [customizing storefront filtering](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters).\n","fields":null,"inputFields":[{"name":"available","description":"Filter on if the product is available for sale.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"A range of prices to filter with-in.","type":{"kind":"INPUT_OBJECT","name":"PriceRangeFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productMetafield","description":"A product metafield to filter on.","type":{"kind":"INPUT_OBJECT","name":"MetafieldFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productType","description":"The product type to filter on.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productVendor","description":"The product vendor to filter on.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tag","description":"A product tag to filter on.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variantMetafield","description":"A variant metafield to filter on.","type":{"kind":"INPUT_OBJECT","name":"MetafieldFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"variantOption","description":"A variant option to filter on.","type":{"kind":"INPUT_OBJECT","name":"VariantOptionFilter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"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":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"POSITION","description":"Sort by the `position` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ProductMediaSortKeys","description":"The set of valid sort keys for the ProductMedia query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"POSITION","description":"Sort by the `position` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\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":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The product option’s name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":"The corresponding value to the product option name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductPriceRange","description":"The price range of the product.","fields":[{"name":"maxVariantPrice","description":"The highest variant's price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"minVariantPrice","description":"The lowest variant's price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductRecommendationIntent","description":"The recommendation intent that is used to generate product recommendations.\nYou can use intent to generate product recommendations according to different strategies.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"COMPLEMENTARY","description":"Offer customers products that are complementary to a product for which recommendations are to be fetched. An example is add-on products that display in a Pair it with section.","isDeprecated":false,"deprecationReason":null},{"name":"RELATED","description":"Offer customers a mix of products that are similar or complementary to a product for which recommendations are to be fetched. An example is substitutable products that display in a You may also like section.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ProductSortKeys","description":"The set of valid sort keys for the Product query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BEST_SELLING","description":"Sort by the `best_selling` value.","isDeprecated":false,"deprecationReason":null},{"name":"CREATED_AT","description":"Sort by the `created_at` value.","isDeprecated":false,"deprecationReason":null},{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"PRICE","description":"Sort by the `price` value.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_TYPE","description":"Sort by the `product_type` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","isDeprecated":false,"deprecationReason":null},{"name":"UPDATED_AT","description":"Sort by the `updated_at` value.","isDeprecated":false,"deprecationReason":null},{"name":"VENDOR","description":"Sort by the `vendor` value.","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.\n","fields":[{"name":"availableForSale","description":"Indicates if the product variant is available for sale.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"barcode","description":"The barcode (for example, ISBN, UPC, or GTIN) associated with the variant.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPrice","description":"The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"compareAtPriceV2","description":"The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":true,"deprecationReason":"Use `compareAtPrice` instead."},{"name":"currentlyNotInStock","description":"Whether a product is out of stock but still available for purchase (used for backorders).","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"image","description":"Image associated with the product variant. This field falls back to the product image if no image is available.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"The product variant’s price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceV2","description":"The product variant’s price.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `price` instead."},{"name":"product","description":"The product object that the product variant belongs to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":"The total sellable quantity of the variant for online sales channels.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresShipping","description":"Whether a customer needs to provide a shipping address when placing an order for the product variant.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"selectedOptions","description":"List of product options applied to the variant.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SelectedOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"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":"storeAvailability","description":"The in-store pickup availability of this variant by location.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"near","description":"Used to sort results based on proximity to the provided location.","type":{"kind":"INPUT_OBJECT","name":"GeoCoordinateInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StoreAvailabilityConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The product variant’s title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The unit price value for the variant based on the variant's measurement.","args":[],"type":{"kind":"OBJECT","name":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceMeasurement","description":"The unit price measurement for the variant.","args":[],"type":{"kind":"OBJECT","name":"UnitPriceMeasurement","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"weight","description":"The weight of the product variant in the unit system specified with `weight_unit`.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"weightUnit","description":"Unit of measurement for weight.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"WeightUnit","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantConnection","description":"An auto-generated type for paginating through multiple ProductVariants.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in ProductVariantEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantEdge","description":"An auto-generated type which holds one ProductVariant and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of ProductVariantEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"ProductVariantSortKeys","description":"The set of valid sort keys for the ProductVariant query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ID","description":"Sort by the `id` value.","isDeprecated":false,"deprecationReason":null},{"name":"POSITION","description":"Sort by the `position` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n","isDeprecated":false,"deprecationReason":null},{"name":"SKU","description":"Sort by the `sku` value.","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Sort by the `title` value.","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":"article","description":"Fetch a specific Article by its ID.","args":[{"name":"id","description":"The ID of the `Article`.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Article","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"articles","description":"List of the shop's articles.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `tag_not`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ArticleSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ArticleConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"blog","description":"Fetch a specific `Blog` by one of its unique attributes.","args":[{"name":"handle","description":"The handle of the `Blog`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the `Blog`.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Blog","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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Blog","ofType":null},"isDeprecated":true,"deprecationReason":"Use `blog` instead."},{"name":"blogs","description":"List of the shop's blogs.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"BlogSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"BlogConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cart","description":"Retrieve a cart by its ID. For more information, refer to\n[Manage a cart with the Storefront API](https://shopify.dev/custom-storefronts/cart/manage).\n","args":[{"name":"id","description":"The ID of the cart.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Cart","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"cartCompletionAttempt","description":"A poll for the status of the cart checkout completion and order creation.\n","args":[{"name":"attemptId","description":"The ID of the attempt.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"CartCompletionAttemptResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Fetch a specific `Collection` by one of its unique attributes.","args":[{"name":"handle","description":"The handle of the `Collection`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the `Collection`.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collectionByHandle","description":"Find a collection by its handle.","args":[{"name":"handle","description":"The handle of the collection.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":true,"deprecationReason":"Use `collection` instead."},{"name":"collections","description":"List of the shop’s collections.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `collection_type`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"CollectionSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":"The customer associated with the given access token. Tokens are obtained by using the\n[`customerAccessTokenCreate` mutation](https://shopify.dev/docs/api/storefront/latest/mutations/customerAccessTokenCreate).\n","args":[{"name":"customerAccessToken","description":"The customer access token.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"OBJECT","name":"Localization","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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\n","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"near","description":"Used to sort results based on proximity to the provided location.","type":{"kind":"INPUT_OBJECT","name":"GeoCoordinateInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"LocationSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocationConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"menu","description":"Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle.","args":[{"name":"handle","description":"The navigation menu's handle.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Menu","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metaobject","description":"Fetch a specific Metaobject by one of its unique identifiers.","args":[{"name":"handle","description":"The handle and type of the metaobject.","type":{"kind":"INPUT_OBJECT","name":"MetaobjectHandleInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the metaobject.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metaobject","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metaobjects","description":"All active metaobjects for the shop.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"The key of a field to sort with. Supports \"id\" and \"updated_at\".","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of metaobject to retrieve.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetaobjectConnection","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,"isDeprecated":false,"deprecationReason":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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"page","description":"Fetch a specific `Page` by one of its unique attributes.","args":[{"name":"handle","description":"The handle of the `Page`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the `Page`.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Page","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,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Page","ofType":null},"isDeprecated":true,"deprecationReason":"Use `page` instead."},{"name":"pages","description":"List of the shop's pages.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"PageSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"predictiveSearch","description":"List of the predictive search results.","args":[{"name":"limit","description":"Limits the number of results based on `limit_scope`. The value can range from 1 to 10, and the default is 10.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"limitScope","description":"Decides the distribution of results.","type":{"kind":"ENUM","name":"PredictiveSearchLimitScope","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"The search query.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"searchableFields","description":"Specifies the list of resource fields to use for search. The default fields searched on are TITLE, PRODUCT_TYPE, VARIANT_TITLE, and VENDOR. For the best search experience, you should search on the default field set.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"SearchableField","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"The types of resources to search for.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"PredictiveSearchType","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unavailableProducts","description":"Specifies how unavailable products are displayed in the search results.","type":{"kind":"ENUM","name":"SearchUnavailableProductsType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PredictiveSearchResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Fetch a specific `Product` by one of its unique attributes.","args":[{"name":"handle","description":"The handle of the `Product`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The ID of the `Product`.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productByHandle","description":"Find a product by its handle.","args":[{"name":"handle","description":"A unique string that identifies the product. Handles are automatically\ngenerated based on the product's title, and are always lowercase. Whitespace\nand special characters are replaced with a hyphen: `-`. If there are\nmultiple consecutive whitespace or special characters, then they're replaced\nwith a single hyphen. Whitespace or special characters at the beginning are\nremoved. If a duplicate product title is used, then the handle is\nauto-incremented by one. For example, if you had two products called\n`Potion`, then their handles would be `potion` and `potion-1`. After a\nproduct has been created, changing the product title doesn't update the handle.\n","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":true,"deprecationReason":"Use `product` instead."},{"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":"intent","description":"The recommendation intent that is used to generate product recommendations. You can use intent to generate product recommendations on various pages across the channels, according to different strategies.","type":{"kind":"ENUM","name":"ProductRecommendationIntent","ofType":null},"defaultValue":"RELATED","isDeprecated":false,"deprecationReason":null},{"name":"productId","description":"The id of the product.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"productTags","description":"Tags added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n","args":[{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productTypes","description":"List of product types for the shop's products that are published to your app.","args":[{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `available_for_sale`\n - `created_at`\n - `product_type`\n - `tag`\n - `tag_not`\n - `title`\n - `updated_at`\n - `variants.price`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"ProductSortKeys","ofType":null},"defaultValue":"ID","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"publicApiVersions","description":"The list of public Storefront API versions, including supported, release candidate and unstable versions.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ApiVersion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"List of the search results.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"prefix","description":"Specifies whether to perform a partial word match on the last search term.","type":{"kind":"ENUM","name":"SearchPrefixQueryType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productFilters","description":"Returns a subset of products matching all product filters.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"The search query.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":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":"sortKey","description":"Sort the underlying list by the given key.","type":{"kind":"ENUM","name":"SearchSortKeys","ofType":null},"defaultValue":"RELEVANCE","isDeprecated":false,"deprecationReason":null},{"name":"types","description":"The types of resources to search for.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"SearchType","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"unavailableProducts","description":"Specifies how unavailable products are displayed in the search results.","type":{"kind":"ENUM","name":"SearchUnavailableProductsType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResultItemConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shop","description":"The shop associated with the storefront access token.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Shop","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"urlRedirects","description":"A list of redirects for a shop.","args":[{"name":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"query","description":"Supported filter parameters:\n - `created_at`\n - `path`\n - `target`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UrlRedirectConnection","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SEO","description":"SEO information.","fields":[{"name":"description","description":"The meta description.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The SEO title.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ScriptDiscountApplication","description":"Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script.\n","fields":[{"name":"allocationMethod","description":"The method by which the discount's value is allocated to its entitled items.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationAllocationMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetSelection","description":"Which lines of targetType that the discount is allocated over.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetSelection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"targetType","description":"The type of line that the discount is applicable towards.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DiscountApplicationTargetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the application as defined by the Script.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the discount application.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"PricingValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DiscountApplication","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchPrefixQueryType","description":"Specifies whether to perform a partial word match on the last search term.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"LAST","description":"Perform a partial word match on the last search term.","isDeprecated":false,"deprecationReason":null},{"name":"NONE","description":"Don't perform a partial word match on the last search term.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SearchQuerySuggestion","description":"A search query suggestion.","fields":[{"name":"styledText","description":"The text of the search query suggestion with highlighted HTML tags.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"text","description":"The text of the search query suggestion.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Trackable","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultItem","description":"A search result that matches the search query.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null}]},{"kind":"OBJECT","name":"SearchResultItemConnection","description":"An auto-generated type for paginating through multiple SearchResultItems.\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":"SearchResultItemEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in SearchResultItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultItem","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},{"name":"productFilters","description":"A list of available filters.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Filter","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalCount","description":"The total number of results.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultItemEdge","description":"An auto-generated type which holds one SearchResultItem 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 SearchResultItemEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultItem","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SearchSortKeys","description":"The set of valid sort keys for the search query.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PRICE","description":"Sort by the `price` value.","isDeprecated":false,"deprecationReason":null},{"name":"RELEVANCE","description":"Sort by relevance to the search terms.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SearchType","description":"The types of search items to perform search within.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ARTICLE","description":"Returns matching articles.","isDeprecated":false,"deprecationReason":null},{"name":"PAGE","description":"Returns matching pages.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT","description":"Returns matching products.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SearchUnavailableProductsType","description":"Specifies whether to display results for unavailable products.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"HIDE","description":"Exclude unavailable products.","isDeprecated":false,"deprecationReason":null},{"name":"LAST","description":"Show unavailable products after all other matching results. This is the default.","isDeprecated":false,"deprecationReason":null},{"name":"SHOW","description":"Show unavailable products in the order that they're found.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SearchableField","description":"Specifies the list of resource fields to search.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AUTHOR","description":"Author of the page or article.","isDeprecated":false,"deprecationReason":null},{"name":"BODY","description":"Body of the page or article or product description or collection description.","isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_TYPE","description":"Product type.","isDeprecated":false,"deprecationReason":null},{"name":"TAG","description":"Tag associated with the product or article.","isDeprecated":false,"deprecationReason":null},{"name":"TITLE","description":"Title of the page or article or product title or collection title.","isDeprecated":false,"deprecationReason":null},{"name":"VARIANTS_BARCODE","description":"Variant barcode.","isDeprecated":false,"deprecationReason":null},{"name":"VARIANTS_SKU","description":"Variant SKU.","isDeprecated":false,"deprecationReason":null},{"name":"VARIANTS_TITLE","description":"Variant title.","isDeprecated":false,"deprecationReason":null},{"name":"VENDOR","description":"Product vendor.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SelectedOption","description":"Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.\n","fields":[{"name":"name","description":"The product option’s name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The product option’s value.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SelectedOptionInput","description":"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,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The product option’s value.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlan","description":"Represents how products and variants can be sold and purchased.","fields":[{"name":"checkoutCharge","description":"The initial payment due for the purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanCheckoutCharge","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"The description of the selling plan.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","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 selling plan. For example, '6 weeks of prepaid granola, delivered weekly'.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":"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. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"priceAdjustments","description":"The price adjustments that a selling plan makes when a variant is purchased with a selling plan.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanPriceAdjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"recurringDeliveries","description":"Whether purchasing the selling plan will result in multiple deliveries.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"checkoutChargeAmount","description":"The checkout charge amount due for the purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanAllocationPriceAdjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"remainingBalanceChargeAmount","description":"The remaining balance charge amount due for the purchase.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"SellingPlan","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlanAllocationConnection","description":"An auto-generated type for paginating through multiple SellingPlanAllocations.\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":"SellingPlanAllocationEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in SellingPlanAllocationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanAllocation","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":"SellingPlanAllocationEdge","description":"An auto-generated type which holds one SellingPlanAllocation 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 SellingPlanAllocationEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","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":"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":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":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":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":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":"MoneyV2","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlanCheckoutCharge","description":"The initial payment due for the purchase.","fields":[{"name":"type","description":"The charge type for the checkout charge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"SellingPlanCheckoutChargeType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The charge value for the checkout charge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SellingPlanCheckoutChargeValue","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellingPlanCheckoutChargePercentageValue","description":"The percentage value of the price used for checkout charge.","fields":[{"name":"percentage","description":"The percentage value of the price used for checkout charge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SellingPlanCheckoutChargeType","description":"The checkout charge when the full amount isn't charged at checkout.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PERCENTAGE","description":"The checkout charge is a percentage of the product or variant price.","isDeprecated":false,"deprecationReason":null},{"name":"PRICE","description":"The checkout charge is a fixed price amount.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"UNION","name":"SellingPlanCheckoutChargeValue","description":"The portion of the price to be charged at checkout.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MoneyV2","ofType":null},{"kind":"OBJECT","name":"SellingPlanCheckoutChargePercentageValue","ofType":null}]},{"kind":"OBJECT","name":"SellingPlanConnection","description":"An auto-generated type for paginating through multiple SellingPlans.\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":"SellingPlanEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in SellingPlanEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlan","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":"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":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of SellingPlanEdge.","args":[],"type":{"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":"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":"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":"appName","description":"A display friendly name for the app that created the selling plan group.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The name of the selling plan group.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":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":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanGroupOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"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":"after","description":"Returns the elements that come after the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":"Returns the elements that come before the specified cursor.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"first","description":"Returns up to the first `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"last","description":"Returns up to the last `n` elements from the list.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reverse","description":"Reverse the order of the underlying list.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","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":"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":"SellingPlanGroupEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in SellingPlanGroupEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellingPlanGroup","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":"SellingPlanGroupEdge","description":"An auto-generated type which holds one SellingPlanGroup 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 SellingPlanGroupEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"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.\n\nIndividual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.","fields":[{"name":"name","description":"The name of the option. For example, 'Delivery every'.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"LIST","name":null,"ofType":{"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":"SellingPlanOption","description":"An option provided by a Selling Plan.","fields":[{"name":"name","description":"The name of the option (ie \"Delivery every\").","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"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. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price.","fields":[{"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":"UNION","name":"SellingPlanPriceAdjustmentValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":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","description":"A shipping rate to be applied to a checkout.","fields":[{"name":"handle","description":"Human-readable unique identifier for this shipping rate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"Price of this shipping rate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceV2","description":"Price of this shipping rate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `price` instead."},{"name":"title","description":"Title of this shipping rate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Shop","description":"Shop represents a collection of the general settings and information about the shop.","fields":[{"name":"brand","description":"The shop's branding configuration.","args":[],"type":{"kind":"OBJECT","name":"Brand","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":"A description of the shop.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metafield","description":"Returns a metafield found by namespace and key.","args":[{"name":"key","description":"The identifier for the metafield.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"namespace","description":"The container the metafield belongs to. If omitted, the app-reserved namespace will be used.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Metafield","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metafields","description":"The metafields associated with the resource matching the supplied list of namespaces and keys.","args":[{"name":"identifiers","description":"The list of metafields to retrieve by namespace and key.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HasMetafieldsIdentifier","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"Metafield","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"moneyFormat","description":"A string representing the way currency is formatted when the currency isn’t specified.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"The shop’s name.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentSettings","description":"Settings related to payments.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentSettings","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"primaryDomain","description":"The primary domain of the shop’s Online Store.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Domain","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"privacyPolicy","description":"The shop’s privacy policy.","args":[],"type":{"kind":"OBJECT","name":"ShopPolicy","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundPolicy","description":"The shop’s refund policy.","args":[],"type":{"kind":"OBJECT","name":"ShopPolicy","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingPolicy","description":"The shop’s shipping policy.","args":[],"type":{"kind":"OBJECT","name":"ShopPolicy","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shipsToCountries","description":"Countries that the shop ships to.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CountryCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionPolicy","description":"The shop’s subscription policy.","args":[],"type":{"kind":"OBJECT","name":"ShopPolicyWithDefault","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"termsOfService","description":"The shop’s terms of service.","args":[],"type":{"kind":"OBJECT","name":"ShopPolicy","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"HasMetafields","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShopPayWalletContentInput","description":"The input fields for submitting Shop Pay payment method information for checkout.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The customer's billing address.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sessionToken","description":"Session token for transaction.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShopPolicy","description":"Policy that a merchant has configured for their store, such as their refund or privacy policy.","fields":[{"name":"body","description":"Policy text, maximum size of 64kb.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"Policy’s handle.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"Policy’s title.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Public URL to the policy.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShopPolicyWithDefault","description":"A policy for the store that comes with a default value, such as a subscription policy.\nIf the merchant hasn't configured a policy for their store, then the policy will return the default value.\nOtherwise, the policy will return the merchant-configured value.\n","fields":[{"name":"body","description":"The text of the policy. Maximum size: 64KB.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"handle","description":"The handle of the policy.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"The unique ID of the policy. A default policy doesn't have an ID.","args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":"The title of the policy.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"Public URL to the policy.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"URL","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StoreAvailability","description":"The availability of a product variant at a particular location.\nLocal pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result.\n","fields":[{"name":"available","description":"Whether the 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},{"name":"quantityAvailable","description":"The quantity of the product variant in-stock at this location.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"nodes","description":"A list of the nodes contained in StoreAvailabilityEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StoreAvailability","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","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringConnection","description":"An auto-generated type for paginating through a list of Strings.\n","fields":[{"name":"edges","description":"A list of edges.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"pageInfo","description":"Information to aid in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringEdge","description":"An auto-generated type which holds one String and a cursor during pagination.\n","fields":[{"name":"cursor","description":"A cursor for use in pagination.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"node","description":"The item at the end of StringEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubmissionError","description":"An error that occurred during cart submit for completion.","fields":[{"name":"code","description":"The error code.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"SubmissionErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"SubmissionErrorCode","description":"The code of the error that occurred during cart submit for completion.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"BUYER_IDENTITY_EMAIL_IS_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BUYER_IDENTITY_EMAIL_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BUYER_IDENTITY_PHONE_IS_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS1_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS1_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS1_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS2_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS2_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS2_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ADDRESS_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_CITY_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_CITY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_CITY_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_COMPANY_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_COMPANY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_COMPANY_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_COUNTRY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_FIRST_NAME_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_FIRST_NAME_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_FIRST_NAME_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_INVALID_POSTAL_CODE_FOR_COUNTRY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_INVALID_POSTAL_CODE_FOR_ZONE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_LAST_NAME_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_LAST_NAME_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_LAST_NAME_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_NO_DELIVERY_AVAILABLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_NO_DELIVERY_AVAILABLE_FOR_MERCHANDISE_LINE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_OPTIONS_PHONE_NUMBER_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_OPTIONS_PHONE_NUMBER_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_PHONE_NUMBER_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_PHONE_NUMBER_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_POSTAL_CODE_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_POSTAL_CODE_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ZONE_NOT_FOUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DELIVERY_ZONE_REQUIRED_FOR_COUNTRY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MERCHANDISE_LINE_LIMIT_REACHED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MERCHANDISE_NOT_APPLICABLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MERCHANDISE_NOT_ENOUGH_STOCK_AVAILABLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MERCHANDISE_OUT_OF_STOCK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MERCHANDISE_PRODUCT_NOT_PUBLISHED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_DELIVERY_GROUP_SELECTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS1_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS1_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS1_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS2_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS2_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_ADDRESS2_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_BILLING_ADDRESS_ZONE_NOT_FOUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_BILLING_ADDRESS_ZONE_REQUIRED_FOR_COUNTRY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CITY_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CITY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CITY_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_COMPANY_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_COMPANY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_COMPANY_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_COUNTRY_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_BASE_EXPIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_BASE_GATEWAY_NOT_SUPPORTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_BASE_INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_BRAND_NOT_SUPPORTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_FIRST_NAME_BLANK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_GENERIC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_LAST_NAME_BLANK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_MONTH_INCLUSION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_NAME_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_NUMBER_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_NUMBER_INVALID_FORMAT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_SESSION_ID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_BLANK","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_YEAR_EXPIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_CREDIT_CARD_YEAR_INVALID_EXPIRY_YEAR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_FIRST_NAME_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_FIRST_NAME_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_FIRST_NAME_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_INVALID_POSTAL_CODE_FOR_COUNTRY","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_INVALID_POSTAL_CODE_FOR_ZONE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_LAST_NAME_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_LAST_NAME_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_LAST_NAME_TOO_LONG","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_METHOD_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_METHOD_UNAVAILABLE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_PHONE_NUMBER_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_PHONE_NUMBER_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_POSTAL_CODE_INVALID","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_POSTAL_CODE_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_SHOPIFY_PAYMENTS_REQUIRED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_UNACCEPTABLE_PAYMENT_AMOUNT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENTS_WALLET_CONTENT_MISSING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAXES_DELIVERY_GROUP_ID_NOT_FOUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAXES_LINE_ID_NOT_FOUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAXES_MUST_BE_DEFINED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"SubmitAlreadyAccepted","description":"Cart submit for checkout completion is successful.","fields":[{"name":"attemptId","description":"The ID of the cart completion attempt that will be used for polling for the result.","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":"SubmitFailed","description":"Cart submit for checkout completion failed.","fields":[{"name":"checkoutUrl","description":"The URL of the checkout for the cart.","args":[],"type":{"kind":"SCALAR","name":"URL","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errors","description":"The list of errors that occurred from executing the mutation.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SubmissionError","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SubmitSuccess","description":"Cart submit for checkout completion is already accepted.","fields":[{"name":"attemptId","description":"The ID of the cart completion attempt that will be used for polling for the result.","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":"SubmitThrottled","description":"Cart submit for checkout completion is throttled.","fields":[{"name":"pollAfter","description":"UTC date time string that indicates the time after which clients should make their next\npoll request. Any poll requests sent before this time will be ignored. Use this value to schedule the\nnext poll request.\n","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TokenizedPaymentInputV3","description":"Specifies the fields required to complete a checkout with\na tokenized payment.\n","fields":null,"inputFields":[{"name":"billingAddress","description":"The billing address for the payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MailingAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"idempotencyKey","description":"A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":"Public Hash Key used for AndroidPay payments only.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentAmount","description":"The amount and currency of the payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MoneyInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentData","description":"A simple string or JSON containing the required payment data for the tokenized payment.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"test","description":"Whether to execute the payment in test mode, if possible. Test mode isn't supported in production stores. Defaults to `false`.","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null},{"name":"type","description":"The type of payment token.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"PaymentTokenType","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Trackable","description":"Represents a resource that you can track the origin of the search traffic.","fields":[{"name":"trackingParameters","description":"A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Article","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Page","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"SearchQuerySuggestion","ofType":null}]},{"kind":"OBJECT","name":"Transaction","description":"An object representing exchange of money for a product or service.","fields":[{"name":"amount","description":"The amount of money that the transaction was for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountV2","description":"The amount of money that the transaction was for.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MoneyV2","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `amount` instead."},{"name":"kind","description":"The kind of the transaction.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"TransactionKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"status","description":"The status of the transaction.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"TransactionStatus","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `statusV2` instead."},{"name":"statusV2","description":"The status of the transaction.","args":[],"type":{"kind":"ENUM","name":"TransactionStatus","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"test","description":"Whether the transaction was done in test mode or not.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"TransactionKind","description":"The different kinds of order transactions.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AUTHORIZATION","description":"An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.\n","isDeprecated":false,"deprecationReason":null},{"name":"CAPTURE","description":"A transfer of the money that was reserved during the authorization stage.","isDeprecated":false,"deprecationReason":null},{"name":"CHANGE","description":"Money returned to the customer when they have paid too much.","isDeprecated":false,"deprecationReason":null},{"name":"EMV_AUTHORIZATION","description":"An authorization for a payment taken with an EMV credit card reader.","isDeprecated":false,"deprecationReason":null},{"name":"SALE","description":"An authorization and capture performed together in a single step.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"TransactionStatus","description":"Transaction statuses describe the status of a transaction.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ERROR","description":"There was an error while processing the transaction.","isDeprecated":false,"deprecationReason":null},{"name":"FAILURE","description":"The transaction failed.","isDeprecated":false,"deprecationReason":null},{"name":"PENDING","description":"The transaction is pending.","isDeprecated":false,"deprecationReason":null},{"name":"SUCCESS","description":"The transaction succeeded.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"SCALAR","name":"URL","description":"Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\n\nFor example, `\"https://johns-apparel.myshopify.com\"` is a valid URL. It includes a scheme (`https`) and a host\n(`johns-apparel.myshopify.com`).\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UnitPriceMeasurement","description":"The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).\n","fields":[{"name":"measuredType","description":"The type of unit of measurement for the unit price measurement.","args":[],"type":{"kind":"ENUM","name":"UnitPriceMeasurementMeasuredType","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantityUnit","description":"The quantity unit for the unit price measurement.","args":[],"type":{"kind":"ENUM","name":"UnitPriceMeasurementMeasuredUnit","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"quantityValue","description":"The quantity value for the unit price measurement.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"referenceUnit","description":"The reference unit for the unit price measurement.","args":[],"type":{"kind":"ENUM","name":"UnitPriceMeasurementMeasuredUnit","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"referenceValue","description":"The reference value for the unit price measurement.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"UnitPriceMeasurementMeasuredType","description":"The accepted types of unit of measurement.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AREA","description":"Unit of measurements representing areas.","isDeprecated":false,"deprecationReason":null},{"name":"LENGTH","description":"Unit of measurements representing lengths.","isDeprecated":false,"deprecationReason":null},{"name":"VOLUME","description":"Unit of measurements representing volumes.","isDeprecated":false,"deprecationReason":null},{"name":"WEIGHT","description":"Unit of measurements representing weights.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"UnitPriceMeasurementMeasuredUnit","description":"The valid units of measurement for a unit price measurement.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CL","description":"100 centiliters equals 1 liter.","isDeprecated":false,"deprecationReason":null},{"name":"CM","description":"100 centimeters equals 1 meter.","isDeprecated":false,"deprecationReason":null},{"name":"G","description":"Metric system unit of weight.","isDeprecated":false,"deprecationReason":null},{"name":"KG","description":"1 kilogram equals 1000 grams.","isDeprecated":false,"deprecationReason":null},{"name":"L","description":"Metric system unit of volume.","isDeprecated":false,"deprecationReason":null},{"name":"M","description":"Metric system unit of length.","isDeprecated":false,"deprecationReason":null},{"name":"M2","description":"Metric system unit of area.","isDeprecated":false,"deprecationReason":null},{"name":"M3","description":"1 cubic meter equals 1000 liters.","isDeprecated":false,"deprecationReason":null},{"name":"MG","description":"1000 milligrams equals 1 gram.","isDeprecated":false,"deprecationReason":null},{"name":"ML","description":"1000 milliliters equals 1 liter.","isDeprecated":false,"deprecationReason":null},{"name":"MM","description":"1000 millimeters equals 1 meter.","isDeprecated":false,"deprecationReason":null}],"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":"SCALAR","name":"UnsignedInt64","description":"An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.\n\nExample value: `\"50\"`.\n","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UrlRedirect","description":"A redirect on the online store.","fields":[{"name":"id","description":"The ID of the URL redirect.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"path","description":"The old path to be redirected from. When the user visits this path, they'll be redirected to the target location.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"target","description":"The target location where the user will be redirected to.","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":"UrlRedirectConnection","description":"An auto-generated type for paginating through multiple UrlRedirects.\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":"UrlRedirectEdge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":"A list of the nodes contained in UrlRedirectEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UrlRedirect","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":"UrlRedirectEdge","description":"An auto-generated type which holds one UrlRedirect 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 UrlRedirectEdge.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"UrlRedirect","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"UserError","description":"Represents an error in the input of a mutation.","fields":[{"name":"field","description":"The path to the input field that caused the error.","args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":"The error message.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"DisplayableError","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"VariantOptionFilter","description":"The input fields for a filter used to view a subset of products in a collection matching a specific variant option.","fields":null,"inputFields":[{"name":"name","description":"The name of the variant option to filter on.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"The value of the variant option to filter on.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Video","description":"Represents a Shopify hosted video.","fields":[{"name":"alt","description":"A word or phrase to share the nature or contents of a media.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"A globally-unique ID.","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":"presentation","description":"The presentation for a media.","args":[],"type":{"kind":"OBJECT","name":"MediaPresentation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"previewImage","description":"The preview image for the media.","args":[],"type":{"kind":"OBJECT","name":"Image","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sources","description":"The sources for a video.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"VideoSource","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Media","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VideoSource","description":"Represents a source for a Shopify hosted video.","fields":[{"name":"format","description":"The format of the video source.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":"The height of the video.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":"The video MIME type.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"url","description":"The URL of the video.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":"The width of the video.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"WeightUnit","description":"Units of measurement for weight.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"GRAMS","description":"Metric system unit of mass.","isDeprecated":false,"deprecationReason":null},{"name":"KILOGRAMS","description":"1 kilogram equals 1000 grams.","isDeprecated":false,"deprecationReason":null},{"name":"OUNCES","description":"Imperial system unit of mass.","isDeprecated":false,"deprecationReason":null},{"name":"POUNDS","description":"1 pound equals 16 ounces.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"accessRestricted","description":"Marks an element of a GraphQL schema as having restricted access.","isRepeatable":false,"locations":["FIELD_DEFINITION","OBJECT"],"args":[{"name":"reason","description":"Explains the reason around this restriction","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"null","isDeprecated":false,"deprecationReason":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","isRepeatable":false,"locations":["ARGUMENT_DEFINITION","ENUM_VALUE","FIELD_DEFINITION","INPUT_FIELD_DEFINITION"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\"","isDeprecated":false,"deprecationReason":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 a product's price](https://shopify.dev/custom-storefronts/internationalization/international-pricing) in a storefront within the context of Canada.","isRepeatable":false,"locations":["MUTATION","QUERY"],"args":[{"name":"country","description":"The country code for context. For example, `CA`.","type":{"kind":"ENUM","name":"CountryCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"language","description":"The language code for context. For example, `EN`.","type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preferredLocationId","description":"The identifier of the customer's preferred location.","type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","isRepeatable":false,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Requires that exactly one field must be supplied and that field must not be `null`.","isRepeatable":false,"locations":["INPUT_OBJECT"],"args":[]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","isRepeatable":false,"locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","isRepeatable":false,"locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]}]}} \ No newline at end of file +{ + "__schema": { + "queryType": {"name": "QueryRoot"}, + "mutationType": {"name": "Mutation"}, + "subscriptionType": null, + "types": [ + { + "kind": "OBJECT", + "name": "ApiVersion", + "description": "A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning).\nVersions are commonly referred to by their handle (for example, `2021-10`).\n", + "fields": [ + { + "name": "displayName", + "description": "The human-readable name of the version.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supported", + "description": "Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ApplePayWalletContentInput", + "description": "The input fields for submitting Apple Pay payment method information for checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The customer's billing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "data", + "description": "The data for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "header", + "description": "The header data for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ApplePayWalletHeaderInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastDigits", + "description": "The last digits of the card used to create the payment.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "signature", + "description": "The signature for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "The version for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ApplePayWalletHeaderInput", + "description": "The input fields for submitting wallet payment method information for checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "applicationData", + "description": "The application data for the Apple Pay wallet.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ephemeralPublicKey", + "description": "The ephemeral public key for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicKeyHash", + "description": "The public key hash for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transactionId", + "description": "The transaction ID for the Apple Pay wallet.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AppliedGiftCard", + "description": "Details about the gift card used on the checkout.", + "fields": [ + { + "name": "amountUsed", + "description": "The amount that was taken from the gift card by applying it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "amountUsedV2", + "description": "The amount that was taken from the gift card by applying it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `amountUsed` instead." + }, + { + "name": "balance", + "description": "The amount left on the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "balanceV2", + "description": "The amount left on the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `balance` instead." + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastCharacters", + "description": "The last characters of the gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentmentAmountUsed", + "description": "The amount that was applied to the checkout in its currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Article", + "description": "An article in an online store blog.", + "fields": [ + { + "name": "author", + "description": "The article's author.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArticleAuthor", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `authorV2` instead." + }, + { + "name": "authorV2", + "description": "The article's author.", + "args": [], + "type": {"kind": "OBJECT", "name": "ArticleAuthor", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blog", + "description": "The blog that the article belongs to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Blog", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "comments", + "description": "List of comments posted on the article.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CommentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "content", + "description": "Stripped content of the article, single line with HTML tags removed.", + "args": [ + { + "name": "truncateAt", + "description": "Truncates string after the given length.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contentHtml", + "description": "The content of the article, complete with HTML formatting.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "excerpt", + "description": "Stripped excerpt of the article, single line with HTML tags removed.", + "args": [ + { + "name": "truncateAt", + "description": "Truncates string after the given length.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "excerptHtml", + "description": "The excerpt of the article, complete with HTML formatting.", + "args": [], + "type": {"kind": "SCALAR", "name": "HTML", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "A human-friendly unique string for the Article automatically generated from its title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "The image associated with the article.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publishedAt", + "description": "The date and time when the article was published.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The article’s SEO information.", + "args": [], + "type": {"kind": "OBJECT", "name": "SEO", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "A categorization that a article can be tagged with.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The article’s name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + }, + {"kind": "INTERFACE", "name": "Trackable", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ArticleAuthor", + "description": "The author of an article.", + "fields": [ + { + "name": "bio", + "description": "The author's bio.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The author’s email.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The author's first name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The author's last name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The author's full name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ArticleConnection", + "description": "An auto-generated type for paginating through multiple Articles.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArticleEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ArticleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Article", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ArticleEdge", + "description": "An auto-generated type which holds one Article and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of ArticleEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Article", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ArticleSortKeys", + "description": "The set of valid sort keys for the Article query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHOR", + "description": "Sort by the `author` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BLOG_TITLE", + "description": "Sort by the `blog_title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PUBLISHED_AT", + "description": "Sort by the `published_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Attribute", + "description": "Represents a generic custom attribute.", + "fields": [ + { + "name": "key", + "description": "Key or name of the attribute.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "Value of the attribute.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "description": "The input fields for an attribute.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "Key or name of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "Value of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AutomaticDiscountApplication", + "description": "Automatic discount applications capture the intentions of a discount that was automatically applied.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AvailableShippingRates", + "description": "A collection of available shipping rates for a checkout.", + "fields": [ + { + "name": "ready", + "description": "Whether or not the shipping rates are ready.\nThe `shippingRates` field is `null` when this value is `false`.\nThis field should be polled until its value becomes `true`.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingRates", + "description": "The fetched shipping rates. `null` until the `ready` field is `true`.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ShippingRate", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "BaseCartLine", + "description": "Represents a cart line common fields.", + "fields": [ + { + "name": "attribute", + "description": "An attribute associated with the cart line.", + "args": [ + { + "name": "key", + "description": "The key of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Attribute", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "attributes", + "description": "The attributes associated with the cart line. Attributes are represented as key-value pairs.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cost", + "description": "The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineCost", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedCost", + "description": "The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineEstimatedCost", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `cost` instead." + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchandise", + "description": "The merchandise that the buyer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "UNION", "name": "Merchandise", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the merchandise that the customer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanAllocation", + "description": "The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SellingPlanAllocation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "CartLine", "ofType": null}, + {"kind": "OBJECT", "name": "ComponentizableCartLine", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "BaseCartLineConnection", + "description": "An auto-generated type for paginating through multiple BaseCartLines.\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": "BaseCartLineEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in BaseCartLineEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "BaseCartLine", + "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": "BaseCartLineEdge", + "description": "An auto-generated type which holds one BaseCartLine 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 BaseCartLineEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "BaseCartLine", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Blog", + "description": "An online store blog.", + "fields": [ + { + "name": "articleByHandle", + "description": "Find an article by its handle.", + "args": [ + { + "name": "handle", + "description": "The handle of the article.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Article", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "articles", + "description": "List of the blog's articles.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `tag_not`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ArticleSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArticleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "authors", + "description": "The authors who have contributed to the blog.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArticleAuthor", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "A human-friendly unique string for the Blog automatically generated from its title.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The blog's SEO information.", + "args": [], + "type": {"kind": "OBJECT", "name": "SEO", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The blogs’s title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BlogConnection", + "description": "An auto-generated type for paginating through multiple Blogs.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlogEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in BlogEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Blog", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BlogEdge", + "description": "An auto-generated type which holds one Blog and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of BlogEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Blog", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "BlogSortKeys", + "description": "The set of valid sort keys for the Blog query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "HANDLE", + "description": "Sort by the `handle` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Brand", + "description": "The store's [branding configuration](https://help.shopify.com/en/manual/promoting-marketing/managing-brand-assets).\n", + "fields": [ + { + "name": "colors", + "description": "The colors of the store's brand.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BrandColors", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "coverImage", + "description": "The store's cover image.", + "args": [], + "type": {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "logo", + "description": "The store's default logo.", + "args": [], + "type": {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shortDescription", + "description": "The store's short description.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slogan", + "description": "The store's slogan.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "squareLogo", + "description": "The store's preferred logo for square UI elements.", + "args": [], + "type": {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BrandColorGroup", + "description": "A group of related colors for the shop's brand.\n", + "fields": [ + { + "name": "background", + "description": "The background color.", + "args": [], + "type": {"kind": "SCALAR", "name": "Color", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "foreground", + "description": "The foreground color.", + "args": [], + "type": {"kind": "SCALAR", "name": "Color", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BrandColors", + "description": "The colors of the shop's brand.\n", + "fields": [ + { + "name": "primary", + "description": "The shop's primary brand colors.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BrandColorGroup", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "secondary", + "description": "The shop's secondary brand colors.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BrandColorGroup", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CardBrand", + "description": "Card brand, such as Visa or Mastercard, which can be used for payments.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AMERICAN_EXPRESS", + "description": "American Express.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DINERS_CLUB", + "description": "Diners Club.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOVER", + "description": "Discover.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JCB", + "description": "JCB.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MASTERCARD", + "description": "Mastercard.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VISA", + "description": "Visa.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Cart", + "description": "A cart represents the merchandise that a buyer intends to purchase,\nand the estimated cost associated with the cart. Learn how to\n[interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nduring a customer's session.\n", + "fields": [ + { + "name": "attribute", + "description": "An attribute associated with the cart.", + "args": [ + { + "name": "key", + "description": "The key of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Attribute", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "attributes", + "description": "The attributes associated with the cart. Attributes are represented as key-value pairs.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerIdentity", + "description": "Information about the buyer that's interacting with the cart.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartBuyerIdentity", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUrl", + "description": "The URL of the checkout for the cart.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cost", + "description": "The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "CartCost", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the cart was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryGroups", + "description": "The delivery groups available for the cart, based on the buyer identity default\ndelivery address preference or the default address of the logged-in customer.\n", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartDeliveryGroupConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been applied to the entire cart.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountCodes", + "description": "The case-insensitive discount codes that the customer added at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartDiscountCode", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedCost", + "description": "The estimated costs that the buyer will pay at checkout. The estimated costs are subject to change and changes will be reflected at checkout. The `estimatedCost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartEstimatedCost", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `cost` instead." + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "A list of lines containing information about the items the customer intends to purchase.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BaseCartLineConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "A note that's associated with the cart. For example, the note can be a personalized message to the buyer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalQuantity", + "description": "The total number of items in the cart.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the cart was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartAttributesUpdatePayload", + "description": "Return type for `cartAttributesUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartAutomaticDiscountAllocation", + "description": "The discounts automatically applied to the cart line based on prerequisites that have been met.", + "fields": [ + { + "name": "discountedAmount", + "description": "The discounted amount that has been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the allocated discount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartBuyerIdentity", + "description": "Represents information about the buyer that is interacting with the cart.", + "fields": [ + { + "name": "countryCode", + "description": "The country where the buyer is located.", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The customer account associated with the cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryAddressPreferences", + "description": "An ordered set of delivery addresses tied to the buyer that is interacting with the cart.\nThe rank of the preferences is determined by the order of the addresses in the array. Preferences\ncan be used to populate relevant fields in the checkout flow.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "DeliveryAddress", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the buyer that's interacting with the cart.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the buyer that's interacting with the cart.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "walletPreferences", + "description": "A set of wallet preferences tied to the buyer that is interacting with the cart.\nPreferences can be used to populate relevant payment fields in the checkout flow.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartBuyerIdentityInput", + "description": "Specifies the input fields to update the buyer information associated with a cart.\nBuyer identity is used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nand should match the customer's shipping address.\n", + "fields": null, + "inputFields": [ + { + "name": "countryCode", + "description": "The country where the buyer is located.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "The access token used to identify the customer associated with the cart.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryAddressPreferences", + "description": "An ordered set of delivery addresses tied to the buyer that is interacting with the cart.\nThe rank of the preferences is determined by the order of the addresses in the array. Preferences\ncan be used to populate relevant fields in the checkout flow.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DeliveryAddressInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email address of the buyer that is interacting with the cart.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the buyer that is interacting with the cart.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "walletPreferences", + "description": "A set of wallet preferences tied to the buyer that is interacting with the cart.\nPreferences can be used to populate relevant payment fields in the checkout flow.\n Accepted value: `[\"shop_pay\"]`.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartBuyerIdentityUpdatePayload", + "description": "Return type for `cartBuyerIdentityUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CartCardSource", + "description": "Represents how credit card details are provided for a direct payment.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SAVED_CREDIT_CARD", + "description": "The credit card was provided by a third party and vaulted on their system.\nUsing this value requires a separate permission from Shopify.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartCodeDiscountAllocation", + "description": "The discount that has been applied to the cart line using a discount code.", + "fields": [ + { + "name": "code", + "description": "The code used to apply the discount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountedAmount", + "description": "The discounted amount that has been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "CartCompletionAction", + "description": "The completion action to checkout a cart.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "CompletePaymentChallenge", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "CartCompletionActionRequired", + "description": "The required completion action to checkout a cart.", + "fields": [ + { + "name": "action", + "description": "The action required to complete the cart completion attempt.", + "args": [], + "type": { + "kind": "UNION", + "name": "CartCompletionAction", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the cart completion attempt.", + "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": "UNION", + "name": "CartCompletionAttemptResult", + "description": "The result of a cart completion attempt.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "CartCompletionActionRequired", + "ofType": null + }, + {"kind": "OBJECT", "name": "CartCompletionFailed", "ofType": null}, + { + "kind": "OBJECT", + "name": "CartCompletionProcessing", + "ofType": null + }, + {"kind": "OBJECT", "name": "CartCompletionSuccess", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "CartCompletionFailed", + "description": "A failed completion to checkout a cart.", + "fields": [ + { + "name": "errors", + "description": "The errors that caused the checkout to fail.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompletionError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the cart completion attempt.", + "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": "CartCompletionProcessing", + "description": "A cart checkout completion that's still processing.", + "fields": [ + { + "name": "id", + "description": "The ID of the cart completion attempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pollDelay", + "description": "The number of milliseconds to wait before polling again.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartCompletionSuccess", + "description": "A successful completion to checkout a cart and a created order.", + "fields": [ + { + "name": "completedAt", + "description": "The date and time when the job completed.", + "args": [], + "type": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the cart completion attempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderId", + "description": "The ID of the order that's created in Shopify.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderUrl", + "description": "The URL of the order confirmation in Shopify.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartCost", + "description": "The costs that the buyer will pay at checkout.\nThe cart cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).\n", + "fields": [ + { + "name": "checkoutChargeAmount", + "description": "The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to `subtotalAmount`.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalAmount", + "description": "The amount, before taxes and cart-level discounts, for the customer to pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalAmountEstimated", + "description": "Whether the subtotal amount is estimated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total amount for the customer to pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmountEstimated", + "description": "Whether the total amount is estimated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutyAmount", + "description": "The duty amount for the customer to pay at checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutyAmountEstimated", + "description": "Whether the total duty amount is estimated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The tax amount for the customer to pay at checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmountEstimated", + "description": "Whether the total tax amount is estimated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartCreatePayload", + "description": "Return type for `cartCreate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The new cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartCustomDiscountAllocation", + "description": "The discounts automatically applied to the cart line based on prerequisites that have been met.", + "fields": [ + { + "name": "discountedAmount", + "description": "The discounted amount that has been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the allocated discount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartDeliveryGroup", + "description": "Information about the options available for one or more line items to be delivered to a specific address.", + "fields": [ + { + "name": "cartLines", + "description": "A list of cart lines for the delivery group.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BaseCartLineConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryAddress", + "description": "The destination address for the delivery group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryOptions", + "description": "The delivery options available for the delivery group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartDeliveryOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID for the delivery group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "selectedDeliveryOption", + "description": "The selected delivery option for the delivery group.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CartDeliveryOption", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartDeliveryGroupConnection", + "description": "An auto-generated type for paginating through multiple CartDeliveryGroups.\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": "CartDeliveryGroupEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CartDeliveryGroupEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartDeliveryGroup", + "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": "CartDeliveryGroupEdge", + "description": "An auto-generated type which holds one CartDeliveryGroup 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 CartDeliveryGroupEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartDeliveryGroup", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartDeliveryOption", + "description": "Information about a delivery option.", + "fields": [ + { + "name": "code", + "description": "The code of the delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryMethodType", + "description": "The method for the delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DeliveryMethodType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedCost", + "description": "The estimated cost for the delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The unique identifier of the delivery option.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the delivery option.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartDirectPaymentMethodInput", + "description": "The input fields for submitting direct payment method information for checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The customer's billing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cardSource", + "description": "The source of the credit card payment.", + "type": {"kind": "ENUM", "name": "CartCardSource", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionId", + "description": "The session ID for the direct payment method used to create the payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "description": "The discounts that have been applied to the cart line.", + "fields": [ + { + "name": "discountedAmount", + "description": "The discounted amount that has been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "CartAutomaticDiscountAllocation", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CartCodeDiscountAllocation", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "CartCustomDiscountAllocation", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "CartDiscountCode", + "description": "The discount codes applied to the cart.", + "fields": [ + { + "name": "applicable", + "description": "Whether the discount code is applicable to the cart's current contents.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": "The code for the discount.", + "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": "CartDiscountCodesUpdatePayload", + "description": "Return type for `cartDiscountCodesUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CartErrorCode", + "description": "Possible error codes that can be returned by `CartUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_DELIVERY_GROUP", + "description": "Delivery group was not found in cart.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_DELIVERY_OPTION", + "description": "Delivery option was not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_MERCHANDISE_LINE", + "description": "Merchandise line was not found in cart.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_METAFIELDS", + "description": "The metafields were not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_PAYMENT", + "description": "The payment wasn't valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_PAYMENT_EMPTY_CART", + "description": "Cannot update payment on an empty cart", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LESS_THAN", + "description": "The input value should be less than the maximum value allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISSING_DISCOUNT_CODE", + "description": "Missing discount code.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISSING_NOTE", + "description": "Missing note.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_METHOD_NOT_SUPPORTED", + "description": "The payment method is not supported.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VALIDATION_CUSTOM", + "description": "Validation failed.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartEstimatedCost", + "description": "The estimated costs that the buyer will pay at checkout. The estimated cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).", + "fields": [ + { + "name": "checkoutChargeAmount", + "description": "The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalAmount", + "description": "The estimated amount, before taxes and discounts, for the customer to pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The estimated total amount for the customer to pay.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDutyAmount", + "description": "The estimated duty amount for the customer to pay at checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxAmount", + "description": "The estimated tax amount for the customer to pay at checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartFreePaymentMethodInput", + "description": "The input fields for submitting a billing address without a selected payment method.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The customer's billing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartInput", + "description": "The input fields to create a cart.", + "fields": null, + "inputFields": [ + { + "name": "attributes", + "description": "An array of key-value pairs that contains additional information about the cart.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerIdentity", + "description": "The customer associated with the cart. Used to determine [international pricing]\n(https://shopify.dev/custom-storefronts/internationalization/international-pricing).\nBuyer identity should match the customer's shipping address.\n", + "type": { + "kind": "INPUT_OBJECT", + "name": "CartBuyerIdentityInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountCodes", + "description": "The case-insensitive discount codes that the customer added at checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "A list of merchandise lines to add to the cart.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartLineInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields to associate with this cart.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartInputMetafieldInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "A note that's associated with the cart. For example, the note can be a personalized message to the buyer.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartInputMetafieldInput", + "description": "The input fields for a cart metafield value to set.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The key name of the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of data that the cart metafield stores.\nThe type of data must be a [supported type](https://shopify.dev/apps/metafields/types).\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartLine", + "description": "Represents information about the merchandise in the cart.", + "fields": [ + { + "name": "attribute", + "description": "An attribute associated with the cart line.", + "args": [ + { + "name": "key", + "description": "The key of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Attribute", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "attributes", + "description": "The attributes associated with the cart line. Attributes are represented as key-value pairs.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cost", + "description": "The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineCost", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedCost", + "description": "The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineEstimatedCost", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `cost` instead." + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchandise", + "description": "The merchandise that the buyer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "UNION", "name": "Merchandise", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the merchandise that the customer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanAllocation", + "description": "The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SellingPlanAllocation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "BaseCartLine", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartLineCost", + "description": "The cost of the merchandise line that the buyer will pay at checkout.", + "fields": [ + { + "name": "amountPerQuantity", + "description": "The amount of the merchandise line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "compareAtAmountPerQuantity", + "description": "The compare at amount of the merchandise line.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalAmount", + "description": "The cost of the merchandise line before line-level discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The total cost of the merchandise line.", + "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": "CartLineEstimatedCost", + "description": "The estimated cost of the merchandise line that the buyer will pay at checkout.\n", + "fields": [ + { + "name": "amount", + "description": "The amount of the merchandise line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "compareAtAmount", + "description": "The compare at amount of the merchandise line.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalAmount", + "description": "The estimated cost of the merchandise line before discounts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalAmount", + "description": "The estimated total cost of the merchandise line.", + "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": "INPUT_OBJECT", + "name": "CartLineInput", + "description": "The input fields to create a merchandise line on a cart.", + "fields": null, + "inputFields": [ + { + "name": "attributes", + "description": "An array of key-value pairs that contains additional information about the merchandise line.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchandiseId", + "description": "The ID of the merchandise that the buyer intends to purchase.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the merchandise.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanId", + "description": "The ID of the selling plan that the merchandise is being purchased with.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartLineUpdateInput", + "description": "The input fields to update a line item on a cart.", + "fields": null, + "inputFields": [ + { + "name": "attributes", + "description": "An array of key-value pairs that contains additional information about the merchandise line.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the merchandise line.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchandiseId", + "description": "The ID of the merchandise for the line item.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the line item.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanId", + "description": "The ID of the selling plan that the merchandise is being purchased with.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartLinesAddPayload", + "description": "Return type for `cartLinesAdd` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartLinesRemovePayload", + "description": "Return type for `cartLinesRemove` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartLinesUpdatePayload", + "description": "Return type for `cartLinesUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartMetafieldDeleteInput", + "description": "The input fields to delete a cart metafield.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The key name of the cart metafield. Can either be a composite key (`namespace.key`) or a simple key\n that relies on the default app-reserved namespace.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ownerId", + "description": "The ID of the cart resource.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartMetafieldDeletePayload", + "description": "Return type for `cartMetafieldDelete` mutation.", + "fields": [ + { + "name": "deletedId", + "description": "The ID of the deleted cart metafield.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MetafieldDeleteUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartMetafieldsSetInput", + "description": "The input fields for a cart metafield value to set.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The key name of the cart metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ownerId", + "description": "The ID of the cart resource.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of data that the cart metafield stores.\nThe type of data must be a [supported type](https://shopify.dev/apps/metafields/types).\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartMetafieldsSetPayload", + "description": "Return type for `cartMetafieldsSet` mutation.", + "fields": [ + { + "name": "metafields", + "description": "The list of cart metafields that were set.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MetafieldsSetUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartNoteUpdatePayload", + "description": "Return type for `cartNoteUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartPaymentInput", + "description": "The input fields for updating the payment method that will be used to checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "amount", + "description": "The amount that the customer will be charged at checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directPaymentMethod", + "description": "The input fields to use when checking out a cart with a direct payment method (like a credit card).\n", + "type": { + "kind": "INPUT_OBJECT", + "name": "CartDirectPaymentMethodInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "freePaymentMethod", + "description": "The input fields to use to checkout a cart without providing a payment method.\nUse this payment method input if the total cost of the cart is 0.\n", + "type": { + "kind": "INPUT_OBJECT", + "name": "CartFreePaymentMethodInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sourceIdentifier", + "description": "An ID of the order placed on the originating platform.\nNote that this value doesn't correspond to the Shopify Order ID.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "walletPaymentMethod", + "description": "The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay).\n", + "type": { + "kind": "INPUT_OBJECT", + "name": "CartWalletPaymentMethodInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartPaymentUpdatePayload", + "description": "Return type for `cartPaymentUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartSelectedDeliveryOptionInput", + "description": "The input fields for updating the selected delivery options for a delivery group.\n", + "fields": null, + "inputFields": [ + { + "name": "deliveryGroupId", + "description": "The ID of the cart delivery group.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryOptionHandle", + "description": "The handle of the selected delivery option.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartSelectedDeliveryOptionsUpdatePayload", + "description": "Return type for `cartSelectedDeliveryOptionsUpdate` mutation.", + "fields": [ + { + "name": "cart", + "description": "The updated cart.", + "args": [], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CartSubmitForCompletionPayload", + "description": "Return type for `cartSubmitForCompletion` mutation.", + "fields": [ + { + "name": "result", + "description": "The result of cart submission for completion.", + "args": [], + "type": { + "kind": "UNION", + "name": "CartSubmitForCompletionResult", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "CartSubmitForCompletionResult", + "description": "The result of cart submit completion.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "SubmitAlreadyAccepted", "ofType": null}, + {"kind": "OBJECT", "name": "SubmitFailed", "ofType": null}, + {"kind": "OBJECT", "name": "SubmitSuccess", "ofType": null}, + {"kind": "OBJECT", "name": "SubmitThrottled", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "CartUserError", + "description": "Represents an error that happens during execution of a cart mutation.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": {"kind": "ENUM", "name": "CartErrorCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CartWalletPaymentMethodInput", + "description": "The input fields for submitting wallet payment method information for checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "applePayWalletContent", + "description": "The payment method information for the Apple Pay wallet.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ApplePayWalletContentInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopPayWalletContent", + "description": "The payment method information for the Shop Pay wallet.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ShopPayWalletContentInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Checkout", + "description": "A container for all the information required to checkout items and pay.", + "fields": [ + { + "name": "appliedGiftCards", + "description": "The gift cards used on the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AppliedGiftCard", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "availableShippingRates", + "description": "The available shipping rates for this Checkout.\nShould only be used when checkout `requiresShipping` is `true` and\nthe shipping address is valid.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "AvailableShippingRates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": {"kind": "SCALAR", "name": "DateTime", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the checkout was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The currency code for the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "A list of extra information that's added to the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountApplications", + "description": "Discounts that have been applied on the checkout.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountApplicationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email attached to this checkout.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "A list of line item objects, each one containing information about an item in the checkout.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemsSubtotalPrice", + "description": "The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "The note associated with the checkout.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "order", + "description": "The resulting order from a paid checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "Order", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderStatusUrl", + "description": "The Order status page for this Checkout, null when checkout isn't completed.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentDue", + "description": "The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentDueV2", + "description": "The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `paymentDue` instead." + }, + { + "name": "ready", + "description": "Whether or not the Checkout is ready and can be completed. Checkouts may\nhave asynchronous operations that can take time to finish. If you want\nto complete a checkout or ensure all the fields are populated and up to\ndate, polling is required until the value is true.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "States whether or not the fulfillment requires shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The shipping address to where the line items will be shipped.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingDiscountAllocations", + "description": "The discounts that have been allocated onto the shipping line by discount applications.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingLine", + "description": "Once a shipping rate is selected by the customer it's transitioned to a `shipping_line` object.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShippingRate", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPrice", + "description": "The price at checkout before shipping and taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPriceV2", + "description": "The price at checkout before duties, shipping, and taxes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `subtotalPrice` instead." + }, + { + "name": "taxExempt", + "description": "Whether the checkout is tax exempt.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "taxesIncluded", + "description": "Whether taxes are included in the line item and shipping line prices.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalDuties", + "description": "The sum of all the duties applied to the line items in the checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPrice", + "description": "The sum of all the prices of all the items in the checkout, including taxes and duties.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalPriceV2", + "description": "The sum of all the prices of all the items in the checkout, including taxes and duties.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `totalPrice` instead." + }, + { + "name": "totalTax", + "description": "The sum of all the taxes applied to the line items and shipping lines in the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxV2", + "description": "The sum of all the taxes applied to the line items and shipping lines in the checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `totalTax` instead." + }, + { + "name": "updatedAt", + "description": "The date and time when the checkout was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "webUrl", + "description": "The url pointing to the checkout accessible from the web.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutAttributesUpdateV2Input", + "description": "The input fields required to update a checkout's attributes.", + "fields": null, + "inputFields": [ + { + "name": "allowPartialAddresses", + "description": "Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of the addresses is still done at completion time. Defaults to `false` with \neach operation.\n", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "A list of extra information that's added to the checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "The text of an optional note that a shop owner can attach to the checkout.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutAttributesUpdateV2Payload", + "description": "Return type for `checkoutAttributesUpdateV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "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": "The input fields for 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCompleteFreePayload", + "description": "Return type for `checkoutCompleteFree` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCompleteWithCreditCardV2Payload", + "description": "Return type for `checkoutCompleteWithCreditCardV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The checkout on which the payment was applied.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "payment", + "description": "A representation of the attempted payment.", + "args": [], + "type": {"kind": "OBJECT", "name": "Payment", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", + "description": "Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The checkout on which the payment was applied.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "payment", + "description": "A representation of the attempted payment.", + "args": [], + "type": {"kind": "OBJECT", "name": "Payment", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutCreateInput", + "description": "The input fields required to create a checkout.", + "fields": null, + "inputFields": [ + { + "name": "allowPartialAddresses", + "description": "Allows setting partial addresses on a Checkout, skipping the full validation of attributes.\nThe required attributes are city, province, and country.\nFull validation of addresses is still done at completion time. Defaults to `null`.\n", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "buyerIdentity", + "description": "The identity of the customer associated with the checkout.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CheckoutBuyerIdentityInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "A list of extra information that's added to the checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The email with which the customer wants to checkout.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "A list of line item objects, each one containing information about an item in the checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutLineItemInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "The text of an optional note that a shop owner can attach to the checkout.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingAddress", + "description": "The shipping address to where the line items will be shipped.", + "type": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCreatePayload", + "description": "Return type for `checkoutCreate` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The new checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCustomerAssociateV2Payload", + "description": "Return type for `checkoutCustomerAssociateV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The associated customer object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutCustomerDisassociateV2Payload", + "description": "Return type for `checkoutCustomerDisassociateV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutDiscountCodeApplyV2Payload", + "description": "Return type for `checkoutDiscountCodeApplyV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutDiscountCodeRemovePayload", + "description": "Return type for `checkoutDiscountCodeRemove` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutEmailUpdateV2Payload", + "description": "Return type for `checkoutEmailUpdateV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The checkout object with the updated email.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CheckoutErrorCode", + "description": "Possible error codes that can be returned by `CheckoutUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALREADY_COMPLETED", + "description": "Checkout is already completed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BAD_DOMAIN", + "description": "Input email contains an invalid domain name.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BLANK", + "description": "The input value is blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE", + "description": "Cart does not meet discount requirements notice.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE", + "description": "Customer already used once per customer discount notice.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_ALREADY_APPLIED", + "description": "Discount already applied.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_CODE_APPLICATION_FAILED", + "description": "Discount code isn't working right now. Please contact us for help.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_DISABLED", + "description": "Discount disabled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_EXPIRED", + "description": "Discount expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_LIMIT_REACHED", + "description": "Discount limit reached.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISCOUNT_NOT_FOUND", + "description": "Discount not found.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMPTY", + "description": "Checkout is already completed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPIRED_QUEUE_TOKEN", + "description": "Queue token has expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_ALREADY_APPLIED", + "description": "Gift card has already been applied.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_CODE_INVALID", + "description": "Gift card code is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_CURRENCY_MISMATCH", + "description": "Gift card currency does not match checkout currency.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_DEPLETED", + "description": "Gift card has no funds left.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_DISABLED", + "description": "Gift card is disabled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_EXPIRED", + "description": "Gift card is expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_NOT_FOUND", + "description": "Gift card was not found.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIFT_CARD_UNUSABLE", + "description": "Gift card cannot be applied to a checkout that contains a gift card.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GREATER_THAN_OR_EQUAL_TO", + "description": "The input value should be greater than or equal to the minimum value allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HIGHER_VALUE_DISCOUNT_APPLIED", + "description": "Higher value discount applied.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_COUNTRY_AND_CURRENCY", + "description": "Cannot specify country and presentment currency code.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY", + "description": "Input Zip is invalid for country provided.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_FOR_COUNTRY_AND_PROVINCE", + "description": "Input Zip is invalid for country and province provided.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_PROVINCE_IN_COUNTRY", + "description": "Invalid province in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_QUEUE_TOKEN", + "description": "Queue token is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_REGION_IN_COUNTRY", + "description": "Invalid region in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_STATE_IN_COUNTRY", + "description": "Invalid state in country.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LESS_THAN", + "description": "The input value should be less than the maximum value allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LESS_THAN_OR_EQUAL_TO", + "description": "The input value should be less than or equal to the maximum value allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LINE_ITEM_NOT_FOUND", + "description": "Line item was not found in checkout.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LOCKED", + "description": "Checkout is locked.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED", + "description": "Maximum number of discount codes limit reached.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISSING_PAYMENT_INPUT", + "description": "Missing payment input.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_ENOUGH_IN_STOCK", + "description": "Not enough in stock.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_SUPPORTED", + "description": "Input value is not supported.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRESENT", + "description": "The input value needs to be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT_NOT_AVAILABLE", + "description": "Product is not published for this customer.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING_RATE_EXPIRED", + "description": "Shipping rate expired.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "THROTTLED_DURING_CHECKOUT", + "description": "Throttled during checkout.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The input value is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE_MISMATCH", + "description": "The amount of the payment does not match the value to be paid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNABLE_TO_APPLY", + "description": "Unable to apply discount.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutGiftCardRemoveV2Payload", + "description": "Return type for `checkoutGiftCardRemoveV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutGiftCardsAppendPayload", + "description": "Return type for `checkoutGiftCardsAppend` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "description": "A single line item in the checkout, grouped by variant and attributes.", + "fields": [ + { + "name": "customAttributes", + "description": "Extra information in the form of an array of Key-Value pairs about the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been allocated onto the checkout line item by discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "Title of the line item. Defaults to the product's title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPrice", + "description": "Unit price of the line item.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variant", + "description": "Product variant of the line item.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemConnection", + "description": "An auto-generated type for paginating through multiple CheckoutLineItems.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CheckoutLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemEdge", + "description": "An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of CheckoutLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutLineItemInput", + "description": "The input fields to create a line item on a checkout.", + "fields": null, + "inputFields": [ + { + "name": "customAttributes", + "description": "Extra information in the form of an array of Key-Value pairs about the line item.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the line item.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantId", + "description": "The ID of the product variant for the line item.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CheckoutLineItemUpdateInput", + "description": "The input fields to update a line item on the checkout.", + "fields": null, + "inputFields": [ + { + "name": "customAttributes", + "description": "Extra information in the form of an array of Key-Value pairs about the line item.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the line item.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the line item.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantId", + "description": "The variant ID of the line item.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemsAddPayload", + "description": "Return type for `checkoutLineItemsAdd` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemsRemovePayload", + "description": "Return type for `checkoutLineItemsRemove` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemsReplacePayload", + "description": "Return type for `checkoutLineItemsReplace` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutLineItemsUpdatePayload", + "description": "Return type for `checkoutLineItemsUpdate` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutShippingAddressUpdateV2Payload", + "description": "Return type for `checkoutShippingAddressUpdateV2` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutShippingLineUpdatePayload", + "description": "Return type for `checkoutShippingLineUpdate` mutation.", + "fields": [ + { + "name": "checkout", + "description": "The updated checkout object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CheckoutUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `checkoutUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CheckoutUserError", + "description": "Represents an error that happens during execution of a checkout mutation.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "CheckoutErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Collection", + "description": "A collection represents a grouping of products that a shop owner can create to\norganize them or make their shops easier to browse.\n", + "fields": [ + { + "name": "description", + "description": "Stripped description of the collection, single line with HTML tags removed.", + "args": [ + { + "name": "truncateAt", + "description": "Truncates string after the given length.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "descriptionHtml", + "description": "The description of the collection, complete with HTML formatting.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "A human-friendly unique string for the collection automatically generated from its title.\nLimit of 255 characters.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "Image associated with the collection.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "products", + "description": "List of products in the collection.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "filters", + "description": "Returns a subset of products matching all product filters.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ProductFilter", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ProductCollectionSortKeys", + "ofType": null + }, + "defaultValue": "COLLECTION_DEFAULT", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The collection's SEO information.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "SEO", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The collection’s name. Limit of 255 characters.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the collection was last modified.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + }, + {"kind": "INTERFACE", "name": "Trackable", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CollectionConnection", + "description": "An auto-generated type for paginating through multiple Collections.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CollectionEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CollectionEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Collection", + "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 + }, + { + "name": "totalCount", + "description": "The total count of Collections.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UnsignedInt64", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CollectionEdge", + "description": "An auto-generated type which holds one Collection and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of CollectionEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Collection", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CollectionSortKeys", + "description": "The set of valid sort keys for the Collection query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Color", + "description": "A string containing a hexadecimal representation of a color.\n\nFor example, \"#6A8D48\".\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Comment", + "description": "A comment on an article.", + "fields": [ + { + "name": "author", + "description": "The comment’s author.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CommentAuthor", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "content", + "description": "Stripped content of the comment, single line with HTML tags removed.", + "args": [ + { + "name": "truncateAt", + "description": "Truncates string after the given length.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contentHtml", + "description": "The content of the comment, complete with HTML formatting.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommentAuthor", + "description": "The author of a comment.", + "fields": [ + { + "name": "email", + "description": "The author's email.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The author’s name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommentConnection", + "description": "An auto-generated type for paginating through multiple Comments.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CommentEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in CommentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Comment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CommentEdge", + "description": "An auto-generated type which holds one Comment and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of CommentEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Comment", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompletePaymentChallenge", + "description": "The action for the 3DS payment redirect.", + "fields": [ + { + "name": "redirectUrl", + "description": "The URL for the 3DS payment redirect.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CompletionError", + "description": "An error that occurred during a cart completion attempt.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CompletionErrorCode", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CompletionErrorCode", + "description": "The code of the error that occurred during a cart completion attempt.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVENTORY_RESERVATION_ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_AMOUNT_TOO_SMALL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_CALL_ISSUER", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_CARD_DECLINED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_GATEWAY_NOT_ENABLED_ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INSUFFICIENT_FUNDS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INVALID_BILLING_ADDRESS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INVALID_CREDIT_CARD", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INVALID_CURRENCY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_INVALID_PAYMENT_METHOD", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENT_TRANSIENT_ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentizableCartLine", + "description": "Represents information about the grouped merchandise in the cart.", + "fields": [ + { + "name": "attribute", + "description": "An attribute associated with the cart line.", + "args": [ + { + "name": "key", + "description": "The key of the attribute.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Attribute", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "attributes", + "description": "The attributes associated with the cart line. Attributes are represented as key-value pairs.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cost", + "description": "The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineCost", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been applied to the cart line.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "CartDiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimatedCost", + "description": "The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLineEstimatedCost", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `cost` instead." + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineComponents", + "description": "The components of the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CartLine", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "merchandise", + "description": "The merchandise that the buyer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "UNION", "name": "Merchandise", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The quantity of the merchandise that the customer intends to purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sellingPlanAllocation", + "description": "The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "SellingPlanAllocation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "BaseCartLine", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Country", + "description": "A country.", + "fields": [ + { + "name": "availableLanguages", + "description": "The languages available for the country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Language", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "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": "market", + "description": "The market that includes this country.", + "args": [], + "type": {"kind": "OBJECT", "name": "Market", "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": "The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AC", + "description": "Ascension Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AD", + "description": "Andorra.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AE", + "description": "United Arab Emirates.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AF", + "description": "Afghanistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AG", + "description": "Antigua & Barbuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AI", + "description": "Anguilla.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AL", + "description": "Albania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AM", + "description": "Armenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AN", + "description": "Netherlands Antilles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AO", + "description": "Angola.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AR", + "description": "Argentina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AT", + "description": "Austria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AU", + "description": "Australia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AW", + "description": "Aruba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AX", + "description": "Åland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZ", + "description": "Azerbaijan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BA", + "description": "Bosnia & Herzegovina.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BB", + "description": "Barbados.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BD", + "description": "Bangladesh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BE", + "description": "Belgium.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BF", + "description": "Burkina Faso.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BG", + "description": "Bulgaria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BH", + "description": "Bahrain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BI", + "description": "Burundi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BJ", + "description": "Benin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BL", + "description": "St. Barthélemy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BM", + "description": "Bermuda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BN", + "description": "Brunei.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BO", + "description": "Bolivia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BQ", + "description": "Caribbean Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BR", + "description": "Brazil.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BS", + "description": "Bahamas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BT", + "description": "Bhutan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BV", + "description": "Bouvet Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BW", + "description": "Botswana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BY", + "description": "Belarus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BZ", + "description": "Belize.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA", + "description": "Canada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CC", + "description": "Cocos (Keeling) Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CD", + "description": "Congo - Kinshasa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CF", + "description": "Central African Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CG", + "description": "Congo - Brazzaville.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CH", + "description": "Switzerland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CI", + "description": "Côte d’Ivoire.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CK", + "description": "Cook Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CL", + "description": "Chile.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CM", + "description": "Cameroon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CN", + "description": "China.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CO", + "description": "Colombia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CR", + "description": "Costa Rica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CU", + "description": "Cuba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CV", + "description": "Cape Verde.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CW", + "description": "Curaçao.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CX", + "description": "Christmas Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CY", + "description": "Cyprus.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CZ", + "description": "Czechia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DE", + "description": "Germany.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DJ", + "description": "Djibouti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DK", + "description": "Denmark.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DM", + "description": "Dominica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DO", + "description": "Dominican Republic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZ", + "description": "Algeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EC", + "description": "Ecuador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EE", + "description": "Estonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EG", + "description": "Egypt.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EH", + "description": "Western Sahara.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ER", + "description": "Eritrea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ES", + "description": "Spain.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ET", + "description": "Ethiopia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FI", + "description": "Finland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FJ", + "description": "Fiji.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FK", + "description": "Falkland Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FO", + "description": "Faroe Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FR", + "description": "France.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GA", + "description": "Gabon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GB", + "description": "United Kingdom.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GD", + "description": "Grenada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GE", + "description": "Georgia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GF", + "description": "French Guiana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GG", + "description": "Guernsey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GH", + "description": "Ghana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GI", + "description": "Gibraltar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GL", + "description": "Greenland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GM", + "description": "Gambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GN", + "description": "Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GP", + "description": "Guadeloupe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GQ", + "description": "Equatorial Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GR", + "description": "Greece.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GS", + "description": "South Georgia & South Sandwich Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GT", + "description": "Guatemala.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GW", + "description": "Guinea-Bissau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GY", + "description": "Guyana.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HK", + "description": "Hong Kong SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HM", + "description": "Heard & McDonald Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HN", + "description": "Honduras.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HR", + "description": "Croatia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HT", + "description": "Haiti.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HU", + "description": "Hungary.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Indonesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IE", + "description": "Ireland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IL", + "description": "Israel.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IM", + "description": "Isle of Man.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN", + "description": "India.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IO", + "description": "British Indian Ocean Territory.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IQ", + "description": "Iraq.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IR", + "description": "Iran.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IS", + "description": "Iceland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IT", + "description": "Italy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JE", + "description": "Jersey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JM", + "description": "Jamaica.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JO", + "description": "Jordan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JP", + "description": "Japan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KE", + "description": "Kenya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KG", + "description": "Kyrgyzstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KH", + "description": "Cambodia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KI", + "description": "Kiribati.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KM", + "description": "Comoros.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KN", + "description": "St. Kitts & Nevis.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KP", + "description": "North Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KR", + "description": "South Korea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KW", + "description": "Kuwait.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KY", + "description": "Cayman Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KZ", + "description": "Kazakhstan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LA", + "description": "Laos.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LB", + "description": "Lebanon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LC", + "description": "St. Lucia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LI", + "description": "Liechtenstein.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LK", + "description": "Sri Lanka.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LR", + "description": "Liberia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LS", + "description": "Lesotho.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LT", + "description": "Lithuania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LU", + "description": "Luxembourg.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LV", + "description": "Latvia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LY", + "description": "Libya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MA", + "description": "Morocco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MC", + "description": "Monaco.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MD", + "description": "Moldova.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ME", + "description": "Montenegro.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MF", + "description": "St. Martin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "Madagascar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MK", + "description": "North Macedonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "Mali.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MM", + "description": "Myanmar (Burma).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MN", + "description": "Mongolia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MO", + "description": "Macao SAR.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MQ", + "description": "Martinique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MR", + "description": "Mauritania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MS", + "description": "Montserrat.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MT", + "description": "Malta.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MU", + "description": "Mauritius.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MV", + "description": "Maldives.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MW", + "description": "Malawi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MX", + "description": "Mexico.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MY", + "description": "Malaysia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MZ", + "description": "Mozambique.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NA", + "description": "Namibia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NC", + "description": "New Caledonia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NE", + "description": "Niger.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NF", + "description": "Norfolk Island.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NG", + "description": "Nigeria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NI", + "description": "Nicaragua.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NL", + "description": "Netherlands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO", + "description": "Norway.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NP", + "description": "Nepal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NR", + "description": "Nauru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NU", + "description": "Niue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NZ", + "description": "New Zealand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OM", + "description": "Oman.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PA", + "description": "Panama.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PE", + "description": "Peru.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PF", + "description": "French Polynesia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PG", + "description": "Papua New Guinea.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PH", + "description": "Philippines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PK", + "description": "Pakistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PL", + "description": "Poland.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PM", + "description": "St. Pierre & Miquelon.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PN", + "description": "Pitcairn Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PS", + "description": "Palestinian Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT", + "description": "Portugal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PY", + "description": "Paraguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QA", + "description": "Qatar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RE", + "description": "Réunion.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RO", + "description": "Romania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RS", + "description": "Serbia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RU", + "description": "Russia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RW", + "description": "Rwanda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SA", + "description": "Saudi Arabia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SB", + "description": "Solomon Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SC", + "description": "Seychelles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SD", + "description": "Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SE", + "description": "Sweden.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SG", + "description": "Singapore.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SH", + "description": "St. Helena.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SI", + "description": "Slovenia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SJ", + "description": "Svalbard & Jan Mayen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SK", + "description": "Slovakia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SL", + "description": "Sierra Leone.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SM", + "description": "San Marino.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SN", + "description": "Senegal.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SO", + "description": "Somalia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SR", + "description": "Suriname.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SS", + "description": "South Sudan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ST", + "description": "São Tomé & Príncipe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SV", + "description": "El Salvador.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SX", + "description": "Sint Maarten.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SY", + "description": "Syria.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SZ", + "description": "Eswatini.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TA", + "description": "Tristan da Cunha.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TC", + "description": "Turks & Caicos Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TD", + "description": "Chad.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TF", + "description": "French Southern Territories.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TG", + "description": "Togo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TH", + "description": "Thailand.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TJ", + "description": "Tajikistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TK", + "description": "Tokelau.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TL", + "description": "Timor-Leste.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TM", + "description": "Turkmenistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TN", + "description": "Tunisia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TO", + "description": "Tonga.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TR", + "description": "Turkey.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TT", + "description": "Trinidad & Tobago.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TV", + "description": "Tuvalu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TW", + "description": "Taiwan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TZ", + "description": "Tanzania.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UA", + "description": "Ukraine.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UG", + "description": "Uganda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UM", + "description": "U.S. Outlying Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "US", + "description": "United States.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UY", + "description": "Uruguay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZ", + "description": "Uzbekistan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VA", + "description": "Vatican City.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VC", + "description": "St. Vincent & Grenadines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VE", + "description": "Venezuela.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VG", + "description": "British Virgin Islands.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VN", + "description": "Vietnam.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VU", + "description": "Vanuatu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WF", + "description": "Wallis & Futuna.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WS", + "description": "Samoa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XK", + "description": "Kosovo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YE", + "description": "Yemen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YT", + "description": "Mayotte.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZA", + "description": "South Africa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZM", + "description": "Zambia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZW", + "description": "Zimbabwe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZZ", + "description": "Unknown Region.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreditCard", + "description": "Credit card information used for a payment.", + "fields": [ + { + "name": "brand", + "description": "The brand of the credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiryMonth", + "description": "The expiry month of the credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiryYear", + "description": "The expiry year of the credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstDigits", + "description": "The credit card's BIN number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the card holder.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastDigits", + "description": "The last 4 digits of the credit card.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the card holder.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maskedNumber", + "description": "The masked credit card number with only the last 4 digits displayed.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreditCardPaymentInputV2", + "description": "Specifies the fields required to complete a checkout with\na Shopify vaulted credit card payment.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The billing address for the payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "idempotencyKey", + "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentAmount", + "description": "The amount and currency of the payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "test", + "description": "Executes the payment in test mode if possible. Defaults to `false`.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "vaultId", + "description": "The ID returned by Shopify's Card Vault.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CropRegion", + "description": "The part of the image that should remain after cropping.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BOTTOM", + "description": "Keep the bottom of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CENTER", + "description": "Keep the center of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LEFT", + "description": "Keep the left of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RIGHT", + "description": "Keep the right of the image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOP", + "description": "Keep the top of the image.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "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", + "description": "The three-letter currency codes that represent the world currencies used in\nstores. These include standard ISO 4217 codes, legacy codes,\nand non-standard codes.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AED", + "description": "United Arab Emirates Dirham (AED).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AFN", + "description": "Afghan Afghani (AFN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ALL", + "description": "Albanian Lek (ALL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AMD", + "description": "Armenian Dram (AMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ANG", + "description": "Netherlands Antillean Guilder.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AOA", + "description": "Angolan Kwanza (AOA).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARS", + "description": "Argentine Pesos (ARS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AUD", + "description": "Australian Dollars (AUD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AWG", + "description": "Aruban Florin (AWG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZN", + "description": "Azerbaijani Manat (AZN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BAM", + "description": "Bosnia and Herzegovina Convertible Mark (BAM).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BBD", + "description": "Barbadian Dollar (BBD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BDT", + "description": "Bangladesh Taka (BDT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BGN", + "description": "Bulgarian Lev (BGN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BHD", + "description": "Bahraini Dinar (BHD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BIF", + "description": "Burundian Franc (BIF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BMD", + "description": "Bermudian Dollar (BMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BND", + "description": "Brunei Dollar (BND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BOB", + "description": "Bolivian Boliviano (BOB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BRL", + "description": "Brazilian Real (BRL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BSD", + "description": "Bahamian Dollar (BSD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BTN", + "description": "Bhutanese Ngultrum (BTN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BWP", + "description": "Botswana Pula (BWP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BYN", + "description": "Belarusian Ruble (BYN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BYR", + "description": "Belarusian Ruble (BYR).", + "isDeprecated": true, + "deprecationReason": "`BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead." + }, + { + "name": "BZD", + "description": "Belize Dollar (BZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CAD", + "description": "Canadian Dollars (CAD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CDF", + "description": "Congolese franc (CDF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHF", + "description": "Swiss Francs (CHF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CLP", + "description": "Chilean Peso (CLP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CNY", + "description": "Chinese Yuan Renminbi (CNY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COP", + "description": "Colombian Peso (COP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CRC", + "description": "Costa Rican Colones (CRC).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CVE", + "description": "Cape Verdean escudo (CVE).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CZK", + "description": "Czech Koruny (CZK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DJF", + "description": "Djiboutian Franc (DJF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DKK", + "description": "Danish Kroner (DKK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DOP", + "description": "Dominican Peso (DOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZD", + "description": "Algerian Dinar (DZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EGP", + "description": "Egyptian Pound (EGP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ERN", + "description": "Eritrean Nakfa (ERN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ETB", + "description": "Ethiopian Birr (ETB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EUR", + "description": "Euro (EUR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FJD", + "description": "Fijian Dollars (FJD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FKP", + "description": "Falkland Islands Pounds (FKP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GBP", + "description": "United Kingdom Pounds (GBP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GEL", + "description": "Georgian Lari (GEL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GHS", + "description": "Ghanaian Cedi (GHS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GIP", + "description": "Gibraltar Pounds (GIP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GMD", + "description": "Gambian Dalasi (GMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GNF", + "description": "Guinean Franc (GNF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GTQ", + "description": "Guatemalan Quetzal (GTQ).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GYD", + "description": "Guyanese Dollar (GYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HKD", + "description": "Hong Kong Dollars (HKD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HNL", + "description": "Honduran Lempira (HNL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HRK", + "description": "Croatian Kuna (HRK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HTG", + "description": "Haitian Gourde (HTG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HUF", + "description": "Hungarian Forint (HUF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IDR", + "description": "Indonesian Rupiah (IDR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ILS", + "description": "Israeli New Shekel (NIS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INR", + "description": "Indian Rupees (INR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IQD", + "description": "Iraqi Dinar (IQD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IRR", + "description": "Iranian Rial (IRR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ISK", + "description": "Icelandic Kronur (ISK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JEP", + "description": "Jersey Pound.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JMD", + "description": "Jamaican Dollars (JMD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JOD", + "description": "Jordanian Dinar (JOD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JPY", + "description": "Japanese Yen (JPY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KES", + "description": "Kenyan Shilling (KES).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KGS", + "description": "Kyrgyzstani Som (KGS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KHR", + "description": "Cambodian Riel.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KID", + "description": "Kiribati Dollar (KID).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KMF", + "description": "Comorian Franc (KMF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KRW", + "description": "South Korean Won (KRW).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KWD", + "description": "Kuwaiti Dinar (KWD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KYD", + "description": "Cayman Dollars (KYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KZT", + "description": "Kazakhstani Tenge (KZT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LAK", + "description": "Laotian Kip (LAK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LBP", + "description": "Lebanese Pounds (LBP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LKR", + "description": "Sri Lankan Rupees (LKR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LRD", + "description": "Liberian Dollar (LRD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LSL", + "description": "Lesotho Loti (LSL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LTL", + "description": "Lithuanian Litai (LTL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LVL", + "description": "Latvian Lati (LVL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LYD", + "description": "Libyan Dinar (LYD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MAD", + "description": "Moroccan Dirham.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MDL", + "description": "Moldovan Leu (MDL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MGA", + "description": "Malagasy Ariary (MGA).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MKD", + "description": "Macedonia Denar (MKD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MMK", + "description": "Burmese Kyat (MMK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MNT", + "description": "Mongolian Tugrik.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MOP", + "description": "Macanese Pataca (MOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MRU", + "description": "Mauritanian Ouguiya (MRU).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUR", + "description": "Mauritian Rupee (MUR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MVR", + "description": "Maldivian Rufiyaa (MVR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MWK", + "description": "Malawian Kwacha (MWK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MXN", + "description": "Mexican Pesos (MXN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MYR", + "description": "Malaysian Ringgits (MYR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MZN", + "description": "Mozambican Metical.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAD", + "description": "Namibian Dollar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NGN", + "description": "Nigerian Naira (NGN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NIO", + "description": "Nicaraguan Córdoba (NIO).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOK", + "description": "Norwegian Kroner (NOK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NPR", + "description": "Nepalese Rupee (NPR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NZD", + "description": "New Zealand Dollars (NZD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OMR", + "description": "Omani Rial (OMR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAB", + "description": "Panamian Balboa (PAB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PEN", + "description": "Peruvian Nuevo Sol (PEN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PGK", + "description": "Papua New Guinean Kina (PGK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PHP", + "description": "Philippine Peso (PHP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PKR", + "description": "Pakistani Rupee (PKR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PLN", + "description": "Polish Zlotych (PLN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PYG", + "description": "Paraguayan Guarani (PYG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QAR", + "description": "Qatari Rial (QAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RON", + "description": "Romanian Lei (RON).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RSD", + "description": "Serbian dinar (RSD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RUB", + "description": "Russian Rubles (RUB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RWF", + "description": "Rwandan Franc (RWF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SAR", + "description": "Saudi Riyal (SAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SBD", + "description": "Solomon Islands Dollar (SBD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCR", + "description": "Seychellois Rupee (SCR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SDG", + "description": "Sudanese Pound (SDG).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SEK", + "description": "Swedish Kronor (SEK).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SGD", + "description": "Singapore Dollars (SGD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHP", + "description": "Saint Helena Pounds (SHP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SLL", + "description": "Sierra Leonean Leone (SLL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SOS", + "description": "Somali Shilling (SOS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SRD", + "description": "Surinamese Dollar (SRD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SSP", + "description": "South Sudanese Pound (SSP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STD", + "description": "Sao Tome And Principe Dobra (STD).", + "isDeprecated": true, + "deprecationReason": "`STD` is deprecated. Use `STN` available from version `2022-07` onwards instead." + }, + { + "name": "STN", + "description": "Sao Tome And Principe Dobra (STN).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SYP", + "description": "Syrian Pound (SYP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SZL", + "description": "Swazi Lilangeni (SZL).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "THB", + "description": "Thai baht (THB).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TJS", + "description": "Tajikistani Somoni (TJS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TMT", + "description": "Turkmenistani Manat (TMT).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TND", + "description": "Tunisian Dinar (TND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOP", + "description": "Tongan Pa'anga (TOP).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TRY", + "description": "Turkish Lira (TRY).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TTD", + "description": "Trinidad and Tobago Dollars (TTD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TWD", + "description": "Taiwan Dollars (TWD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TZS", + "description": "Tanzanian Shilling (TZS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UAH", + "description": "Ukrainian Hryvnia (UAH).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UGX", + "description": "Ugandan Shilling (UGX).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "USD", + "description": "United States Dollars (USD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UYU", + "description": "Uruguayan Pesos (UYU).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZS", + "description": "Uzbekistan som (UZS).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VED", + "description": "Venezuelan Bolivares (VED).", + "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 Soberanos (VES).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VND", + "description": "Vietnamese đồng (VND).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VUV", + "description": "Vanuatu Vatu (VUV).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WST", + "description": "Samoan Tala (WST).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XAF", + "description": "Central African CFA Franc (XAF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XCD", + "description": "East Caribbean Dollar (XCD).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XOF", + "description": "West African CFA franc (XOF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XPF", + "description": "CFP Franc (XPF).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XXX", + "description": "Unrecognized currency.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YER", + "description": "Yemeni Rial (YER).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZAR", + "description": "South African Rand (ZAR).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZMW", + "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} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "addresses", + "description": "A list of addresses for the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MailingAddressConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the customer was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultAddress", + "description": "The customer’s default address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayName", + "description": "The customer’s name, email or phone number.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The customer’s email address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The customer’s first name.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A unique ID for the customer.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastIncompleteCheckout", + "description": "The customer's most recently updated, incomplete checkout.", + "args": [], + "type": {"kind": "OBJECT", "name": "Checkout", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The customer’s last name.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "numberOfOrders", + "description": "The number of orders that the customer has made at the store in their lifetime.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UnsignedInt64", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orders", + "description": "The orders associated with the customer.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `processed_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "OrderSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The customer’s phone number.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "A comma separated list of tags that have been added to the customer.\nAdditional access scope required: unauthenticated_read_customer_tags.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the customer information was updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "description": "A CustomerAccessToken represents the unique token required to make modifications to the customer object.", + "fields": [ + { + "name": "accessToken", + "description": "The customer’s access token.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiresAt", + "description": "The date and time when the customer access token expires.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerAccessTokenCreateInput", + "description": "The input fields required to create a customer access token.", + "fields": null, + "inputFields": [ + { + "name": "email", + "description": "The email associated to the customer.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": "The login password to be used by the customer.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAccessTokenCreatePayload", + "description": "Return type for `customerAccessTokenCreate` mutation.", + "fields": [ + { + "name": "customerAccessToken", + "description": "The newly created customer access token object.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAccessTokenCreateWithMultipassPayload", + "description": "Return type for `customerAccessTokenCreateWithMultipass` mutation.", + "fields": [ + { + "name": "customerAccessToken", + "description": "An access token object associated with the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAccessTokenDeletePayload", + "description": "Return type for `customerAccessTokenDelete` mutation.", + "fields": [ + { + "name": "deletedAccessToken", + "description": "The destroyed access token.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deletedCustomerAccessTokenId", + "description": "ID of the destroyed customer access token.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAccessTokenRenewPayload", + "description": "Return type for `customerAccessTokenRenew` mutation.", + "fields": [ + { + "name": "customerAccessToken", + "description": "The renewed customer access token object.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerActivateByUrlPayload", + "description": "Return type for `customerActivateByUrl` mutation.", + "fields": [ + { + "name": "customer", + "description": "The customer that was activated.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "A new customer access token for the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerActivateInput", + "description": "The input fields to activate a customer.", + "fields": null, + "inputFields": [ + { + "name": "activationToken", + "description": "The activation token required to activate the customer.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": "New password that will be set during activation.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerActivatePayload", + "description": "Return type for `customerActivate` mutation.", + "fields": [ + { + "name": "customer", + "description": "The customer object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "A newly created customer access token object for the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressCreatePayload", + "description": "Return type for `customerAddressCreate` mutation.", + "fields": [ + { + "name": "customerAddress", + "description": "The new customer address object.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressDeletePayload", + "description": "Return type for `customerAddressDelete` mutation.", + "fields": [ + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deletedCustomerAddressId", + "description": "ID of the deleted customer address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerAddressUpdatePayload", + "description": "Return type for `customerAddressUpdate` mutation.", + "fields": [ + { + "name": "customerAddress", + "description": "The customer’s updated mailing address.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerCreateInput", + "description": "The input fields to create a new customer.", + "fields": null, + "inputFields": [ + { + "name": "acceptsMarketing", + "description": "Indicates whether the customer has consented to be sent marketing material via email.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The customer’s email.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The customer’s first name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The customer’s last name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": "The login password used by the customer.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerCreatePayload", + "description": "Return type for `customerCreate` mutation.", + "fields": [ + { + "name": "customer", + "description": "The created customer object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerDefaultAddressUpdatePayload", + "description": "Return type for `customerDefaultAddressUpdate` mutation.", + "fields": [ + { + "name": "customer", + "description": "The updated customer object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CustomerErrorCode", + "description": "Possible error codes that can be returned by `CustomerUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALREADY_ENABLED", + "description": "Customer already enabled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BAD_DOMAIN", + "description": "Input email contains an invalid domain name.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BLANK", + "description": "The input value is blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONTAINS_HTML_TAGS", + "description": "Input contains HTML tags.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CONTAINS_URL", + "description": "Input contains URL.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CUSTOMER_DISABLED", + "description": "Customer is disabled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": "The input value is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_MULTIPASS_REQUEST", + "description": "Multipass token is not valid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_FOUND", + "description": "Address does not exist.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE", + "description": "Input password starts or ends with whitespace.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAKEN", + "description": "The input value is already taken.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOKEN_INVALID", + "description": "Invalid activation token.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The input value is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_SHORT", + "description": "The input value is too short.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNIDENTIFIED_CUSTOMER", + "description": "Unidentified customer.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerRecoverPayload", + "description": "Return type for `customerRecover` mutation.", + "fields": [ + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerResetByUrlPayload", + "description": "Return type for `customerResetByUrl` mutation.", + "fields": [ + { + "name": "customer", + "description": "The customer object which was reset.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "A newly created customer access token object for the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerResetInput", + "description": "The input fields to reset a customer's password.", + "fields": null, + "inputFields": [ + { + "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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resetToken", + "description": "The reset token required to reset the customer’s password.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerResetPayload", + "description": "Return type for `customerReset` mutation.", + "fields": [ + { + "name": "customer", + "description": "The customer object which was reset.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "A newly created customer access token object for the customer.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CustomerUpdateInput", + "description": "The input fields to update the Customer information.", + "fields": null, + "inputFields": [ + { + "name": "acceptsMarketing", + "description": "Indicates whether the customer has consented to be sent marketing material via email.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "The customer’s email.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The customer’s first name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The customer’s last name.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": "The login password used by the customer.", + "type": {"kind": "SCALAR", "name": "String", "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_. To remove the phone number, specify `null`.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerUpdatePayload", + "description": "Return type for `customerUpdate` mutation.", + "fields": [ + { + "name": "customer", + "description": "The updated customer object.", + "args": [], + "type": {"kind": "OBJECT", "name": "Customer", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "The newly created customer access token. If the customer's password is updated, all previous access tokens\n(including the one used to perform this mutation) become invalid, and a new token is generated.\n", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessToken", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUserErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CustomerUserError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userErrors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserError", + "ofType": null + } + } + } + }, + "isDeprecated": true, + "deprecationReason": "Use `customerUserErrors` instead." + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CustomerUserError", + "description": "Represents an error that happens during execution of a customer mutation.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "CustomerErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.\nFor example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is\nrepresented as `\"2019-09-07T15:50:00Z`\".\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Decimal", + "description": "A signed decimal number, which supports arbitrary precision and is serialized as a string.\n\nExample values: `\"29.99\"`, `\"29.999\"`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "DeliveryAddress", + "description": "A delivery address of the buyer that is interacting with the cart.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "MailingAddress", "ofType": null} + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "DeliveryAddressInput", + "description": "The input fields for delivery address preferences.\n", + "fields": null, + "inputFields": [ + { + "name": "customerAddressId", + "description": "The ID of a customer address that is associated with the buyer that is interacting with the cart.\n", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deliveryAddress", + "description": "A delivery address preference of a buyer that is interacting with the cart.", + "type": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DeliveryMethodType", + "description": "List of different delivery method types.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LOCAL", + "description": "Local Delivery.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NONE", + "description": "None.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PICKUP_POINT", + "description": "Shipping to a Pickup Point.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PICK_UP", + "description": "Local Pickup.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RETAIL", + "description": "Retail.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING", + "description": "Shipping.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DigitalWallet", + "description": "Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ANDROID_PAY", + "description": "Android Pay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "APPLE_PAY", + "description": "Apple Pay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GOOGLE_PAY", + "description": "Google Pay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOPIFY_PAY", + "description": "Shopify Pay.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountAllocation", + "description": "An amount discounting the line that has been allocated by a discount.\n", + "fields": [ + { + "name": "allocatedAmount", + "description": "Amount of discount allocated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountApplication", + "description": "The discount this allocated amount originated from.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "DiscountApplication", + "description": "Discount applications capture the intentions of a discount source at\nthe time of application.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "AutomaticDiscountApplication", + "ofType": null + }, + {"kind": "OBJECT", "name": "DiscountCodeApplication", "ofType": null}, + { + "kind": "OBJECT", + "name": "ManualDiscountApplication", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ScriptDiscountApplication", + "ofType": null + } + ] + }, + { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "description": "The method by which the discount's value is allocated onto its entitled lines.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ACROSS", + "description": "The value is spread across all entitled lines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EACH", + "description": "The value is applied onto every entitled line.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ONE", + "description": "The value is specifically applied onto a particular line.", + "isDeprecated": true, + "deprecationReason": "Use ACROSS instead." + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountApplicationConnection", + "description": "An auto-generated type for paginating through multiple DiscountApplications.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountApplicationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in DiscountApplicationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountApplicationEdge", + "description": "An auto-generated type which holds one DiscountApplication and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of DiscountApplicationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "DiscountApplication", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "description": "The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALL", + "description": "The discount is allocated onto all the lines.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENTITLED", + "description": "The discount is allocated onto only the lines that it's entitled for.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EXPLICIT", + "description": "The discount is allocated onto explicitly chosen lines.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "description": "The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LINE_ITEM", + "description": "The discount applies onto line items.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHIPPING_LINE", + "description": "The discount applies onto shipping lines.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DiscountCodeApplication", + "description": "Discount code applications capture the intentions of a discount code at\nthe time that it is applied.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "applicable", + "description": "Specifies whether the discount code was applied successfully.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": "The string identifying the discount code that was used at the time of application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "DisplayableError", + "description": "Represents an error in the input of a mutation.", + "fields": [ + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "CartUserError", "ofType": null}, + {"kind": "OBJECT", "name": "CheckoutUserError", "ofType": null}, + {"kind": "OBJECT", "name": "CustomerUserError", "ofType": null}, + { + "kind": "OBJECT", + "name": "MetafieldDeleteUserError", + "ofType": null + }, + {"kind": "OBJECT", "name": "MetafieldsSetUserError", "ofType": null}, + {"kind": "OBJECT", "name": "UserError", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Domain", + "description": "Represents a web address.", + "fields": [ + { + "name": "host", + "description": "The host name of the domain (eg: `example.com`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sslEnabled", + "description": "Whether SSL is enabled or not.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the domain (eg: `https://example.com`).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ExternalVideo", + "description": "Represents a video hosted outside of Shopify.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "embedUrl", + "description": "The embed URL of the video for the respective host.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "embeddedUrl", + "description": "The URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `originUrl` instead." + }, + { + "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": "A globally-unique ID.", + "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": "originUrl", + "description": "The origin URL of the video on the respective host.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentation", + "description": "The presentation for a media.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MediaPresentation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Media", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Filter", + "description": "A filter that is supported on the parent field.", + "fields": [ + { + "name": "id", + "description": "A unique identifier.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "label", + "description": "A human-friendly string for this filter.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "An enumeration that denotes the type of data this filter represents.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "FilterType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "values", + "description": "The list of values for this filter.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FilterValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FilterType", + "description": "The type of data that the filter group represents.\n\nFor more information, refer to [Filter products in a collection with the Storefront API]\n(https://shopify.dev/custom-storefronts/products-collections/filter-products).\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BOOLEAN", + "description": "A boolean value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "A list of selectable values.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRICE_RANGE", + "description": "A range of prices.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FilterValue", + "description": "A selectable value within a filter.", + "fields": [ + { + "name": "count", + "description": "The number of results that match this filter value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A unique identifier.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "input", + "description": "An input object that can be used to filter by this value on the parent field.\n\nThe value is provided as a helper for building dynamic filtering UI. For\nexample, if you have a list of selected `FilterValue` objects, you can combine\ntheir respective `input` values to use in a subsequent query.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "JSON", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "label", + "description": "A human-friendly string for this filter value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Fulfillment", + "description": "Represents a single fulfillment in an order.", + "fields": [ + { + "name": "fulfillmentLineItems", + "description": "List of the fulfillment's line items.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingCompany", + "description": "The name of the tracking company.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingInfo", + "description": "Tracking information associated with the fulfillment,\nsuch as the tracking number and tracking URL.\n", + "args": [ + { + "name": "first", + "description": "Truncate the array result to this size.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentTrackingInfo", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "description": "Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item.", + "fields": [ + { + "name": "lineItem", + "description": "The associated order's line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The amount fulfilled in this fulfillment.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItemConnection", + "description": "An auto-generated type for paginating through multiple FulfillmentLineItems.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in FulfillmentLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentLineItemEdge", + "description": "An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of FulfillmentLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FulfillmentLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FulfillmentTrackingInfo", + "description": "Tracking information associated with the fulfillment.", + "fields": [ + { + "name": "number", + "description": "The tracking number of the fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL to track the fulfillment.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GenericFile", + "description": "The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to indicate the contents of a file.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mimeType", + "description": "The MIME type of the file.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalFileSize", + "description": "The size of the original file in bytes.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the file.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the file.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "GeoCoordinateInput", + "description": "The input fields 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "longitude", + "description": "The coordinate's longitude value.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "HTML", + "description": "A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a\ncomplete list of HTML elements.\n\nExample value: `\"

Grey cotton knit sweater.

\"`\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "HasMetafields", + "description": "Represents information about the metafields associated to the specified resource.", + "fields": [ + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Article", "ofType": null}, + {"kind": "OBJECT", "name": "Blog", "ofType": null}, + {"kind": "OBJECT", "name": "Cart", "ofType": null}, + {"kind": "OBJECT", "name": "Collection", "ofType": null}, + {"kind": "OBJECT", "name": "Customer", "ofType": null}, + {"kind": "OBJECT", "name": "Location", "ofType": null}, + {"kind": "OBJECT", "name": "Market", "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": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "description": "The input fields to identify a metafield on an owner resource by namespace and key.", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "ID", + "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Image", + "description": "Represents an image resource.", + "fields": [ + { + "name": "altText", + "description": "A word or phrase to share the nature or contents of an image.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": "The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A unique ID for the image.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalSrc", + "description": "The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "src", + "description": "The location of the image as a URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url` instead." + }, + { + "name": "transformedSrc", + "description": "The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.\n", + "args": [ + { + "name": "crop", + "description": "Crops the image according to the specified region.", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 5760.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredContentType", + "description": "Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).", + "type": { + "kind": "ENUM", + "name": "ImageContentType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be between 1 and 3.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `url(transform:)` instead" + }, + { + "name": "url", + "description": "The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).\n", + "args": [ + { + "name": "transform", + "description": "A set of options to transform the original image.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ImageTransformInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": "The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ImageConnection", + "description": "An auto-generated type for paginating through multiple Images.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ImageEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ImageEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Image", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ImageContentType", + "description": "List of supported image content types.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "JPG", + "description": "A JPG image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PNG", + "description": "A PNG image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WEBP", + "description": "A WEBP image.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ImageEdge", + "description": "An auto-generated type which holds one Image and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of ImageEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Image", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ImageTransformInput", + "description": "The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that\nthe original image type doesn't support will be ignored.\n", + "fields": null, + "inputFields": [ + { + "name": "crop", + "description": "The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields,\nwhere the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{\nmaxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.\n", + "type": {"kind": "ENUM", "name": "CropRegion", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxHeight", + "description": "Image height in pixels between 1 and 5760.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxWidth", + "description": "Image width in pixels between 1 and 5760.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredContentType", + "description": "Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.\n", + "type": { + "kind": "ENUM", + "name": "ImageContentType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "scale", + "description": "Image size multiplier for high-resolution retina displays. Must be within 1..3.\n", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": "1", + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "InContext", + "description": "Provide details about the contexts influenced by the @inContext directive on a field.", + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "InContextType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "InContextType", + "description": "This gives information about the type of context that impacts a field. For example, for a query with @inContext(language: \"EN\"), the type would point to the name: LanguageCode and kind: ENUM.", + "fields": [ + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "JSON", + "description": "A [JSON](https://www.json.org/json-en.html) object.\n\nExample value:\n`{\n \"product\": {\n \"id\": \"gid://shopify/Product/1346443542550\",\n \"title\": \"White T-shirt\",\n \"options\": [{\n \"name\": \"Size\",\n \"values\": [\"M\", \"L\"]\n }]\n }\n}`\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Language", + "description": "A language.", + "fields": [ + { + "name": "endonymName", + "description": "The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isoCode", + "description": "The ISO code.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "LanguageCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the language in the current language.", + "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": "LanguageCode", + "description": "ISO 639-1 language codes supported by Shopify.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AF", + "description": "Afrikaans.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AK", + "description": "Akan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AM", + "description": "Amharic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AR", + "description": "Arabic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AS", + "description": "Assamese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "AZ", + "description": "Azerbaijani.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BE", + "description": "Belarusian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BG", + "description": "Bulgarian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BM", + "description": "Bambara.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BN", + "description": "Bangla.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BO", + "description": "Tibetan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BR", + "description": "Breton.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BS", + "description": "Bosnian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CA", + "description": "Catalan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CE", + "description": "Chechen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CKB", + "description": "Central Kurdish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CS", + "description": "Czech.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CU", + "description": "Church Slavic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CY", + "description": "Welsh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DA", + "description": "Danish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DE", + "description": "German.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DZ", + "description": "Dzongkha.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EE", + "description": "Ewe.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EL", + "description": "Greek.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EN", + "description": "English.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EO", + "description": "Esperanto.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ES", + "description": "Spanish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ET", + "description": "Estonian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EU", + "description": "Basque.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FA", + "description": "Persian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FF", + "description": "Fulah.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FI", + "description": "Finnish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIL", + "description": "Filipino.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FO", + "description": "Faroese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FR", + "description": "French.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FY", + "description": "Western Frisian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GA", + "description": "Irish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GD", + "description": "Scottish Gaelic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GL", + "description": "Galician.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GU", + "description": "Gujarati.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GV", + "description": "Manx.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HA", + "description": "Hausa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HE", + "description": "Hebrew.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HI", + "description": "Hindi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HR", + "description": "Croatian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HU", + "description": "Hungarian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HY", + "description": "Armenian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IA", + "description": "Interlingua.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Indonesian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IG", + "description": "Igbo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "II", + "description": "Sichuan Yi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IS", + "description": "Icelandic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IT", + "description": "Italian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JA", + "description": "Japanese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "JV", + "description": "Javanese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KA", + "description": "Georgian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KI", + "description": "Kikuyu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KK", + "description": "Kazakh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KL", + "description": "Kalaallisut.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KM", + "description": "Khmer.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KN", + "description": "Kannada.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KO", + "description": "Korean.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KS", + "description": "Kashmiri.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KU", + "description": "Kurdish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KW", + "description": "Cornish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KY", + "description": "Kyrgyz.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LA", + "description": "Latin.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LB", + "description": "Luxembourgish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LG", + "description": "Ganda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LN", + "description": "Lingala.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LO", + "description": "Lao.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LT", + "description": "Lithuanian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LU", + "description": "Luba-Katanga.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LV", + "description": "Latvian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "Malagasy.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MI", + "description": "Māori.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MK", + "description": "Macedonian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "Malayalam.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MN", + "description": "Mongolian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MO", + "description": "Moldavian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MR", + "description": "Marathi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MS", + "description": "Malay.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MT", + "description": "Maltese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MY", + "description": "Burmese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NB", + "description": "Norwegian (Bokmål).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ND", + "description": "North Ndebele.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NE", + "description": "Nepali.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NL", + "description": "Dutch.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NN", + "description": "Norwegian Nynorsk.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO", + "description": "Norwegian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OM", + "description": "Oromo.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OR", + "description": "Odia.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OS", + "description": "Ossetic.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PA", + "description": "Punjabi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PL", + "description": "Polish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PS", + "description": "Pashto.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT", + "description": "Portuguese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT_BR", + "description": "Portuguese (Brazil).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PT_PT", + "description": "Portuguese (Portugal).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QU", + "description": "Quechua.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RM", + "description": "Romansh.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RN", + "description": "Rundi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RO", + "description": "Romanian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RU", + "description": "Russian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RW", + "description": "Kinyarwanda.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SA", + "description": "Sanskrit.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SC", + "description": "Sardinian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SD", + "description": "Sindhi.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SE", + "description": "Northern Sami.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SG", + "description": "Sango.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SH", + "description": "Serbo-Croatian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SI", + "description": "Sinhala.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SK", + "description": "Slovak.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SL", + "description": "Slovenian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SN", + "description": "Shona.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SO", + "description": "Somali.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SQ", + "description": "Albanian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SR", + "description": "Serbian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SU", + "description": "Sundanese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SV", + "description": "Swedish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SW", + "description": "Swahili.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TA", + "description": "Tamil.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TE", + "description": "Telugu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TG", + "description": "Tajik.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TH", + "description": "Thai.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TI", + "description": "Tigrinya.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TK", + "description": "Turkmen.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TO", + "description": "Tongan.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TR", + "description": "Turkish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TT", + "description": "Tatar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UG", + "description": "Uyghur.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UK", + "description": "Ukrainian.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UR", + "description": "Urdu.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UZ", + "description": "Uzbek.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VI", + "description": "Vietnamese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VO", + "description": "Volapük.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WO", + "description": "Wolof.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "XH", + "description": "Xhosa.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YI", + "description": "Yiddish.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YO", + "description": "Yoruba.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZH", + "description": "Chinese.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZH_CN", + "description": "Chinese (Simplified).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZH_TW", + "description": "Chinese (Traditional).", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ZU", + "description": "Zulu.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Localization", + "description": "Information about the localized experiences configured for the shop.", + "fields": [ + { + "name": "availableCountries", + "description": "The list of countries with enabled localized experiences.", + "args": [], + "type": { + "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": "availableLanguages", + "description": "The list of languages available for the active country.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Language", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The country of the active localized experience. Use the `@inContext` directive to change this value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Country", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "language", + "description": "The language of the active localized experience. Use the `@inContext` directive to change this value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Language", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "market", + "description": "The market including the country of the active localized experience. Use the `@inContext` directive to change this value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Market", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": 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": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "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": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LocationAddress", + "description": "Represents the address of a location.\n", + "fields": [ + { + "name": "address1", + "description": "The first line of the address for the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address for the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The city of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The country of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The country code of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formatted", + "description": "A formatted version of the address for the location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latitude", + "description": "The latitude coordinates of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "longitude", + "description": "The longitude coordinates of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "The phone number of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The province of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The code for the province, state, or district of the address of the location.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The ZIP code of the location.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "LocationConnection", + "description": "An auto-generated type for paginating through multiple Locations.\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": "LocationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in LocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Location", + "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": "LocationEdge", + "description": "An auto-generated type which holds one Location 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 LocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Location", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "LocationSortKeys", + "description": "The set of valid sort keys for the Location query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CITY", + "description": "Sort by the `city` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISTANCE", + "description": "Sort by the `distance` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NAME", + "description": "Sort by the `name` 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.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "The name of the customer's company or organization.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `countryCodeV2` instead." + }, + { + "name": "countryCodeV2", + "description": "The two-letter code for the country of the address.\n\nFor example, US.\n", + "args": [], + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formatted", + "description": "A formatted version of the address, customized by the provided arguments.", + "args": [ + { + "name": "withCompany", + "description": "Whether to include the customer's company in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "true", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "withName", + "description": "Whether to include the customer's name in the formatted address.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formattedArea", + "description": "A comma-separated list of the values for city, province, and country.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "latitude", + "description": "The latitude coordinate of the customer address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "longitude", + "description": "The longitude coordinate of the customer address.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The full name of the customer, based on firstName and lastName.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "province", + "description": "The region of the address, such as the province, state, or district.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provinceCode", + "description": "The two-letter code for the region.\n\nFor example, ON.\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MailingAddressConnection", + "description": "An auto-generated type for paginating through multiple MailingAddresses.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MailingAddressEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in MailingAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MailingAddressEdge", + "description": "An auto-generated type which holds one MailingAddress and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of MailingAddressEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "description": "The input fields to create or update a mailing address.", + "fields": null, + "inputFields": [ + { + "name": "address1", + "description": "The first line of the address. Typically the street address or PO Box number.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "address2", + "description": "The second line of the address. Typically the number of the apartment, suite, or unit.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "city", + "description": "The name of the city, district, village, or town.\n", + "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", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": "The name of the country.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "firstName", + "description": "The first name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastName", + "description": "The last name of the customer.", + "type": {"kind": "SCALAR", "name": "String", "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", + "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.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "zip", + "description": "The zip or postal code of the address.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ManualDiscountApplication", + "description": "Manual discount applications capture the intentions of a discount that was manually created.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the application.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Market", + "description": "A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets).", + "fields": [ + { + "name": "handle", + "description": "A human-readable unique string for the market automatically generated from its title.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Media", + "description": "Represents a media interface.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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": "presentation", + "description": "The presentation for a media.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MediaPresentation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "ExternalVideo", "ofType": null}, + {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + {"kind": "OBJECT", "name": "Model3d", "ofType": null}, + {"kind": "OBJECT", "name": "Video", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "MediaConnection", + "description": "An auto-generated type for paginating through multiple Media.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MediaEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in MediaEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "Media", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MediaContentType", + "description": "The possible content types for a media object.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "EXTERNAL_VIDEO", + "description": "An externally hosted video.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IMAGE", + "description": "A Shopify hosted image.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MODEL_3D", + "description": "A 3d model.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VIDEO", + "description": "A Shopify hosted video.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MediaEdge", + "description": "An auto-generated type which holds one Media and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of MediaEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "INTERFACE", "name": "Media", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MediaHost", + "description": "Host for a Media Resource.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "VIMEO", + "description": "Host for Vimeo embedded videos.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "YOUTUBE", + "description": "Host for YouTube embedded videos.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MediaImage", + "description": "Represents a Shopify hosted image.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "The image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mediaContentType", + "description": "The media content type.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MediaContentType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "presentation", + "description": "The presentation for a media.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MediaPresentation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Media", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MediaPresentation", + "description": "A media presentation.", + "fields": [ + { + "name": "asJson", + "description": "A JSON object representing a presentation view.", + "args": [ + { + "name": "format", + "description": "The format to transform the settings.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MediaPresentationFormat", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "SCALAR", "name": "JSON", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MediaPresentationFormat", + "description": "The possible formats for a media presentation.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "IMAGE", + "description": "A media image presentation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MODEL_VIEWER", + "description": "A model viewer presentation.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Menu", + "description": "A [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) representing a hierarchy\nof hyperlinks (items).\n", + "fields": [ + { + "name": "handle", + "description": "The menu's handle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "items", + "description": "The menu's child items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MenuItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "itemsCount", + "description": "The count of items on the menu.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The menu's title.", + "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": "MenuItem", + "description": "A menu item within a parent menu.", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "items", + "description": "The menu item's child items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MenuItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resource", + "description": "The linked resource.", + "args": [], + "type": { + "kind": "UNION", + "name": "MenuItemResource", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resourceId", + "description": "The ID of the linked resource.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "The menu item's tags to filter a collection.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The menu item's title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The menu item's type.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "MenuItemType", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The menu item's URL.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "MenuItemResource", + "description": "The list of possible resources a `MenuItem` can reference.\n", + "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": "Page", "ofType": null}, + {"kind": "OBJECT", "name": "Product", "ofType": null}, + {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null} + ] + }, + { + "kind": "ENUM", + "name": "MenuItemType", + "description": "A menu item type.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ARTICLE", + "description": "An article link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BLOG", + "description": "A blog link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CATALOG", + "description": "A catalog link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COLLECTION", + "description": "A collection link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COLLECTIONS", + "description": "A collection link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRONTPAGE", + "description": "A frontpage link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HTTP", + "description": "An http link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE", + "description": "A page link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT", + "description": "A product link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SEARCH", + "description": "A search link.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOP_POLICY", + "description": "A shop policy link.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "Merchandise", + "description": "The merchandise to be purchased at checkout.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "ProductVariant", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Metafield", + "description": "Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are\ncomprised of keys, values, and value types.\n", + "fields": [ + { + "name": "createdAt", + "description": "The date and time when the storefront metafield was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of a metafield.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": "The unique identifier for the metafield within its namespace.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container for a group of metafields that the metafield is associated with.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parentResource", + "description": "The type of resource that the metafield is attached to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "MetafieldParentResource", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reference", + "description": "Returns a reference object if the metafield's type is a resource reference.", + "args": [], + "type": { + "kind": "UNION", + "name": "MetafieldReference", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "references", + "description": "A list of reference objects if the metafield's type is a resource reference list.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "MetafieldReferenceConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type name of the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the metafield was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The data stored in the metafield. Always stored as a string, regardless of the metafield's type.", + "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": "ENUM", + "name": "MetafieldDeleteErrorCode", + "description": "Possible error codes that can be returned by `MetafieldDeleteUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INVALID_OWNER", + "description": "The owner ID is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "METAFIELD_DOES_NOT_EXIST", + "description": "Metafield not found.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetafieldDeleteUserError", + "description": "An error that occurs during the execution of cart metafield deletion.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "MetafieldDeleteErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "MetafieldFilter", + "description": "A filter used to view a subset of products in a collection matching a specific metafield value.\n\nOnly the following metafield types are currently supported:\n- `number_integer`\n- `number_decimal`\n- `single_line_text_field`\n- `boolean` as of 2022-04.\n", + "fields": null, + "inputFields": [ + { + "name": "key", + "description": "The key of the metafield to filter on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The namespace of the metafield to filter on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "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": "Cart", "ofType": null}, + {"kind": "OBJECT", "name": "Collection", "ofType": null}, + {"kind": "OBJECT", "name": "Customer", "ofType": null}, + {"kind": "OBJECT", "name": "Location", "ofType": null}, + {"kind": "OBJECT", "name": "Market", "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": "UNION", + "name": "MetafieldReference", + "description": "Returns the resource which is being referred to by a metafield.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Collection", "ofType": null}, + {"kind": "OBJECT", "name": "GenericFile", "ofType": null}, + {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + {"kind": "OBJECT", "name": "Metaobject", "ofType": null}, + {"kind": "OBJECT", "name": "Page", "ofType": null}, + {"kind": "OBJECT", "name": "Product", "ofType": null}, + {"kind": "OBJECT", "name": "ProductVariant", "ofType": null}, + {"kind": "OBJECT", "name": "Video", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "MetafieldReferenceConnection", + "description": "An auto-generated type for paginating through multiple MetafieldReferences.\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": "MetafieldReferenceEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in MetafieldReferenceEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "MetafieldReference", + "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": "MetafieldReferenceEdge", + "description": "An auto-generated type which holds one MetafieldReference 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 MetafieldReferenceEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "MetafieldReference", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetafieldsSetUserError", + "description": "An error that occurs during the execution of `MetafieldsSet`.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "ENUM", + "name": "MetafieldsSetUserErrorCode", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "elementIndex", + "description": "The index of the array element that's causing the error.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MetafieldsSetUserErrorCode", + "description": "Possible error codes that can be returned by `MetafieldsSetUserError`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BLANK", + "description": "The input value is blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INCLUSION", + "description": "The input value isn't included in the list.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_OWNER", + "description": "The owner ID is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_TYPE", + "description": "The type is invalid.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID_VALUE", + "description": "The value is invalid for metafield type or for definition options.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LESS_THAN_OR_EQUAL_TO", + "description": "The input value should be less than or equal to the maximum value allowed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRESENT", + "description": "The input value needs to be blank.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_LONG", + "description": "The input value is too long.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOO_SHORT", + "description": "The input value is too short.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Metaobject", + "description": "An instance of a user-defined model based on a MetaobjectDefinition.", + "fields": [ + { + "name": "field", + "description": "Accesses a field of the object by key.", + "args": [ + { + "name": "key", + "description": "The key of the field.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "MetaobjectField", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": "All object fields with defined values.\nOmitted object keys can be assumed null, and no guarantees are made about field order.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MetaobjectField", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The unique handle of the metaobject. Useful as a custom ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the metaobject on the shop's Online Store. Returns `null` if the metaobject definition doesn't have the `online_store` capability.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The metaobject's SEO information. Returns `null` if the metaobject definition\ndoesn't have the `renderable` capability.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "MetaobjectSEO", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of the metaobject. Defines the namespace of its associated metafields.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the metaobject was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetaobjectConnection", + "description": "An auto-generated type for paginating through multiple Metaobjects.\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": "MetaobjectEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in MetaobjectEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metaobject", + "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": "MetaobjectEdge", + "description": "An auto-generated type which holds one Metaobject 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 MetaobjectEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Metaobject", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetaobjectField", + "description": "Provides the value of a Metaobject field.", + "fields": [ + { + "name": "key", + "description": "The field key.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reference", + "description": "A referenced object if the field type is a resource reference.", + "args": [], + "type": { + "kind": "UNION", + "name": "MetafieldReference", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "references", + "description": "A list of referenced objects if the field type is a resource reference list.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "MetafieldReferenceConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type name of the field.\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": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The field value.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "MetaobjectHandleInput", + "description": "The input fields used to retrieve a metaobject by handle.", + "fields": null, + "inputFields": [ + { + "name": "handle", + "description": "The handle of the metaobject.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of the metaobject.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetaobjectSEO", + "description": "SEO information for a metaobject.", + "fields": [ + { + "name": "description", + "description": "The meta description.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MetaobjectField", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The SEO title.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MetaobjectField", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Model3d", + "description": "Represents a Shopify hosted 3D model.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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": "presentation", + "description": "The presentation for a media.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MediaPresentation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sources", + "description": "The sources for a 3d model.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Model3dSource", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Media", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Model3dSource", + "description": "Represents a source for a Shopify hosted 3d model.", + "fields": [ + { + "name": "filesize", + "description": "The filesize of the 3d model.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "format", + "description": "The format of the 3d model.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mimeType", + "description": "The MIME type of the 3d model.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the 3d model.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "MoneyInput", + "description": "The input 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "Currency of the money.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MoneyV2", + "description": "A monetary value with currency.\n", + "fields": [ + { + "name": "amount", + "description": "Decimal money amount.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Decimal", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "Currency of the money.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "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": "cartAttributesUpdate", + "description": "Updates the attributes on a cart.", + "args": [ + { + "name": "attributes", + "description": "An array of key-value pairs that contains additional information about the cart.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AttributeInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartAttributesUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartBuyerIdentityUpdate", + "description": "Updates customer information associated with a cart.\nBuyer identity is used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing)\nand should match the customer's shipping address.\n", + "args": [ + { + "name": "buyerIdentity", + "description": "The customer associated with the cart. Used to determine\n[international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).\nBuyer identity should match the customer's shipping address.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartBuyerIdentityInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartBuyerIdentityUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartCreate", + "description": "Creates a new cart.", + "args": [ + { + "name": "input", + "description": "The fields used to create a cart.", + "type": { + "kind": "INPUT_OBJECT", + "name": "CartInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartDiscountCodesUpdate", + "description": "Updates the discount codes applied to the cart.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountCodes", + "description": "The case-insensitive discount codes that the customer added at checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartDiscountCodesUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartLinesAdd", + "description": "Adds a merchandise line to the cart.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "A list of merchandise lines to add to the cart.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartLineInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartLinesAddPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartLinesRemove", + "description": "Removes one or more merchandise lines from the cart.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineIds", + "description": "The merchandise line IDs to remove.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartLinesRemovePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartLinesUpdate", + "description": "Updates one or more merchandise lines on a cart.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lines", + "description": "The merchandise lines to update.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartLineUpdateInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartLinesUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartMetafieldDelete", + "description": "Deletes a cart metafield.", + "args": [ + { + "name": "input", + "description": "The input fields used to delete a cart metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartMetafieldDeleteInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartMetafieldDeletePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartMetafieldsSet", + "description": "Sets cart metafield values. Cart metafield values will be set regardless if they were previously created or not.\n\nAllows a maximum of 25 cart metafields to be set at a time.\n", + "args": [ + { + "name": "metafields", + "description": "The list of Cart metafield values to set. Maximum of 25.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartMetafieldsSetInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartMetafieldsSetPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartNoteUpdate", + "description": "Updates the note on the cart.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": "The note on the cart.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartNoteUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartPaymentUpdate", + "description": "Update the customer's payment method that will be used to checkout.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "payment", + "description": "The payment information for the cart that will be used at checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartPaymentInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartPaymentUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartSelectedDeliveryOptionsUpdate", + "description": "Update the selected delivery options for a delivery group.", + "args": [ + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "selectedDeliveryOptions", + "description": "The selected delivery options.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CartSelectedDeliveryOptionInput", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartSelectedDeliveryOptionsUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartSubmitForCompletion", + "description": "Submit the cart for checkout completion.", + "args": [ + { + "name": "attemptToken", + "description": "The attemptToken is used to guarantee an idempotent result.\nIf more than one call uses the same attemptToken within a short period of time, only one will be accepted.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartId", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CartSubmitForCompletionPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutAttributesUpdateV2", + "description": "Updates the attributes of a checkout if `allowPartialAddresses` is `true`.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutAttributesUpdateV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutCompleteFree", + "description": "Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCompleteFreePayload", + "ofType": null + }, + "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://shopify.dev/apps/channels/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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCompleteWithCreditCardV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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, + "isDeprecated": false, + "deprecationReason": 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 + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCompleteWithTokenizedPaymentV3Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutCreate", + "description": "Creates a new checkout.", + "args": [ + { + "name": "input", + "description": "The fields used to create a checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CheckoutCreateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queueToken", + "description": "The checkout queue token. Available only to selected stores.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutCustomerAssociateV2", + "description": "Associates a customer to the checkout.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessToken", + "description": "The customer access token of the customer to associate.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCustomerAssociateV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutCustomerDisassociateV2", + "description": "Disassociates the current checkout customer from the checkout.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutCustomerDisassociateV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutDiscountCodeApplyV2", + "description": "Applies a discount to an existing checkout using a discount code.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutDiscountCodeApplyV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutDiscountCodeRemove", + "description": "Removes the applied discounts from an existing checkout.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutDiscountCodeRemovePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutEmailUpdateV2", + "description": "Updates the email on an existing checkout.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutEmailUpdateV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutGiftCardRemoveV2Payload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutGiftCardsAppend", + "description": "Appends gift cards to 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "giftCardCodes", + "description": "A list of gift card codes to append to the checkout.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutGiftCardsAppendPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutLineItemsAdd", + "description": "Adds a list of line items to a checkout.", + "args": [ + { + "name": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "A list of line item objects to add to the checkout.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItemIds", + "description": "Line item ids to remove.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": 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": "checkoutId", + "description": "The ID of the checkout.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "A list of line item objects to set on the checkout.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lineItems", + "description": "Line items to update.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CheckoutLineItemsUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkoutShippingAddressUpdateV2", + "description": "Updates the shipping address of 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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerAccessTokenCreatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAccessTokenCreateWithMultipass", + "description": "Creates a customer access token using a\n[multipass token](https://shopify.dev/api/multipass) instead of email and\npassword. A customer record is created if the customer doesn't exist. If a customer\nrecord already exists but the record is disabled, then the customer record is enabled.\n", + "args": [ + { + "name": "multipassToken", + "description": "A valid [multipass token](https://shopify.dev/api/multipass) to be authenticated.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerActivateByUrlPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAddressCreate", + "description": "Creates a new address for a customer.", + "args": [ + { + "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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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": "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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "Specifies the address to delete.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerAddressDeletePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerAddressUpdate", + "description": "Updates the address of an existing customer.", + "args": [ + { + "name": "address", + "description": "The customer’s mailing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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": "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, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerDefaultAddressUpdatePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerRecover", + "description": "Sends a reset password email to the customer. The reset password\nemail contains a reset password URL and token that you can pass to\nthe [`customerResetByUrl`](https://shopify.dev/api/storefront/latest/mutations/customerResetByUrl) or\n[`customerReset`](https://shopify.dev/api/storefront/latest/mutations/customerReset) mutation to reset the\ncustomer password.\n\nThis mutation is throttled by IP. With private access,\nyou can provide a [`Shopify-Storefront-Buyer-IP`](https://shopify.dev/api/usage/authentication#optional-ip-header) instead of the request IP.\nThe header is case-sensitive and must be sent as `Shopify-Storefront-Buyer-IP`.\n\nMake sure that the value provided to `Shopify-Storefront-Buyer-IP` is trusted. Unthrottled access to this\nmutation presents a security risk.\n", + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerRecoverPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerReset", + "description": "\"Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation.\"\n", + "args": [ + { + "name": "id", + "description": "Specifies the customer to reset.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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 a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation.\"\n", + "args": [ + { + "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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resetUrl", + "description": "The customer's reset password url.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CustomerResetByUrlPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customerUpdate", + "description": "Updates an existing customer.", + "args": [ + { + "name": "customer", + "description": "The customer object input.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CustomerUpdateInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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, + "isDeprecated": false, + "deprecationReason": 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 field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.\n", + "fields": [ + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "AppliedGiftCard", "ofType": null}, + {"kind": "OBJECT", "name": "Article", "ofType": null}, + {"kind": "OBJECT", "name": "Blog", "ofType": null}, + {"kind": "OBJECT", "name": "Cart", "ofType": null}, + {"kind": "OBJECT", "name": "CartLine", "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": "ComponentizableCartLine", "ofType": null}, + {"kind": "OBJECT", "name": "ExternalVideo", "ofType": null}, + {"kind": "OBJECT", "name": "GenericFile", "ofType": null}, + {"kind": "OBJECT", "name": "Location", "ofType": null}, + {"kind": "OBJECT", "name": "MailingAddress", "ofType": null}, + {"kind": "OBJECT", "name": "Market", "ofType": null}, + {"kind": "OBJECT", "name": "MediaImage", "ofType": null}, + {"kind": "OBJECT", "name": "MediaPresentation", "ofType": null}, + {"kind": "OBJECT", "name": "Menu", "ofType": null}, + {"kind": "OBJECT", "name": "MenuItem", "ofType": null}, + {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + {"kind": "OBJECT", "name": "Metaobject", "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": "Shop", "ofType": null}, + {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + {"kind": "OBJECT", "name": "UrlRedirect", "ofType": null}, + {"kind": "OBJECT", "name": "Video", "ofType": null} + ] + }, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "description": "Represents a resource that can be published to the Online Store sales channel.", + "fields": [ + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Article", "ofType": null}, + {"kind": "OBJECT", "name": "Blog", "ofType": null}, + {"kind": "OBJECT", "name": "Collection", "ofType": null}, + {"kind": "OBJECT", "name": "Metaobject", "ofType": null}, + {"kind": "OBJECT", "name": "Page", "ofType": null}, + {"kind": "OBJECT", "name": "Product", "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": "billingAddress", + "description": "The address associated with the payment method.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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 aren't 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": "customAttributes", + "description": "A list of the custom attributes added to the order.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "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": "A globally-unique ID.", + "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": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "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": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "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": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtotalPriceV2", + "description": "Price of the order before duties, shipping and taxes.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `subtotalPrice` instead." + }, + { + "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, + "isDeprecated": false, + "deprecationReason": 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, 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": "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": true, + "deprecationReason": "Use `totalPrice` instead." + }, + { + "name": "totalRefunded", + "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": "totalRefundedV2", + "description": "The total amount that has been refunded.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `totalRefunded` instead." + }, + { + "name": "totalShippingPrice", + "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": "totalShippingPriceV2", + "description": "The total cost of shipping.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `totalShippingPrice` instead." + }, + { + "name": "totalTax", + "description": "The total cost of taxes.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalTaxV2", + "description": "The total cost of taxes.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `totalTax` instead." + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"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": "DECLINED", + "description": "Payment was declined.", + "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": "OTHER", + "description": "The order was canceled for an unlisted reason.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STAFF", + "description": "Staff made an error.", + "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": "nodes", + "description": "A list of the nodes contained in OrderEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Order", "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 + }, + { + "name": "totalCount", + "description": "The total count of Orders.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UnsignedInt64", + "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": "AUTHORIZED", + "description": "Displayed as **Authorized**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAID", + "description": "Displayed as **Paid**.", + "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": "PENDING", + "description": "Displayed as **Pending**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REFUNDED", + "description": "Displayed as **Refunded**.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VOIDED", + "description": "Displayed as **Voided**.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderFulfillmentStatus", + "description": "Represents the order's aggregated fulfillment status for display purposes.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "FULFILLED", + "description": "Displayed as **Fulfilled**. All of the items in the order have been fulfilled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "IN_PROGRESS", + "description": "Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ON_HOLD", + "description": "Displayed as **On hold**. All of the unfulfilled items in this order are on hold.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OPEN", + "description": "Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by \"UNFULFILLED\" status.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARTIALLY_FULFILLED", + "description": "Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING_FULFILLMENT", + "description": "Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by \"IN_PROGRESS\" status.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RESTOCKED", + "description": "Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by \"UNFULFILLED\" status.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCHEDULED", + "description": "Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNFULFILLED", + "description": "Displayed as **Unfulfilled**. None of the items in the order have been fulfilled.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderLineItem", + "description": "Represents a single line in an order. There is one line item for each distinct product variant.", + "fields": [ + { + "name": "currentQuantity", + "description": "The number of entries associated to the line item minus the items that have been removed.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customAttributes", + "description": "List of custom attributes associated to the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Attribute", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountAllocations", + "description": "The discounts that have been allocated onto the order line item by discount applications.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DiscountAllocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "discountedTotalPrice", + "description": "The total price of the line item, including discounts, and displayed in the presentment currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originalTotalPrice", + "description": "The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it's displayed in the presentment currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "The number of products variants associated to the line item.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the product combined with title of the variant.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variant", + "description": "The product variant object associated to the line item.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderLineItemConnection", + "description": "An auto-generated type for paginating through multiple OrderLineItems.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderLineItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in OrderLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderLineItem", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "OrderLineItemEdge", + "description": "An auto-generated type which holds one OrderLineItem and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of OrderLineItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrderLineItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "OrderSortKeys", + "description": "The set of valid sort keys for the Order query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROCESSED_AT", + "description": "Sort by the `processed_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TOTAL_PRICE", + "description": "Sort by the `total_price` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Page", + "description": "Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.", + "fields": [ + { + "name": "body", + "description": "The description of the page, complete with HTML formatting.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "bodySummary", + "description": "Summary of the page body.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The timestamp of the page creation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "A human-friendly unique string for the page automatically generated from its title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The page's SEO information.", + "args": [], + "type": {"kind": "OBJECT", "name": "SEO", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The timestamp of the latest page update.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + }, + {"kind": "INTERFACE", "name": "Trackable", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageConnection", + "description": "An auto-generated type for paginating through multiple Pages.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in PageEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Page", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageEdge", + "description": "An auto-generated type which holds one Page and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of PageEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Page", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageInfo", + "description": "Returns information about pagination in a connection, in accordance with the\n[Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).\nFor more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).\n", + "fields": [ + { + "name": "endCursor", + "description": "The cursor corresponding to the last node in edges.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasNextPage", + "description": "Whether there are more pages to fetch following the current page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasPreviousPage", + "description": "Whether there are any pages prior to the current page.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startCursor", + "description": "The cursor corresponding to the first node in edges.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "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": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "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": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "amountV2", + "description": "The amount of the payment.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `amount` instead." + }, + { + "name": "billingAddress", + "description": "The billing address for the payment.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MailingAddress", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "checkout", + "description": "The checkout to which the payment belongs.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Checkout", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creditCard", + "description": "The credit card used for the payment in the case of direct payments.", + "args": [], + "type": {"kind": "OBJECT", "name": "CreditCard", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "errorMessage", + "description": "A message describing a processing error during asynchronous processing.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "idempotencyKey", + "description": "A client-side generated token to identify a payment and perform idempotent operations.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).\n", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nextActionUrl", + "description": "The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ready", + "description": "Whether the payment is still processing asynchronously.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "test", + "description": "A flag to indicate if the payment is to be done in test mode for gateways that support it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "transaction", + "description": "The actual transaction recorded by Shopify after having processed the payment with the gateway.", + "args": [], + "type": {"kind": "OBJECT", "name": "Transaction", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PaymentSettings", + "description": "Settings related to payments.", + "fields": [ + { + "name": "acceptedCardBrands", + "description": "List of the card brands which the shop accepts.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CardBrand", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cardVaultUrl", + "description": "The url pointing to the endpoint to vault credit cards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "countryCode", + "description": "The country where the shop is located.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CountryCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "currencyCode", + "description": "The three-letter code for the shop's primary currency.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "CurrencyCode", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enabledPresentmentCurrencies", + "description": "A list of enabled currencies (ISO 4217 format) that the shop accepts.\nMerchants can enable currencies from their Shopify Payments settings in the Shopify admin.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CurrencyCode", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shopifyPaymentsAccountId", + "description": "The shop’s Shopify Payments account ID.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supportedDigitalWallets", + "description": "List of the digital wallets which the shop supports.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DigitalWallet", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PaymentTokenType", + "description": "The valid values for the types of payment token.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "APPLE_PAY", + "description": "Apple Pay token type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GOOGLE_PAY", + "description": "Google Pay token type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOPIFY_PAY", + "description": "Shopify Pay token type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "STRIPE_VAULT_TOKEN", + "description": "Stripe token type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VAULT", + "description": "Vault payment token type.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PredictiveSearchLimitScope", + "description": "Decides the distribution of results.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALL", + "description": "Return results up to limit across all types.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EACH", + "description": "Return results up to limit per type.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PredictiveSearchResult", + "description": "A predictive search result represents a list of products, collections, pages, articles, and query suggestions\nthat matches the predictive search query.\n", + "fields": [ + { + "name": "articles", + "description": "The articles that match the search query.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Article", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "collections", + "description": "The articles that match the search query.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Collection", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pages", + "description": "The pages that match the search query.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Page", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "products", + "description": "The products that match the search query.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Product", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queries", + "description": "The query suggestions that are relevant to the search query.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SearchQuerySuggestion", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PredictiveSearchType", + "description": "The types of search items to perform predictive search on.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ARTICLE", + "description": "Returns matching articles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COLLECTION", + "description": "Returns matching collections.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE", + "description": "Returns matching pages.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT", + "description": "Returns matching products.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "QUERY", + "description": "Returns matching query strings.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "PriceRangeFilter", + "description": "The input fields for a filter used to view a subset of products in a collection matching a specific price range.\n", + "fields": null, + "inputFields": [ + { + "name": "max", + "description": "The maximum price in the range. Empty indicates no max price.", + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": "The minimum price in the range. Defaults to zero.", + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "defaultValue": "0", + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PricingPercentageValue", + "description": "The value of the percentage pricing object.", + "fields": [ + { + "name": "percentage", + "description": "The percentage value of the object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "PricingValue", + "description": "The price value (fixed or percentage) for a discount application.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + {"kind": "OBJECT", "name": "PricingPercentageValue", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Product", + "description": "A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.\nFor example, a digital download (such as a movie, music or ebook file) also\nqualifies as a product, as do services (such as equipment rental, work for hire,\ncustomization of another product or an extended warranty).\n", + "fields": [ + { + "name": "availableForSale", + "description": "Indicates if at least one product variant is available for sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "collections", + "description": "List of collections a product belongs to.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CollectionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "compareAtPriceRange", + "description": "The compare at price of the product across all variants.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductPriceRange", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "The date and time when the product was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "Stripped description of the product, single line with HTML tags removed.", + "args": [ + { + "name": "truncateAt", + "description": "Truncates string after the given length.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "descriptionHtml", + "description": "The description of the product, complete with HTML formatting.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "HTML", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "featuredImage", + "description": "The featured image for the product.\n\nThis field is functionally equivalent to `images(first: 1)`.\n", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "A human-friendly unique string for the Product automatically generated from its title.\nThey are used by the Liquid templating language to refer to objects.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "images", + "description": "List of images associated with the product.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ProductImageSortKeys", + "ofType": null + }, + "defaultValue": "POSITION", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ImageConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isGiftCard", + "description": "Whether the product is a gift card.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "media", + "description": "The media associated with the product.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ProductMediaSortKeys", + "ofType": null + }, + "defaultValue": "POSITION", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MediaConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "onlineStoreUrl", + "description": "The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "options", + "description": "List of product options.", + "args": [ + { + "name": "first", + "description": "Truncate the array result to this size.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceRange", + "description": "The price range.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductPriceRange", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productType", + "description": "A categorization that a product can be tagged with, commonly used for filtering and searching.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publishedAt", + "description": "The date and time when the product was published to the channel.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "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": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanGroupConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "seo", + "description": "The product's SEO information.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "SEO", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tags", + "description": "A comma separated list of tags that have been added to the product.\nAdditional access scope required for private apps: unauthenticated_read_product_tags.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The product’s title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalInventory", + "description": "The total quantity of inventory in stock for this Product.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": "The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantBySelectedOptions", + "description": "Find a product’s variant based on its selected options.\nThis is useful for converting a user’s selection of product options into a single matching variant.\nIf there is not a variant for the selected options, `null` will be returned.\n", + "args": [ + { + "name": "selectedOptions", + "description": "The input fields used for a selected option.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variants", + "description": "List of the product’s variants.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ProductVariantSortKeys", + "ofType": null + }, + "defaultValue": "POSITION", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductVariantConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "vendor", + "description": "The product’s vendor name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null}, + { + "kind": "INTERFACE", + "name": "OnlineStorePublishable", + "ofType": null + }, + {"kind": "INTERFACE", "name": "Trackable", "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": "BEST_SELLING", + "description": "Sort by the `best-selling` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COLLECTION_DEFAULT", + "description": "Sort by the `collection-default` 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": "PRICE", + "description": "Sort by the `price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProductConnection", + "description": "An auto-generated type for paginating through multiple Products.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "filters", + "description": "A list of available filters.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Filter", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ProductEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Product", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProductEdge", + "description": "An auto-generated type which holds one Product and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of ProductEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Product", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ProductFilter", + "description": "The input fields for a filter used to view a subset of products in a collection.\nBy default, the `available` and `price` filters are enabled. Filters are customized with the Shopify Search & Discovery app.\nLearn more about [customizing storefront filtering](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters).\n", + "fields": null, + "inputFields": [ + { + "name": "available", + "description": "Filter on if the product is available for sale.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "A range of prices to filter with-in.", + "type": { + "kind": "INPUT_OBJECT", + "name": "PriceRangeFilter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productMetafield", + "description": "A product metafield to filter on.", + "type": { + "kind": "INPUT_OBJECT", + "name": "MetafieldFilter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productType", + "description": "The product type to filter on.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productVendor", + "description": "The product vendor to filter on.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "tag", + "description": "A product tag to filter on.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantMetafield", + "description": "A variant metafield to filter on.", + "type": { + "kind": "INPUT_OBJECT", + "name": "MetafieldFilter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantOption", + "description": "A variant option to filter on.", + "type": { + "kind": "INPUT_OBJECT", + "name": "VariantOptionFilter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "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": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POSITION", + "description": "Sort by the `position` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ProductMediaSortKeys", + "description": "The set of valid sort keys for the ProductMedia query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POSITION", + "description": "Sort by the `position` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\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": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The product option’s name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "values", + "description": "The corresponding value to the product option name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProductPriceRange", + "description": "The price range of the product.", + "fields": [ + { + "name": "maxVariantPrice", + "description": "The highest variant's price.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "minVariantPrice", + "description": "The lowest variant's price.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ProductRecommendationIntent", + "description": "The recommendation intent that is used to generate product recommendations.\nYou can use intent to generate product recommendations according to different strategies.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "COMPLEMENTARY", + "description": "Offer customers products that are complementary to a product for which recommendations are to be fetched. An example is add-on products that display in a Pair it with section.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELATED", + "description": "Offer customers a mix of products that are similar or complementary to a product for which recommendations are to be fetched. An example is substitutable products that display in a You may also like section.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ProductSortKeys", + "description": "The set of valid sort keys for the Product query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BEST_SELLING", + "description": "Sort by the `best_selling` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CREATED_AT", + "description": "Sort by the `created_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRICE", + "description": "Sort by the `price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT_TYPE", + "description": "Sort by the `product_type` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UPDATED_AT", + "description": "Sort by the `updated_at` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VENDOR", + "description": "Sort by the `vendor` value.", + "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.\n", + "fields": [ + { + "name": "availableForSale", + "description": "Indicates if the product variant is available for sale.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "barcode", + "description": "The barcode (for example, ISBN, UPC, or GTIN) associated with the variant.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "compareAtPrice", + "description": "The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "compareAtPriceV2", + "description": "The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `compareAtPrice` instead." + }, + { + "name": "currentlyNotInStock", + "description": "Whether a product is out of stock but still available for purchase (used for backorders).", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": "Image associated with the product variant. This field falls back to the product image if no image is available.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "The product variant’s price.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceV2", + "description": "The product variant’s price.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `price` instead." + }, + { + "name": "product", + "description": "The product object that the product variant belongs to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Product", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantityAvailable", + "description": "The total sellable quantity of the variant for online sales channels.", + "args": [], + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiresShipping", + "description": "Whether a customer needs to provide a shipping address when placing an order for the product variant.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "selectedOptions", + "description": "List of product options applied to the variant.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SelectedOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "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": "storeAvailability", + "description": "The in-store pickup availability of this variant by location.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "near", + "description": "Used to sort results based on proximity to the provided location.", + "type": { + "kind": "INPUT_OBJECT", + "name": "GeoCoordinateInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StoreAvailabilityConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The product variant’s title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPrice", + "description": "The unit price value for the variant based on the variant's measurement.", + "args": [], + "type": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unitPriceMeasurement", + "description": "The unit price measurement for the variant.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "UnitPriceMeasurement", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "weight", + "description": "The weight of the product variant in the unit system specified with `weight_unit`.", + "args": [], + "type": {"kind": "SCALAR", "name": "Float", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "weightUnit", + "description": "Unit of measurement for weight.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "WeightUnit", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantConnection", + "description": "An auto-generated type for paginating through multiple ProductVariants.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductVariantEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in ProductVariantEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProductVariantEdge", + "description": "An auto-generated type which holds one ProductVariant and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of ProductVariantEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductVariant", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ProductVariantSortKeys", + "description": "The set of valid sort keys for the ProductVariant query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ID", + "description": "Sort by the `id` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POSITION", + "description": "Sort by the `position` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SKU", + "description": "Sort by the `sku` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Sort by the `title` value.", + "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": "article", + "description": "Fetch a specific Article by its ID.", + "args": [ + { + "name": "id", + "description": "The ID of the `Article`.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Article", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "articles", + "description": "List of the shop's articles.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `author`\n - `blog_title`\n - `created_at`\n - `tag`\n - `tag_not`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ArticleSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArticleConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blog", + "description": "Fetch a specific `Blog` by one of its unique attributes.", + "args": [ + { + "name": "handle", + "description": "The handle of the `Blog`.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the `Blog`.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Blog", "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Blog", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `blog` instead." + }, + { + "name": "blogs", + "description": "List of the shop's blogs.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "BlogSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlogConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cart", + "description": "Retrieve a cart by its ID. For more information, refer to\n[Manage a cart with the Storefront API](https://shopify.dev/custom-storefronts/cart/manage).\n", + "args": [ + { + "name": "id", + "description": "The ID of the cart.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Cart", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cartCompletionAttempt", + "description": "A poll for the status of the cart checkout completion and order creation.\n", + "args": [ + { + "name": "attemptId", + "description": "The ID of the attempt.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "UNION", + "name": "CartCompletionAttemptResult", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "collection", + "description": "Fetch a specific `Collection` by one of its unique attributes.", + "args": [ + { + "name": "handle", + "description": "The handle of the `Collection`.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the `Collection`.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Collection", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "collectionByHandle", + "description": "Find a collection by its handle.", + "args": [ + { + "name": "handle", + "description": "The handle of the collection.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Collection", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `collection` instead." + }, + { + "name": "collections", + "description": "List of the shop’s collections.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `collection_type`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "CollectionSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CollectionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "customer", + "description": "The customer associated with the given access token. Tokens are obtained by using the\n[`customerAccessTokenCreate` mutation](https://shopify.dev/docs/api/storefront/latest/mutations/customerAccessTokenCreate).\n", + "args": [ + { + "name": "customerAccessToken", + "description": "The customer access token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "OBJECT", + "name": "Localization", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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\n", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "near", + "description": "Used to sort results based on proximity to the provided location.", + "type": { + "kind": "INPUT_OBJECT", + "name": "GeoCoordinateInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "LocationSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LocationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "menu", + "description": "Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle.", + "args": [ + { + "name": "handle", + "description": "The navigation menu's handle.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Menu", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metaobject", + "description": "Fetch a specific Metaobject by one of its unique identifiers.", + "args": [ + { + "name": "handle", + "description": "The handle and type of the metaobject.", + "type": { + "kind": "INPUT_OBJECT", + "name": "MetaobjectHandleInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the metaobject.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metaobject", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metaobjects", + "description": "All active metaobjects for the shop.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "The key of a field to sort with. Supports \"id\" and \"updated_at\".", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of metaobject to retrieve.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MetaobjectConnection", + "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, + "isDeprecated": false, + "deprecationReason": 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.\n\nThe input must not contain more than `250` values.", + "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": {"kind": "INTERFACE", "name": "Node", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "page", + "description": "Fetch a specific `Page` by one of its unique attributes.", + "args": [ + { + "name": "handle", + "description": "The handle of the `Page`.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the `Page`.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Page", "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, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Page", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `page` instead." + }, + { + "name": "pages", + "description": "List of the shop's pages.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `handle`\n - `title`\n - `updated_at`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "PageSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "predictiveSearch", + "description": "List of the predictive search results.", + "args": [ + { + "name": "limit", + "description": "Limits the number of results based on `limit_scope`. The value can range from 1 to 10, and the default is 10.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "limitScope", + "description": "Decides the distribution of results.", + "type": { + "kind": "ENUM", + "name": "PredictiveSearchLimitScope", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "The search query.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "searchableFields", + "description": "Specifies the list of resource fields to use for search. The default fields searched on are TITLE, PRODUCT_TYPE, VARIANT_TITLE, and VENDOR. For the best search experience, you should search on the default field set.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SearchableField", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "The types of resources to search for.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PredictiveSearchType", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unavailableProducts", + "description": "Specifies how unavailable products are displayed in the search results.", + "type": { + "kind": "ENUM", + "name": "SearchUnavailableProductsType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PredictiveSearchResult", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "product", + "description": "Fetch a specific `Product` by one of its unique attributes.", + "args": [ + { + "name": "handle", + "description": "The handle of the `Product`.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the `Product`.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Product", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productByHandle", + "description": "Find a product by its handle.", + "args": [ + { + "name": "handle", + "description": "A unique string that identifies the product. Handles are automatically\ngenerated based on the product's title, and are always lowercase. Whitespace\nand special characters are replaced with a hyphen: `-`. If there are\nmultiple consecutive whitespace or special characters, then they're replaced\nwith a single hyphen. Whitespace or special characters at the beginning are\nremoved. If a duplicate product title is used, then the handle is\nauto-incremented by one. For example, if you had two products called\n`Potion`, then their handles would be `potion` and `potion-1`. After a\nproduct has been created, changing the product title doesn't update the handle.\n", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Product", "ofType": null}, + "isDeprecated": true, + "deprecationReason": "Use `product` instead." + }, + { + "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": "intent", + "description": "The recommendation intent that is used to generate product recommendations. You can use intent to generate product recommendations on various pages across the channels, according to different strategies.", + "type": { + "kind": "ENUM", + "name": "ProductRecommendationIntent", + "ofType": null + }, + "defaultValue": "RELATED", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productId", + "description": "The id of the product.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Product", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productTags", + "description": "Tags added to products.\nAdditional access scope required: unauthenticated_read_product_tags.\n", + "args": [ + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productTypes", + "description": "List of product types for the shop's products that are published to your app.", + "args": [ + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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. For storefront search, use [`search` query](https://shopify.dev/docs/api/storefront/latest/queries/search).", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `available_for_sale`\n - `created_at`\n - `product_type`\n - `tag`\n - `tag_not`\n - `title`\n - `updated_at`\n - `variants.price`\n - `vendor`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "ProductSortKeys", + "ofType": null + }, + "defaultValue": "ID", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProductConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicApiVersions", + "description": "The list of public Storefront API versions, including supported, release candidate and unstable versions.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ApiVersion", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "search", + "description": "List of the search results.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "prefix", + "description": "Specifies whether to perform a partial word match on the last search term.", + "type": { + "kind": "ENUM", + "name": "SearchPrefixQueryType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "productFilters", + "description": "Returns a subset of products matching all product filters.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ProductFilter", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "The search query.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": 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": "sortKey", + "description": "Sort the underlying list by the given key.", + "type": { + "kind": "ENUM", + "name": "SearchSortKeys", + "ofType": null + }, + "defaultValue": "RELEVANCE", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "The types of resources to search for.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SearchType", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unavailableProducts", + "description": "Specifies how unavailable products are displayed in the search results.", + "type": { + "kind": "ENUM", + "name": "SearchUnavailableProductsType", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SearchResultItemConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shop", + "description": "The shop associated with the storefront access token.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Shop", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "urlRedirects", + "description": "A list of redirects for a shop.", + "args": [ + { + "name": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "query", + "description": "Supported filter parameters:\n - `created_at`\n - `path`\n - `target`\n\nSee the detailed [search syntax](https://shopify.dev/api/usage/search-syntax)\nfor more information about using filters.\n", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UrlRedirectConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SEO", + "description": "SEO information.", + "fields": [ + { + "name": "description", + "description": "The meta description.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The SEO title.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ScriptDiscountApplication", + "description": "Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script.\n", + "fields": [ + { + "name": "allocationMethod", + "description": "The method by which the discount's value is allocated to its entitled items.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationAllocationMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetSelection", + "description": "Which lines of targetType that the discount is allocated over.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetSelection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "targetType", + "description": "The type of line that the discount is applicable towards.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DiscountApplicationTargetType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the application as defined by the Script.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the discount application.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "PricingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DiscountApplication", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SearchPrefixQueryType", + "description": "Specifies whether to perform a partial word match on the last search term.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LAST", + "description": "Perform a partial word match on the last search term.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NONE", + "description": "Don't perform a partial word match on the last search term.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SearchQuerySuggestion", + "description": "A search query suggestion.", + "fields": [ + { + "name": "styledText", + "description": "The text of the search query suggestion with highlighted HTML tags.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "text", + "description": "The text of the search query suggestion.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Trackable", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "SearchResultItem", + "description": "A search result that matches the search query.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Article", "ofType": null}, + {"kind": "OBJECT", "name": "Page", "ofType": null}, + {"kind": "OBJECT", "name": "Product", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "SearchResultItemConnection", + "description": "An auto-generated type for paginating through multiple SearchResultItems.\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": "SearchResultItemEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SearchResultItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "SearchResultItem", + "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 + }, + { + "name": "productFilters", + "description": "A list of available filters.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Filter", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalCount", + "description": "The total number of results.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SearchResultItemEdge", + "description": "An auto-generated type which holds one SearchResultItem 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 SearchResultItemEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "SearchResultItem", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SearchSortKeys", + "description": "The set of valid sort keys for the search query.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PRICE", + "description": "Sort by the `price` value.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RELEVANCE", + "description": "Sort by relevance to the search terms.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SearchType", + "description": "The types of search items to perform search within.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ARTICLE", + "description": "Returns matching articles.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAGE", + "description": "Returns matching pages.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT", + "description": "Returns matching products.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SearchUnavailableProductsType", + "description": "Specifies whether to display results for unavailable products.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "HIDE", + "description": "Exclude unavailable products.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LAST", + "description": "Show unavailable products after all other matching results. This is the default.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SHOW", + "description": "Show unavailable products in the order that they're found.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SearchableField", + "description": "Specifies the list of resource fields to search.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHOR", + "description": "Author of the page or article.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BODY", + "description": "Body of the page or article or product description or collection description.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRODUCT_TYPE", + "description": "Product type.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAG", + "description": "Tag associated with the product or article.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TITLE", + "description": "Title of the page or article or product title or collection title.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANTS_BARCODE", + "description": "Variant barcode.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANTS_SKU", + "description": "Variant SKU.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANTS_TITLE", + "description": "Variant title.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VENDOR", + "description": "Product vendor.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SelectedOption", + "description": "Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.\n", + "fields": [ + { + "name": "name", + "description": "The product option’s name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The product option’s value.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SelectedOptionInput", + "description": "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, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The product option’s value.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlan", + "description": "Represents how products and variants can be sold and purchased.", + "fields": [ + { + "name": "checkoutCharge", + "description": "The initial payment due for the purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanCheckoutCharge", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The description of the selling plan.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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 selling plan. For example, '6 weeks of prepaid granola, delivered weekly'.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "options", + "description": "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. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceAdjustments", + "description": "The price adjustments that a selling plan makes when a variant is purchased with a selling plan.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanPriceAdjustment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recurringDeliveries", + "description": "Whether purchasing the selling plan will result in multiple deliveries.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "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": "checkoutChargeAmount", + "description": "The checkout charge amount due for the purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAllocationPriceAdjustment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "remainingBalanceChargeAmount", + "description": "The remaining balance charge amount due for the purchase.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "SellingPlan", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanAllocationConnection", + "description": "An auto-generated type for paginating through multiple SellingPlanAllocations.\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": "SellingPlanAllocationEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SellingPlanAllocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanAllocation", + "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": "SellingPlanAllocationEdge", + "description": "An auto-generated type which holds one SellingPlanAllocation 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 SellingPlanAllocationEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "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": "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": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": 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": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": 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": "MoneyV2", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanCheckoutCharge", + "description": "The initial payment due for the purchase.", + "fields": [ + { + "name": "type", + "description": "The charge type for the checkout charge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SellingPlanCheckoutChargeType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The charge value for the checkout charge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "SellingPlanCheckoutChargeValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SellingPlanCheckoutChargePercentageValue", + "description": "The percentage value of the price used for checkout charge.", + "fields": [ + { + "name": "percentage", + "description": "The percentage value of the price used for checkout charge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SellingPlanCheckoutChargeType", + "description": "The checkout charge when the full amount isn't charged at checkout.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PERCENTAGE", + "description": "The checkout charge is a percentage of the product or variant price.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRICE", + "description": "The checkout charge is a fixed price amount.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "SellingPlanCheckoutChargeValue", + "description": "The portion of the price to be charged at checkout.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "MoneyV2", "ofType": null}, + { + "kind": "OBJECT", + "name": "SellingPlanCheckoutChargePercentageValue", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "SellingPlanConnection", + "description": "An auto-generated type for paginating through multiple SellingPlans.\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": "SellingPlanEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SellingPlanEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlan", + "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": "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": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of SellingPlanEdge.", + "args": [], + "type": { + "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": "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": "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": "appName", + "description": "A display friendly name for the app that created the selling plan group.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the selling plan group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": 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": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanGroupOption", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "after", + "description": "Returns the elements that come after the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements that come before the specified cursor.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns up to the first `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns up to the last `n` elements from the list.", + "type": {"kind": "SCALAR", "name": "Int", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reverse", + "description": "Reverse the order of the underlying list.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "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": "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": "SellingPlanGroupEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in SellingPlanGroupEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SellingPlanGroup", + "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": "SellingPlanGroupEdge", + "description": "An auto-generated type which holds one SellingPlanGroup 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 SellingPlanGroupEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "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.\n\nIndividual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.", + "fields": [ + { + "name": "name", + "description": "The name of the option. For example, 'Delivery every'.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "LIST", + "name": null, + "ofType": { + "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": "SellingPlanOption", + "description": "An option provided by a Selling Plan.", + "fields": [ + { + "name": "name", + "description": "The name of the option (ie \"Delivery every\").", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "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": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "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. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price.", + "fields": [ + { + "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": "UNION", + "name": "SellingPlanPriceAdjustmentValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "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": "SCALAR", "name": "Int", "ofType": null}, + "isDeprecated": false, + "deprecationReason": 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", + "description": "A shipping rate to be applied to a checkout.", + "fields": [ + { + "name": "handle", + "description": "Human-readable unique identifier for this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "price", + "description": "Price of this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "priceV2", + "description": "Price of this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `price` instead." + }, + { + "name": "title", + "description": "Title of this shipping rate.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Shop", + "description": "Shop represents a collection of the general settings and information about the shop.", + "fields": [ + { + "name": "brand", + "description": "The shop's branding configuration.", + "args": [], + "type": {"kind": "OBJECT", "name": "Brand", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "A description of the shop.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafield", + "description": "Returns a metafield found by namespace and key.", + "args": [ + { + "name": "key", + "description": "The identifier for the metafield.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "namespace", + "description": "The container the metafield belongs to. If omitted, the app-reserved namespace will be used.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": {"kind": "OBJECT", "name": "Metafield", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metafields", + "description": "The metafields associated with the resource matching the supplied list of namespaces and keys.", + "args": [ + { + "name": "identifiers", + "description": "The list of metafields to retrieve by namespace and key.\n\nThe input must not contain more than `250` values.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "HasMetafieldsIdentifier", + "ofType": null + } + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Metafield", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "moneyFormat", + "description": "A string representing the way currency is formatted when the currency isn’t specified.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The shop’s name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentSettings", + "description": "Settings related to payments.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PaymentSettings", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "primaryDomain", + "description": "The primary domain of the shop’s Online Store.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "Domain", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "privacyPolicy", + "description": "The shop’s privacy policy.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refundPolicy", + "description": "The shop’s refund policy.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shippingPolicy", + "description": "The shop’s shipping policy.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shipsToCountries", + "description": "Countries that the shop ships to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CountryCode", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionPolicy", + "description": "The shop’s subscription policy.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "ShopPolicyWithDefault", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "termsOfService", + "description": "The shop’s terms of service.", + "args": [], + "type": {"kind": "OBJECT", "name": "ShopPolicy", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "HasMetafields", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ShopPayWalletContentInput", + "description": "The input fields for submitting Shop Pay payment method information for checkout.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The customer's billing address.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sessionToken", + "description": "Session token for transaction.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopPolicy", + "description": "Policy that a merchant has configured for their store, such as their refund or privacy policy.", + "fields": [ + { + "name": "body", + "description": "Policy text, maximum size of 64kb.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "Policy’s handle.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "Policy’s title.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "Public URL to the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [{"kind": "INTERFACE", "name": "Node", "ofType": null}], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ShopPolicyWithDefault", + "description": "A policy for the store that comes with a default value, such as a subscription policy.\nIf the merchant hasn't configured a policy for their store, then the policy will return the default value.\nOtherwise, the policy will return the merchant-configured value.\n", + "fields": [ + { + "name": "body", + "description": "The text of the policy. Maximum size: 64KB.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "handle", + "description": "The handle of the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The unique ID of the policy. A default policy doesn't have an ID.", + "args": [], + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "The title of the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "Public URL to the policy.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "URL", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "StoreAvailability", + "description": "The availability of a product variant at a particular location.\nLocal pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result.\n", + "fields": [ + { + "name": "available", + "description": "Whether the 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 + }, + { + "name": "quantityAvailable", + "description": "The quantity of the product variant in-stock at this location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "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": "nodes", + "description": "A list of the nodes contained in StoreAvailabilityEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StoreAvailability", + "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", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "StringConnection", + "description": "An auto-generated type for paginating through a list of Strings.\n", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StringEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "PageInfo", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "StringEdge", + "description": "An auto-generated type which holds one String and a cursor during pagination.\n", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of StringEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubmissionError", + "description": "An error that occurred during cart submit for completion.", + "fields": [ + { + "name": "code", + "description": "The error code.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SubmissionErrorCode", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "SubmissionErrorCode", + "description": "The code of the error that occurred during cart submit for completion.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "BUYER_IDENTITY_EMAIL_IS_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUYER_IDENTITY_EMAIL_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BUYER_IDENTITY_PHONE_IS_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS1_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS1_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS1_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS2_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS2_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS2_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ADDRESS_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_CITY_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_CITY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_CITY_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_COMPANY_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_COMPANY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_COMPANY_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_COUNTRY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_FIRST_NAME_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_FIRST_NAME_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_FIRST_NAME_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_INVALID_POSTAL_CODE_FOR_COUNTRY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_INVALID_POSTAL_CODE_FOR_ZONE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_LAST_NAME_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_LAST_NAME_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_LAST_NAME_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_NO_DELIVERY_AVAILABLE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_NO_DELIVERY_AVAILABLE_FOR_MERCHANDISE_LINE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_OPTIONS_PHONE_NUMBER_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_OPTIONS_PHONE_NUMBER_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_PHONE_NUMBER_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_PHONE_NUMBER_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_POSTAL_CODE_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_POSTAL_CODE_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ZONE_NOT_FOUND", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DELIVERY_ZONE_REQUIRED_FOR_COUNTRY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ERROR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MERCHANDISE_LINE_LIMIT_REACHED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MERCHANDISE_NOT_APPLICABLE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MERCHANDISE_NOT_ENOUGH_STOCK_AVAILABLE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MERCHANDISE_OUT_OF_STOCK", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MERCHANDISE_PRODUCT_NOT_PUBLISHED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO_DELIVERY_GROUP_SELECTED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS1_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS1_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS1_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS2_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS2_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_ADDRESS2_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_BILLING_ADDRESS_ZONE_NOT_FOUND", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_BILLING_ADDRESS_ZONE_REQUIRED_FOR_COUNTRY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CITY_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CITY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CITY_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_COMPANY_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_COMPANY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_COMPANY_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_COUNTRY_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_BASE_EXPIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_BASE_GATEWAY_NOT_SUPPORTED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_BASE_INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_BRAND_NOT_SUPPORTED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_FIRST_NAME_BLANK", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_GENERIC", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_LAST_NAME_BLANK", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_MONTH_INCLUSION", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_NAME_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_NUMBER_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_NUMBER_INVALID_FORMAT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_SESSION_ID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_BLANK", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_YEAR_EXPIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_CREDIT_CARD_YEAR_INVALID_EXPIRY_YEAR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_FIRST_NAME_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_FIRST_NAME_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_FIRST_NAME_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_INVALID_POSTAL_CODE_FOR_COUNTRY", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_INVALID_POSTAL_CODE_FOR_ZONE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_LAST_NAME_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_LAST_NAME_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_LAST_NAME_TOO_LONG", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_METHOD_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_METHOD_UNAVAILABLE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_PHONE_NUMBER_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_PHONE_NUMBER_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_POSTAL_CODE_INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_POSTAL_CODE_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_SHOPIFY_PAYMENTS_REQUIRED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_UNACCEPTABLE_PAYMENT_AMOUNT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PAYMENTS_WALLET_CONTENT_MISSING", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAXES_DELIVERY_GROUP_ID_NOT_FOUND", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAXES_LINE_ID_NOT_FOUND", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "TAXES_MUST_BE_DEFINED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubmitAlreadyAccepted", + "description": "Cart submit for checkout completion is successful.", + "fields": [ + { + "name": "attemptId", + "description": "The ID of the cart completion attempt that will be used for polling for the result.", + "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": "SubmitFailed", + "description": "Cart submit for checkout completion failed.", + "fields": [ + { + "name": "checkoutUrl", + "description": "The URL of the checkout for the cart.", + "args": [], + "type": {"kind": "SCALAR", "name": "URL", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "errors", + "description": "The list of errors that occurred from executing the mutation.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubmissionError", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubmitSuccess", + "description": "Cart submit for checkout completion is already accepted.", + "fields": [ + { + "name": "attemptId", + "description": "The ID of the cart completion attempt that will be used for polling for the result.", + "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": "SubmitThrottled", + "description": "Cart submit for checkout completion is throttled.", + "fields": [ + { + "name": "pollAfter", + "description": "UTC date time string that indicates the time after which clients should make their next\npoll request. Any poll requests sent before this time will be ignored. Use this value to schedule the\nnext poll request.\n", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "DateTime", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "TokenizedPaymentInputV3", + "description": "Specifies the fields required to complete a checkout with\na tokenized payment.\n", + "fields": null, + "inputFields": [ + { + "name": "billingAddress", + "description": "The billing address for the payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MailingAddressInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "idempotencyKey", + "description": "A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "identifier", + "description": "Public Hash Key used for AndroidPay payments only.", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentAmount", + "description": "The amount and currency of the payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "MoneyInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "paymentData", + "description": "A simple string or JSON containing the required payment data for the tokenized payment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "test", + "description": "Whether to execute the payment in test mode, if possible. Test mode isn't supported in production stores. Defaults to `false`.", + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": "The type of payment token.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PaymentTokenType", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Trackable", + "description": "Represents a resource that you can track the origin of the search traffic.", + "fields": [ + { + "name": "trackingParameters", + "description": "A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + {"kind": "OBJECT", "name": "Article", "ofType": null}, + {"kind": "OBJECT", "name": "Collection", "ofType": null}, + {"kind": "OBJECT", "name": "Page", "ofType": null}, + {"kind": "OBJECT", "name": "Product", "ofType": null}, + {"kind": "OBJECT", "name": "SearchQuerySuggestion", "ofType": null} + ] + }, + { + "kind": "OBJECT", + "name": "Transaction", + "description": "An object representing exchange of money for a product or service.", + "fields": [ + { + "name": "amount", + "description": "The amount of money that the transaction was for.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "amountV2", + "description": "The amount of money that the transaction was for.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "MoneyV2", "ofType": null} + }, + "isDeprecated": true, + "deprecationReason": "Use `amount` instead." + }, + { + "name": "kind", + "description": "The kind of the transaction.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TransactionKind", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "The status of the transaction.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TransactionStatus", + "ofType": null + } + }, + "isDeprecated": true, + "deprecationReason": "Use `statusV2` instead." + }, + { + "name": "statusV2", + "description": "The status of the transaction.", + "args": [], + "type": { + "kind": "ENUM", + "name": "TransactionStatus", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "test", + "description": "Whether the transaction was done in test mode or not.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TransactionKind", + "description": "The different kinds of order transactions.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AUTHORIZATION", + "description": "An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.\n", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CAPTURE", + "description": "A transfer of the money that was reserved during the authorization stage.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHANGE", + "description": "Money returned to the customer when they have paid too much.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EMV_AUTHORIZATION", + "description": "An authorization for a payment taken with an EMV credit card reader.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SALE", + "description": "An authorization and capture performed together in a single step.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "TransactionStatus", + "description": "Transaction statuses describe the status of a transaction.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ERROR", + "description": "There was an error while processing the transaction.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FAILURE", + "description": "The transaction failed.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PENDING", + "description": "The transaction is pending.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUCCESS", + "description": "The transaction succeeded.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "URL", + "description": "Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\n\nFor example, `\"https://johns-apparel.myshopify.com\"` is a valid URL. It includes a scheme (`https`) and a host\n(`johns-apparel.myshopify.com`).\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UnitPriceMeasurement", + "description": "The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).\n", + "fields": [ + { + "name": "measuredType", + "description": "The type of unit of measurement for the unit price measurement.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UnitPriceMeasurementMeasuredType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantityUnit", + "description": "The quantity unit for the unit price measurement.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UnitPriceMeasurementMeasuredUnit", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantityValue", + "description": "The quantity value for the unit price measurement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Float", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "referenceUnit", + "description": "The reference unit for the unit price measurement.", + "args": [], + "type": { + "kind": "ENUM", + "name": "UnitPriceMeasurementMeasuredUnit", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "referenceValue", + "description": "The reference value for the unit price measurement.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UnitPriceMeasurementMeasuredType", + "description": "The accepted types of unit of measurement.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "AREA", + "description": "Unit of measurements representing areas.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LENGTH", + "description": "Unit of measurements representing lengths.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VOLUME", + "description": "Unit of measurements representing volumes.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "WEIGHT", + "description": "Unit of measurements representing weights.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UnitPriceMeasurementMeasuredUnit", + "description": "The valid units of measurement for a unit price measurement.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CL", + "description": "100 centiliters equals 1 liter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CM", + "description": "100 centimeters equals 1 meter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "G", + "description": "Metric system unit of weight.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KG", + "description": "1 kilogram equals 1000 grams.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "L", + "description": "Metric system unit of volume.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M", + "description": "Metric system unit of length.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M2", + "description": "Metric system unit of area.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "M3", + "description": "1 cubic meter equals 1000 liters.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MG", + "description": "1000 milligrams equals 1 gram.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ML", + "description": "1000 milliliters equals 1 liter.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MM", + "description": "1000 millimeters equals 1 meter.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "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": "SCALAR", + "name": "UnsignedInt64", + "description": "An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.\n\nExample value: `\"50\"`.\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UrlRedirect", + "description": "A redirect on the online store.", + "fields": [ + { + "name": "id", + "description": "The ID of the URL redirect.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "ID", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": "The old path to be redirected from. When the user visits this path, they'll be redirected to the target location.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "target", + "description": "The target location where the user will be redirected to.", + "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": "UrlRedirectConnection", + "description": "An auto-generated type for paginating through multiple UrlRedirects.\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": "UrlRedirectEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of the nodes contained in UrlRedirectEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UrlRedirect", + "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": "UrlRedirectEdge", + "description": "An auto-generated type which holds one UrlRedirect 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 UrlRedirectEdge.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UrlRedirect", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserError", + "description": "Represents an error in the input of a mutation.", + "fields": [ + { + "name": "field", + "description": "The path to the input field that caused the error.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "The error message.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "DisplayableError", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "VariantOptionFilter", + "description": "The input fields for a filter used to view a subset of products in a collection matching a specific variant option.", + "fields": null, + "inputFields": [ + { + "name": "name", + "description": "The name of the variant option to filter on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "value", + "description": "The value of the variant option to filter on.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Video", + "description": "Represents a Shopify hosted video.", + "fields": [ + { + "name": "alt", + "description": "A word or phrase to share the nature or contents of a media.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "A globally-unique ID.", + "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": "presentation", + "description": "The presentation for a media.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MediaPresentation", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewImage", + "description": "The preview image for the media.", + "args": [], + "type": {"kind": "OBJECT", "name": "Image", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sources", + "description": "The sources for a video.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VideoSource", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + {"kind": "INTERFACE", "name": "Media", "ofType": null}, + {"kind": "INTERFACE", "name": "Node", "ofType": null} + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "VideoSource", + "description": "Represents a source for a Shopify hosted video.", + "fields": [ + { + "name": "format", + "description": "The format of the video source.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": "The height of the video.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mimeType", + "description": "The video MIME type.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": "The URL of the video.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": "The width of the video.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Int", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "WeightUnit", + "description": "Units of measurement for weight.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "GRAMS", + "description": "Metric system unit of mass.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "KILOGRAMS", + "description": "1 kilogram equals 1000 grams.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OUNCES", + "description": "Imperial system unit of mass.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POUNDS", + "description": "1 pound equals 16 ounces.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Directive", + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isRepeatable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__DirectiveLocation", + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "QUERY", + "description": "Location adjacent to a query operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUTATION", + "description": "Location adjacent to a mutation operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION", + "description": "Location adjacent to a subscription operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD", + "description": "Location adjacent to a field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_DEFINITION", + "description": "Location adjacent to a fragment definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_SPREAD", + "description": "Location adjacent to a fragment spread.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INLINE_FRAGMENT", + "description": "Location adjacent to an inline fragment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIABLE_DEFINITION", + "description": "Location adjacent to a variable definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCHEMA", + "description": "Location adjacent to a schema definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCALAR", + "description": "Location adjacent to a scalar definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Location adjacent to an object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD_DEFINITION", + "description": "Location adjacent to a field definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARGUMENT_DEFINITION", + "description": "Location adjacent to an argument definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Location adjacent to an interface definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Location adjacent to a union definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Location adjacent to an enum definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM_VALUE", + "description": "Location adjacent to an enum value definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Location adjacent to an input object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_FIELD_DEFINITION", + "description": "Location adjacent to an input object field definition.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Field", + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__InputValue", + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultValue", + "description": "A GraphQL-formatted string representing the default value for this input value.", + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "A list of all types supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queryType", + "description": "The type that query operations will be rooted at.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mutationType", + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionType", + "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directives", + "description": "A list of all directives supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Type", + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "fields": [ + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "ENUM", "name": "__TypeKind", "ofType": null} + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specifiedByURL", + "description": null, + "args": [], + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Field", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interfaces", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "possibleTypes", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "OBJECT", "name": "__Type", "ofType": null} + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": {"kind": "SCALAR", "name": "Boolean", "ofType": null}, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ofType", + "description": null, + "args": [], + "type": {"kind": "OBJECT", "name": "__Type", "ofType": null}, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__TypeKind", + "description": "An enum describing what kind of type a given `__Type` is.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SCALAR", + "description": "Indicates this type is a scalar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "Indicates this type is a list. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NON_NULL", + "description": "Indicates this type is a non-null. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + } + ], + "directives": [ + { + "name": "accessRestricted", + "description": "Marks an element of a GraphQL schema as having restricted access.", + "isRepeatable": false, + "locations": ["FIELD_DEFINITION", "OBJECT"], + "args": [ + { + "name": "reason", + "description": "Explains the reason around this restriction", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": "null", + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "isRepeatable": false, + "locations": [ + "ARGUMENT_DEFINITION", + "ENUM_VALUE", + "FIELD_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", + "type": {"kind": "SCALAR", "name": "String", "ofType": null}, + "defaultValue": "\"No longer supported\"", + "isDeprecated": false, + "deprecationReason": 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 a product's price](https://shopify.dev/custom-storefronts/internationalization/international-pricing) in a storefront within the context of Canada.", + "isRepeatable": false, + "locations": ["MUTATION", "QUERY"], + "args": [ + { + "name": "country", + "description": "The country code for context. For example, `CA`.", + "type": {"kind": "ENUM", "name": "CountryCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "language", + "description": "The language code for context. For example, `EN`.", + "type": {"kind": "ENUM", "name": "LanguageCode", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preferredLocationId", + "description": "The identifier of the customer's preferred location.", + "type": {"kind": "SCALAR", "name": "ID", "ofType": null}, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "include", + "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", + "isRepeatable": false, + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "args": [ + { + "name": "if", + "description": "Included when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "oneOf", + "description": "Requires that exactly one field must be supplied and that field must not be `null`.", + "isRepeatable": false, + "locations": ["INPUT_OBJECT"], + "args": [] + }, + { + "name": "skip", + "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", + "isRepeatable": false, + "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"], + "args": [ + { + "name": "if", + "description": "Skipped when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "Boolean", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "specifiedBy", + "description": "Exposes a URL that specifies the behavior of this scalar.", + "isRepeatable": false, + "locations": ["SCALAR"], + "args": [ + { + "name": "url", + "description": "The URL that specifies the behavior of this scalar.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": {"kind": "SCALAR", "name": "String", "ofType": null} + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + } + ] + } +} diff --git a/packages/hydrogen/package.json b/packages/hydrogen/package.json index b198414c0d..2a49ecf08a 100644 --- a/packages/hydrogen/package.json +++ b/packages/hydrogen/package.json @@ -41,12 +41,17 @@ }, "./storefront-api-types": "./dist/storefront-api-types.d.ts", "./storefront.schema.json": "./dist/storefront.schema.json", + "./customer-account-api-types": "./dist/customer-account-api-types.d.ts", + "./customer.schema.json": "./dist/customer.schema.json", "./package.json": "./package.json" }, "typesVersions": { "*": { "storefront-api-types": [ "./dist/storefront-api-types.d.ts" + ], + "customer-account-api-types": [ + "./dist/customer-account-api-types.d.ts" ] } }, diff --git a/packages/hydrogen/src/index.ts b/packages/hydrogen/src/index.ts index c04c1d49d5..4e51ab5dd0 100644 --- a/packages/hydrogen/src/index.ts +++ b/packages/hydrogen/src/index.ts @@ -86,6 +86,7 @@ export { sendShopifyAnalytics, ShopifySalesChannel, storefrontApiCustomScalars, + customerApiCustomScalars, useLoadScript, useMoney, useShopifyCookies, diff --git a/packages/hydrogen/tsup.config.ts b/packages/hydrogen/tsup.config.ts index 2ee0af866d..63997e78c9 100644 --- a/packages/hydrogen/tsup.config.ts +++ b/packages/hydrogen/tsup.config.ts @@ -29,19 +29,37 @@ export default [ await fs.writeFile(cjsEntryFile, cjsEntryContent, 'utf-8'); const hydrogenReact = path.resolve('..', 'hydrogen-react'); - const schemaFile = 'storefront.schema.json'; - const typeFile = 'storefront-api-types.d.ts'; + const sfSchemaFile = 'storefront.schema.json'; + const sfTypeFile = 'storefront-api-types.d.ts'; await fs.copyFile( - path.resolve(hydrogenReact, schemaFile), - path.resolve(outDir, schemaFile), + path.resolve(hydrogenReact, sfSchemaFile), + path.resolve(outDir, sfSchemaFile), ); await fs.copyFile( - path.resolve(hydrogenReact, 'src', typeFile), - path.resolve(outDir, typeFile), + path.resolve(hydrogenReact, 'src', sfTypeFile), + path.resolve(outDir, sfTypeFile), ); - console.log('\n', 'SFAPI types copied from hydrogen-react', '\n'); + console.log( + '\n', + 'Storefront API types copied from hydrogen-react', + '\n', + ); + + const caSchemaFile = 'customer.schema.json'; + const caTypeFile = 'customer-account-api-types.d.ts'; + + await fs.copyFile( + path.resolve(hydrogenReact, caSchemaFile), + path.resolve(outDir, caSchemaFile), + ); + await fs.copyFile( + path.resolve(hydrogenReact, 'src', caTypeFile), + path.resolve(outDir, caTypeFile), + ); + + console.log('\n', 'Customer API types copied from hydrogen-react', '\n'); }, }), ];